REFrame Work Queue Transaction

Hi All,

I am developing large business use case for banking domain using Re-Frame work.

I need a help to handle the scenario.

Let assume records are uploaded to the Queue like below

XXX bank
XXX bank
XXX bank
YYY bank
YYY bank
YYY bank
ZZZ bank
ZZZ bank
XYZ bank
XYZ bank
XYZ bank

when a item coming from queue need check the bank name and process the record.

Condition here bot should login only once for each bank.

If the next queue item is a new bank then it should logout previous bank

Please advise.

@K_Anbarasu

In you process.xaml first use a switch activity and check which is the bank that is present in the queue item…and depending on that login the corresponding bank

And for logout…you can save the bank name of the previous item at the wnd of process .xaml or after invoke of process.xaml to a variable…and check the variable …if it changes then logout the ocrresponding bank and then login…

So before login xaml switch …add one more switch to logiut based on the previous bank name saved…if wmpty that means there is nothing to logout can move to next login step

Do finally you process would be

  1. Switch for logout
  2. Switch for login
  3. Your actual process
  4. Save the current bank name to check in the next transaction item

hope this helps

Cheers

Thanks for your prompt response.

Let me try this approach.

1 Like

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