Hello,
I want to pass an array variable to other workflow as input argument.
Please help me out.
Thanks.
Hello,
I want to pass an array variable to other workflow as input argument.
Please help me out.
Thanks.
Step - 1 => In another workflow create an argument with the same datatype in the arguments panel.
Step - 2 => Use invoke workflow file activity to invoke the another workflow in the Main workflow.
Step -3 => Open the Import arguments option and pass the variable to that variable and save the project.
Hope it helps!!
Hi @chattar.a123 ,
You can use arguments
Regards
LNV
Sender Workflow (Sender.xaml
):
Main:
Assign myArray = { “Item 1”, “Item 2”, “Item 3” }
Invoke Workflow File:
- WorkflowFileName: “Target.xaml”
- Arguments:
- inputArray = myArray
Target Workflow (Target.xaml
):
Main:
Input Arguments:
- inputArray (Array)
For Each item in inputArray:
Log Message: "Item: " + item