Hi,
in a new workflow i must use the PreliminaryPost asynchronous method of BUS2081. This method can raise two exceptions : 1001 and 1002.
For testing my invoice document is not correct.
I would like to manage error, i tried a few cases :
- without manage outcomes
- with manage outcomes
- In the first case (without outcomes) the status's workflow becomes 'ERROR' with error for the Work item :
"Work item 000000013132: Object 51056011472008 method PRELIMINARYPOST cannot be executed"
Ok now if i correct my invoice document, can i restart my workflow ?
- In the second case (with outcomes) the status's workflow becomes COMPLETED and the subsequent step is executed.
In this last step i can notify the creator and he can modify the invoice document, when it's done, the task will continue ?
In general I would like to know how you handle errors in asynchronous mode.
Thanks a lot.