Tutorial: Calculator

Tutorial: Calculator

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.
  1. Drag a
    Milestone
    step from the palette on to the canvas in between the
    Decision
    and
    End
    steps.
    1. Select the
      Milestone
      step.
      The step properties section appears.
    2. Click the
      General
      tab and enter
      Send Reply
      in the
      Name
      field.
  2. Drag a
    Create
    step from the palette on to the canvas in between the
    Milestone
    and
    End
    steps.
  3. Select the
    Create
    step.
    The step properties section appears.
  4. Click the
    General
    tab and enter
    Archive Results
    in the
    Name
    field.
  5. Click the
    Create
    tab and perform the following steps:
    1. From the
      Connection
      list, select
      JDBCConn
      .
    2. From the
      Object
      list, select
      CalculatorArchive
      .
  6. Click 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.
  7. Save 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..

0 COMMENTS

We’d like to hear from you!