Linear Usecase for REFramework

A developer needs to use the REFramework in order to implement a linear process. Which value should be set to “out_TransactionItem” the second time it enters the Get Transaction Data state?-- for this Question i knew the answer is to set Out_Transaction = Nothing… but i really did not understood that even if Out_tranaction is not set to Nothing also as per REFramework design the process flows into Get Transaction Data state once steps are completed in ProcessTransaction to check whether if there is any queue item available or not… then what is necessity to keep Out_transaction = Nothing ?

@devasaiprasad_K ,

It’s not about the value you are going to assign to out_TransactionItem it’s about checking the in_TransactionNumber and restrict it to 1 only. For second iteration in_TransactionNumber value will be 2 and it will assign out_TransactionItem=Nothing which will result into Linear process.

You need to add one if condition in GetTransactionData workflow as below.

Thanks,
Ashok :slight_smile:

i feel the question is not clear on limiting the Transactions or since they mentioned Linear we need to understand that the REFramework should be only iterating a single loop!

We need to limit the Transaction to 1 to run the bot linear/straight from inti–>Get Transaction → Process → End

Yes, it could be confusing sometime.

Thanks,
Ashok

Thanks for Clarifying

1 Like

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