How to pass a dictionary to a workflow inside a workflow?

Hi everyone,

I’m having an issue passing a dictionary as an argument for a workflow.
The dictionary gets filled in the main workflow. At some point I passes it as an argument to a sequence that I exported as a workflow. The dictionary becomes empty as soon as it goes into the exported workflow. I realized the export didnt add the dictionary as an argument automaticaly like the other string arguments. I needed to add it my self as an “IN” argument.

Any Ideas how I’d solve this?

BR
Alardingz

Hi,
In MAIN workflow you can set Dictionary as Variable. Then, when you need to pass it to workflow set argument IN in workflow and merge them in ‘Import Arguments’ window:

image

Remember to set the correct directions in your workflows.

Omg I just forgot to click on “Import Arguments”.
Problem Solved!

in the new update it changed if we click on another pannel opens and ask to pass values in the form of key and value

@hindoleajinath,

This is how you should be able to pass a dictionary variable instead of key/vale

1 Like