SBM Orchestration Guide → Orchestration Procedures → Using the Scope, Throw, and Compensate Steps to Handle Faults From Web Services → Using the Compensate Step → Tutorial: Creating an Empty Asynchronous Orchestration Workflow for the Compensate Step
Prerequisites:
You performed the steps in Tutorial: Creating a Practice Process App for Fault Handling.
You use the Compensate step in combination with nested Scope steps. The Web services or actions defined in the Compensate step should compensate or roll back whatever was done in the main part of the inner nested Scope step. This is particularly useful if these actions have taken some time to complete.
In this exercise, you add an empty asynchronous orchestration workflow to the FaultHandlingOrch in the FaultHandlingProcApp.
To create an empty asynchronous orchestration workflow that uses the Compensate step:
The Action Wizard opens and asks, "Which type of action do you want to execute?"
Under Step 1, Orchestration Workflow should be selected and Step 2 should read Invoke and orchestration workflow and continue executing (asynchronous) using the local event.
The Action Wizard asks, "What do you want to affect?"
Under Step 1, This item should be selected and Step 2 should read Invoke an orchestration workflow and continue executing (asynchronous) using the local event, affect this item.
The Action Wizard asks, "Which condition do you want to check?"
Under Step 1, Unconditionally should be selected and Step 2 should still read Invoke an orchestration workflow and continue executing (asynchronous) using the local event, affect this item.
The Action Wizard asks, "Which orchestration workflow to you want to invoke?"
NewDemoCompensateWorkflow appears under Step 1 and should be selected. Step 2 should read Invoke an orchestration workflow and continue executing (asynchronous) using the local event, affect this item | invoke event (FaultHandlingPTable:CompensateAWF_New_DemoCompensate).
SubmitGetTickerSymbolWorkflow appears below ThrowSyncOWF under Orchestration Workflows in App Explorer.
Copyright © 2007–2015 Serena Software, Inc. All rights reserved.