InvokeWorkflow activity
I'd like to use an InvokeWorkflow activity and have a set of variables to send from the calling workflow to the invoked workflow. How does it work: do these all need to be loaded into dictionary variables? Does anyone have an example they can point me to on how this is done?
Thanks
Mark
-
Hello Mark,
You are correct. In your main workflow, you'll collect all of the variables which you wish to send to the invoked workflow into a dictionary and use that as the Inputs variable input.
(/customer/servlet/servlet.FileDownload?file=00P6000000eltxVEAQ) /customer/servlet/servlet.FileDownload?file=00P6000000eltxVEAQ
In the invoked workflow, you will create arguments with the 'In' direction setting. Any values which you wish to send back to the main workflow, you can assign the direction to 'Out'.
(/customer/servlet/servlet.FileDownload?file=00P6000000em1RlEAI) /customer/servlet/servlet.FileDownload?file=00P6000000em1RlEAI
Back in the main workflow, the values will be capture in the direction which you assign to the Outputs output.
I hope this helps.
Stefan0 -
Thanks, Stefan. That's helpful. For anyone who's interested below is my calling workflow.
/customer/servlet/servlet.FileDownload?file=00P6000000elzR3EAI
0 -
Hi Mark and Stefan
an example that I posted a while back is in this thread here: (https://support.geocortex.com/essentialsGSCForum?sub-nav=forum&main-nav=essentials&id=9066000000006oaAAA) sample of InvokeWorkflow
Regards
Ralph Price
0 -
Is there a way to create a sub-routine within Workflow?
(as opposed to create a sub-workflow with tons of parameters to pass in and out, each time)
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
4 Kommentare