Tutorial: Calculator

Tutorial: Calculator

Step 1: Create a Process

Step 1: Create a Process

Create a process and use the
Start
step to configure basic process properties.
  1. In
    Application Integration
    , click
    New
    .
  2. In the
    New Asset
    dialog box, select
    Processes
    Process
    , and then click
    Create
    .
    Process Designer opens with a process template as shown in the following image:
    This image shows the New Asset dialog box with Process highlighted and a Create option.
  3. Click the
    Start
    step.
    The process properties section appears.
  4. Click the
    General
    tab and enter the following properties:
    1. In the
      Name
      field, enter
      Calculator
      .
    2. Click
      Browse
      next to
      Location
      , and then browse to and select the
      Tutorials
      Calculator
      folder.
    3. In the
      Description
      field, enter the following text:
      Uses the calculator service to perform four mathematical operations in parallel.
  5. Click the
    Start
    tab and enter the following properties:
    1. From the
      Binding
      list, select
      REST/SOAP
      .
      The Binding property defines how a process is invoked.
    2. Select the
      Allow anonymous access
      option.
    3. From the
      Run On
      list, select
      Cloud Server
      .
    Do not change the
    Applies To
    field.
  6. Click the
    Input Fields
    tab, add the following fields, and configure their type:
    Name
    Type
    NumberA
    Integer
    NumberB
    Integer
  7. Click the
    Output Fields
    tab, add the following fields, and configure their type:
    Name
    Type
    Sum
    Integer
    Difference
    Integer
    Product
    Integer
    Quotient
    Integer
    These fields display the output of each mathematical operation you configure in the process.
  8. Click the
    Temp Fields
    tab, add the following fields, and configure their type:
    Name
    Type
    add_input
    More Types
    Connection defined Types
    Tutorials
    Calculator
    CalculatorConn
    Add_AT
    subtract_input
    More Types
    Connection defined Types
    Tutorials
    Calculator
    CalculatorConn
    Subtract_AT
    multiply_input
    More Types
    Connection defined Types
    Tutorials
    Calculator
    CalculatorConn
    Multiply_AT
    divide_input
    More Types
    Connection defined Types
    Tutorials
    Calculator
    CalculatorConn
    Divide_AT
    The service connector expects input in the form of a process object containing two numbers. You define temporary fields to hold the input required for each action.
  9. Click the
    Advanced
    tab and set the
    Tracing Level
    to
    Verbose
    .
    When the tracing level is set to verbose, the
    Application Integration Console
    logs all steps. This is useful if you need to debug the process. However,
    verbose
    logging will increase the process execution time.

Back to Top

2 COMMENTS

We’d like to hear from you!
Lee Stevens - May 08, 2023

It would be nice if these tutorials matched the current version of the cloud software.  Trying to translate and am mostly successful...now stuck with some security thing....because that part does not match current version.  

Informatica Documentation Team - May 09, 2023

Hi Lee Stevens,

We’re working to address your comments and will get back to you.

Thanks,

Informatica Documentation team


Informatica Documentation Team - December 11, 2023

Hi Lee Stevens,

We’re happy to let you know that we addressed your feedback in the documentation. 

The updated documentation now matches the current version.

Thanks,

Informatica Documentation team


Prakash K - June 09, 2023

I have created CalculatorConn as per steps that you have given .  

In Temp Fields types, CalculatorConn  is available. But could not find AnonymousType such as Add_AnonymousType, Subtract_AnonymousType etc. Where you have define/create? Kindly guide.

Informatica Documentation Team - June 09, 2023

Hi Prakash K,

We’re working to address your comments and will get back to you.

Thanks,

Informatica Documentation team


Informatica Documentation Team - December 11, 2023

Hi Prakash K,

We’re happy to let you know that we addressed your feedback in the documentation. 

The temporary field values have been updated to match the current version.

Thanks,

Informatica Documentation team