How to pass variable value from one transaction item to another transaction item

Hi,

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

Hi
did we try GET TRANSACTION ITEM activity
@vigneshnkv

@vigneshnkv - you want to keep Var1 value in all transaction (1,2,3, ) as ‘abc’ ?

I am not using queue to use GET TRANSACTION ITEM activity.
Please see my process brief:

  1. Read excel file in Init
  2. Select one row of excel as in_TransactionItem and pass to process transaction.
  3. while processing, i need to store var1 = in_Transaction_Item(“Location”)
  4. 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.

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