I have a scenario to copy the result(Output-Its in string) of workflow 1 in to workflow 2.
Scenario:
Workflow 1 Name:Agents(Output-Failed Agents)
Workflow 2 Name:Policies(Output-Failed Policies)
Expected:
Email need to be send with both outputs.From Workflow 2 am sending email copying the Workflow 1 output.
Appreciate your inputs!
To send the data from workflow 1 to workflow 2,
You need to declare out_agument in workflow 1.
And invoke the workflow 1 in workflow 2, while invoking you need to import the argument, store the argument value into the variable.
Now your variable will contain the workflow 1 data, and you can use it appropriately.
In the workflow 2, use Invoke WorkFlow Activity and provide workflow 1 path to invoke that.
And also in Workflow 1, create one argument and mention direction as Out and pass that value to WorkFlow 2 and here also create argument of same type and mention direction as In to accept value from other workflow 1.
Here value is empty. Create one variable of string and pass it here. And then pass this variable to other workflow where you created In argument in other workflow.