I am using python to do some formatting and later saving the formatted excel to a path. This path is stored in a variable called "filepath" in a formula pane. It's throwing error while trying to to get this variable inside the python code.
AttributeError: module 'ayx.Alteryx' has no attribute 'getWorkflowVar'
output_file_path = Alteryx.getWorkflowVar('filePath')
There's no method 'getWorkflowVar'. If you have your Formula Tool connected to the Python Tool then something like this should work,
filepath = Alteryx.read('#1').loc[0, 'filepath']
User | Count |
---|---|
109 | |
89 | |
77 | |
54 | |
40 |