Please help me in the flowchart of assigment 1 . Level 3
Isn’t that precisely the assignment? Your value seems to be larger than 1,000. The flow decision ends up generating a new exception. So, you succeeded
If the Input Data is valid, add another Flow Decision to check if the value of dbl_CashIn is greater than 1000.
- If it is, we use another Throw activity with a different Exception message.
So I have 45 queues in line as I do to process all one after another? or this happens because I’m in debug mode?
You most likely have a single queue with up to n items (so-called Transactions). The idea is that one or more robots process the same queue, but an individual transaction is processed on one particular robot. If there is an error (i.e. triggered by the Throw activity), the individual transaction item will show up as failed. Depending on your configuration, failed items may be retried 0…n times.
However, the robots should continue to work, processing the next item in queue. Imagine the following simple example - you have two workflows:
- Get Next Transaction Item
- Process Transaction
Your first workflow will just retrieve the next item in queue, and then invoke the second workflow. However, the Invoke Workflow activity will be contained within a Try-Catch-Block. Imagine that your second workflow fails because you threw an exception - since Get Next Transaction Item will catch Business and/or Application exceptions, the normal flow will continue. The erroneous item will remain in your queue with status failed, but your robots will attempt to process the next one.
If I understand correctly, in Debug mode, an exception popup will show on any Throw activities and you will need to click “Continue” or just don’t run it in Debug mode.
As long as your logic is running correctly as you intend, then you should not worry.
Regards.
To add on to @ClaytonM comment, if you do want to debug, but not break on exceptions, toggle the option off
thank you. The time they provide to contribute to the community is impressive. a hug
thank you. The time they provide to contribute to the community is impressive.
thank you. The time they provide to contribute to the community is impressive.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.