Calculator > Create a Process > Step 3: Configure Services to Run in Parallel
  

Step 3: Configure Services to Run in Parallel

Use the Parallel Paths and Service steps to use the Add, Subtract, Multiply, and Divide operations at the same time.
    1Drag a Parallel Paths step from the palette on to the canvas in between the Assignment step and End steps.
    2Select the Parallel Paths step.
    The step properties section appears.
    3Click the General tab and enter Parallel Operations in the Name field.
    4Click the Parallel Paths tab and perform the following tasks:
    1. a Add four paths.
    2. bDrag a Service Step on to each path. Set the Service Type to Connection and the Connection to Tutorials > Calculator > CalculatorConn
    3. cSelect the Add action for the first path.
    4. dClick the Input Fields tab, and add the input field Add, with type Field and value add_input.
    5. eRepeat steps 4c and 4d for the three remaining paths.
    The following table shows the Action that you need to add to the Service step on each path:
    Path
    Service Type
    Connection
    Action
    Input Field
    Path 0
    Connection
    Tutorials > Calculator > CalculatorConn
    Add
    Add > Field > add_input
    Path 1
    Connection
    Tutorials > Calculator > CalculatorConn
    Subtract
    Subtract > Field > subtract_input
    Path 2
    Connection
    Tutorials > Calculator > CalculatorConn
    Multiply
    Multiply > Field > multiply_input
    Path 3
    Connection
    Tutorials > Calculator > CalculatorConn
    Divide
    Divide > Field > divide_input
    The following image shows the step properties section of the Parallel Paths step:
    This image shows the Parallel Paths tab of the Parallel Paths step. There are four parallel paths with one path each for the Add, Subtract, Multiply, and Divide actions.
    The following image shows the properties section of the Add service step:
    This image depicts the properties section of the Add Service step. You see one input field, add_input.
    5Click Save.