Request for Guidance on Passing Values Between Process and Set Transaction Status States in REFramework

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:

  1. I created an argument out_DOSID in the Process state to capture the ID value and passed it to the Main workflow.
  2. 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.
  3. 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 null when accessed in the Main workflow, and subsequently, in the Set Transaction Status XAML.