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.
downlodingExcel.xaml
login SAP.xaml
Upload to Queues
retrieve from Queues
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
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
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
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
Sequence 1 - Read input and add to queue
Sequence 2 - Login or init applications
Sequence 3 - Get transaction item
Condition to check queue item is retrieved
Sequence 4 - True side to process transaction …
Condition after sequence 4 to check for exception…if exception go to sequence 2 …if no exception go to sequence 3