![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
In this example, if the credit/debit fails, a compensation event is thrown. The target of the event is the Credit Acct task, which catches the error and proceeds with the Re-credit Acct task. In the Properties view for the Throw Compensation end event, you can press Ctrl+Space to see a list of tasks from which you can select the target of the compensation. Alternatively, you can compensate all previously executed tasks by not specifying a target for the compensation:
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |