This is gona sound wierd, but I wana intentionaly trow en error in workflow so that Error handlerer will pick it up. But don’t know how. If anybody have sugestion on how to trow in error, with assign pleas let me know.
Hey
You can manually throw an error by:
Inserting a ‘Throw’ activity. Like this:
- New SystemException(“TEST”)
Or reference something in the config that doesn’t exist. Like this:
- in_Config(“TEST”).ToString
Bonus:
If you want to test retry capability you can combine with an “If” activity and something like the following condition:
TransactionNumber = 1
Then: Throw
Else: Do nothing.
Hopefully this helps
Cheers
Steve
1 Like
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.