Here is the scenario:
- In the Process state, I am closing an application, and if an exception occurs, I am retrying the transaction twice as per the framework design.
- If the transaction ultimately fails after retries, I need to pass an ID Number (retrieved during the Process state) to the Set Transaction Status XAML.
Implementation Details:
- I created an argument
out_DOSIDin the Process state to capture the ID value and passed it to the Main workflow. - In the Main, I created another argument, also named
out_DOSID, with In/Out direction, to ensure the value flows to the Set Transaction Status state. - Finally, I passed the
out_DOSID(with In direction) to the Set Transaction Status XAML.
Problem:
- While I can see the out_DOSID value correctly populated in the Process state, it is showing as
nullwhen accessed in the Main workflow, and subsequently, in the Set Transaction Status XAML.