Hi,
its my first time trying to make a flowchart workflow. i just want to ask
how to throw a business rule exception when the flowchart decision is false.
i feel shy showing my work, please dont laugh at it
Hi,
its my first time trying to make a flowchart workflow. i just want to ask
how to throw a business rule exception when the flowchart decision is false.
i feel shy showing my work, please dont laugh at it
Depends upon your condition.You can use ThrowException activities to throw BusinessRuleException @bri
cheers
Happy learning
Hi, at the false side of the decision flow
use 'Throw’activity
And in the throw write as
New uipath.core.businessruleexception(“your exception message”)
i will try this @vinay_reddy. will get back.
Sure , Happy Automation
Cheers
@vinay_reddy, i hope this throw will not stop the robot while running? it will just add log and continue to next item?
In this case , use try catch inside for each row loop
Then use this throw at decision box
At the catch block just catch the exception , don’t use throw
im confuse
for If decision and flow decisions, log message can be used. Business Exception vs Application Exception