Pass variable to argument inside state REFramework


I’m using REFramework.
Inside of process.xaml I have If statement where one variable is taking value depends on is it true/false.
But In Process Transaction on Exit statement I make one report that append everything from the transaction in one Excel file.

I need to append the value from the IF statement that take the variable.

This is my if statement with my variable Result(string)
So she must be passed somehow to Process Transaction at Exit Statement.
But when I start type the variable into my add row to append every single transaction to my report, variable is not existing.
Maybe I need to pass the variable to argument? But How?

kindly make sure that variable is set to global scope in the scope field of variable panel
if not kindly create it as IN/OUT argument in the xaml where it is used so that it can be imported when using INVOKE WORKFLOW file activity and assign that to a global scope variable and use it anywhere along the process

Cheers @Veselin_Ganchev

1 Like

My variable can be only in scope ProcessTransaction.
This is the most biggest scope I can give.
Don’t give me to make it global. I don’t know why.

Ok I found solution. Thanks for that you navigate me the right way.

  • I make argument Result
  • I use this argument the same way in IF statement like the variable
  • Added to Exit Statement in the Process Transaction Invoke Workflow to invoke process.xaml
  • Pass value to argument with ctrl+k as the image below.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.