Calculator > Optional: Archive Results > Archive Results
  

Archive Results

Use a Milestone step and a Create step to archive process results.
A Milestone step sends a synchronous reply. If all the steps before the Milestone steps run successfully, Application Integration returns a successful output even if the Create step fails.
    1Drag a Milestone step from the palette on to the canvas in between the Decision and End steps.
    1. aSelect the Milestone step.
    2. The step properties section appears.
    3. bClick the General tab and enter Send Reply in the Name field.
    2Drag a Create step from the palette on to the canvas in between the Milestone and End steps.
    3Select the Create step.
    The step properties section appears.
    4Click the General tab and enter Archive Results in the Name field.
    5Click the Create tab and perform the following steps:
    1. aFrom the Connection list, select JDBCConn.
    2. bFrom the Object list, select CalculatorArchive.
    6Click the Input Fields tab and add the following input fields and configure their type and value:
    Input Field Name
    Value Type
    Value
    sum
    Field
    AddResponse > AddResult
    difference
    Field
    SubtractResponse > SubtractResult
    product
    Field
    MultiplyResponse > MultiplyResult
    quotient
    Field
    DivideResponse > DivideResult
    The image shows the Create step properties. The Input Fields tab is selected and you see the sum, difference, product, and quotient fields.
    7Save and publish the process.
This image shows a part of the process canvas. The Decision, Milestone, Create, and End steps are visible.
The following image shows the archived output in the JDBC database:
This image shows a list of sum, difference, product, and quotient outputs for the process. The process has been invoked with multiple number sets..