How to pass a variable value from one Transaction Item to another in RE Framework?
Say in my 1st Transaction (Transaction Number =1), I have Var1 = “abc”
once the 1st transaction process completes, it will go to 2nd Transaction.
I need Var1 in this transaction, how to get that?
When try that, I am getting Var1 = NULL in 2nd transaction.
Please advise
I am not using queue to use GET TRANSACTION ITEM activity.
Please see my process brief:
Read excel file in Init
Select one row of excel as in_TransactionItem and pass to process transaction.
while processing, i need to store var1 = in_Transaction_Item(“Location”)
Once the current transaction processed, in second Transaction, I need the above Var1 value. In second transaction, it getting NULL.
My objective is, Before processing second transaction, i need to check the Location of previous(1st) transaction. Like wise, before processing third transaction, i need to check the Location of second transaction.
No,
My objective is, Before processing second transaction, i need to check the Location of previous(1st) transaction. Like wise, before processing third transaction, i need to check the Location of second transaction.
can try -
create a variable of location in main
assign your location value in transaction #1
it will be available in transaction #2 → perform your operations and reset/ reassign with #2 value…
Thanks it is working !
In main,
after Process xaml, I have assigned location to a variable, and passed as argument to the process xaml.
in next transaction it is getting captured.