Hello all.
I have a scenario.
I am using 3 applications to fill the data namely A, B and C ( in sequence one after the other) .
consider there is a system exception while filling the data in application C.
How to continue entering the data in same application C where we got error.
In my case after system exception it’s going to initialization sate and re opening and entering the data in all the 3 applications.
maintain Boolean flag for each application either in variable or dictionary.
before entering into the applications, check the flag and proceed.
1 Like
If you have a sample/Dummy re framework for this could you share it?
- Create 3 assets app1 ,2,3
- In the if first run condition in initialization use set asset and set the value of all assets to not completed
- Before steps of each application try to use get asset activity and save in variables
- enclose each application steps in if with the values
str.Equals("Not Completed")
where str is value from get asset… - Once application steps are completed then use set asset activity and set value of asset as completed
So that after system excption occurs when it comes back the assets will be completed and the steps are skipped
Cheers
1 Like
Hey,
check this approach.
- Initialization
• Config(“APP_A”) = False
• Config(“APP_B”) = False
• Config(“APP_C”) = False - Process
I. If(Config(“APP_A”) = False) ProcessA & set Config(“APP_A”) = True else Skip
II. If(Config(“APP_B”) = False) ProcessB & set Config(“APP_B”) = True else Skip
III. If(Config(“APP_C”) = False) ProcessC & set Config(“APP_C”) = True else Skip - Set transaction.
Success & Business rule exception
• Config(“APP_A”) = False
• Config(“APP_B”) = False
• Config(“APP_C”) = False
Note: it would be better if you could add retry scope where BOT interacting UI
1 Like
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.