Hello, I have a use case where I need to invoke workflow file activity while the switch case condition was met.
For example I have a dictionary with key value pair, when the case and dict.key matches it has to invoke the next workflow file and dict.Value has been sent as in_argument for workflow file, But it is not invoking the next workflow file.
Can anyone can please guide me on this.
Use a SWITCH case activity and mention the condition like this
Dictvariable(“your key”)
And in each Case mention the value within double quotes you want to proceed
Say if the key matches with the value defined in Case1 then it enters that case where pass the argument for the workflow invoked with INVOKE WORKFLOW FILE activity
Make sure the argument created in that workflow is with direction IN only then it can accept the argument passed to it from dictionary key value pair
Is the filepath mentioned rightly with invoke workflow file activity
Or can u run once in debug mode so that u can easily find where it is missing and why it is not triggering
Even the arguments values can be checked whether it is assigned with or not with LOCAL panel when running in debug mode
Use this Condition if You Want the Value of the Dictionary, you need to pass Key to get it. Dictionary_varaible(Key) & whatever the Value you will be getting, make the Switch Case with the same Value but without Double quotes & Inside each Case you can pass the Invoke Workflow File activity and pass Arguments with direction “IN” in the Workflow which you are Invoking.