Forum Archive

Workflow arguments?

nlecaude

Hello,
I was playing with the SFTP downloads workflow and there are 2 places in the workflow where you need to edit things (hostname, path etc.) It would be nice if a workflow could contain arguments that could be retrieved by the python files in the workflow. It could be set in the information page for the workflow.

peterh86

Workflows can create, set and read parameters, called variables. You can access these in python. Look in editorial help > scripting with python > workflow and the workflow actions set variable and generate text