Pass values between Workflows without using Arguments


I am calling Workflow_child from Workflow_parent.
In workflow_child I am calculating certain critical parameters, which, even if the Workflow_child is terminated using Terminate_Workflow Activity should be passed to Workflow_parent.
Problem with using arguments is that if the Terminate Workflow activity is called it doesn’t pass anything to the calling Workflow.

Any suggestions??


pass values using some temp textfiles, write line by line and read it as you have written.
Then delete file at last once done with the job.

@vaibhav15211, you also may want to use a Config file where you place all the settings needed for your workflow. In this case, you will use it as a System.Collections.Dictionary<Type1, Type2>