Need details about how to use Transactional process

Hi All,

I need some info about Transactional process. I haven’t used that framework before. I have some confusion in that how to use and where to keep my xaml in flow. Where to iterate data from queues.

Scenario:

I’m receiving an excel through email. It will be having multiple records of data. I want to pick each record and create a vendor id in SAP. After successful send an email to the respective person that his ID is created. If not send exception to business team based on exception type.

So here my doubt is , i have few xamls where do I need i need place in my Transactional framework. It is bit confusing for me.

  1. downlodingExcel.xaml
  2. login SAP.xaml
  3. Upload to Queues
  4. retrieve from Queues
  5. creating vendor id

Can anyone help me how to setup this or any video on Transactional framework that will be helpful.
Thank you in advance

@Learner007

I hope you ae use RE Framework…which is for the same

1,3 goes into intilaization and into first run if condition
2 - goes into initallapplications
4 - ideally nothing to do get transaction data will already do the same
5 - process transaction

cheers

Hi @Anil_G but still some confusion is there for me.

Can you tell me in which place should i use my xamls and exception handling we need to do right there is no inbuilt exception handling for this.

There is no system exception for this right

How can we loop transactions 1 by 1 here. Where i need to keep this logic in the flow.

So in data Input only i need to use upload queues and get queues right


images (1)

@Learner007

In data input yes you need to give download and load to excel(1,2,3)

then add one more sequnce(4) after data input for get transaction from queue which will contain get transaction item and the Transction processing should be linked to that new sequence

and in condition you can check if get transaction item returned an item or no Not IsNothing(output)

Transaction process will contain the actual process you need to perform for each item (5)

transaction process can be included in try catch for handling each separate

Data input in another try catch to handle error while initializing

cheers

Thanks @Anil_G i got 90% clarity on this just small doubt.

Get queue item also we need to keep in Data Input right

If system exception we need to setup that navigation right for re launching.

For transactions i need to take 1 more new sequence under Data input and above if condition right

@Learner007

you wont use at all …istead you would use get transaction item and that will be present in another sequence below input and above your condition

for this yes…you can do those steps in catch block of try…or better seggregate data input as iniitialization and read seuqence…read mail and load to queeu will run only once…and init or login will run when a system exception occurs as well

This is correct and the same is explained for first question

To Summarize

  1. Sequence 1 - Read input and add to queue
  2. Sequence 2 - Login or init applications
  3. Sequence 3 - Get transaction item
  4. Condition to check queue item is retrieved
  5. Sequence 4 - True side to process transaction …
  6. Condition after sequence 4 to check for exception…if exception go to sequence 2 …if no exception go to sequence 3
  7. Sequence 5 - End process

cheers

1 Like

Thank you @Anil_G for the explanation. Got better understanding with your explanation.

1 Like

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