Calculator > Update the Process to Enable Fault Handling > Step 2: Modify the Output Configuration
  

Step 2: Modify the Output Configuration

Prerequisite: Delete the Configure Output step that you created in Step 4: Configure the Output of the Create a Process section. In place of the Configure Output Assignment step, add a Decision step with two branches, each with an Assignment step. Use the Assignments steps to assign outputs for both a fault scenario and a non-fault scenario.
    1Select the Configure Output step and click the Delete button.
    The Configure Output step disappears from the canvas.
    2Select the Start step and change the Type of the Quotient output field to Text.
    You do this because Quotient might have a text value, of say, "fault" instead of an integer.
    3Drag a Decision step on to the canvas before the End step and select the step.
    A Decision step with two converging paths appears.
    4Configure the following properties for the Decision step:
    1. aClick the General tab and enter Has a Fault Occurred in the Name field.
    2. bClick the Decision tab and select Faulted from the Field list.
    3. cIn the Value field of Path 1, enter Yes as shown in the following image:
    4. This image shows the properties section of the Fault Decision step. The condition is that if the Faulted field equals yes, path one is taken. You also see a part of the canvas.
    5Drag Assignment steps onto the Contains Yes and Otherwise paths.
    You do this to assign outputs in the case of a fault and if there is no fault.
    6Select the Assignment step on the Contains Yes path.
    The step properties section appears.
    7Configure the following properties for the Assignment Step:
    1. aClick the General tab and enter Configure Output for Fault in the Name field.
    2. bClick the Assignments tab and add the following fields:
    3. Field
      Type
      Value
      Sum
      Field
      AddResponse > AddResult
      Difference
      Field
      SubtractResponse > SubtractResult
      Product
      Field
      MultiplyResponse > MultiplyResult
      Quotient
      Content
      Fault
    8Select the Assignment step on the Otherwise path.
    The step properties section appears.
    9Configure the following properties for the Assignment Step:
    1. aClick the General tab and enter Configure Output for No Fault in the Name field.
    2. bClick the Assignments tab and add the following fields:
    3. Field
      Type
      Value
      Sum
      Field
      AddResponse > AddResult
      Difference
      Field
      SubtractResponse > SubtractResult
      Product
      Field
      MultiplyResponse > MultiplyResult
      Quotient
      Field
      DivideResponse > DivideResult
    10Click Validation. If there are no errors, click Save.
    If there are errors, fix the errors, and then save the process.
    11Click Actions > Publish.
The following image shows the complete modified process:
This image shows the canvas view of the complete proces. You see a Start step, an Assignment step, a Parallal Paths step with four branches, a Service step with fault handling enabled, a Decision step, and two Assignment steps.