Table of Contents

Search

  1. Preface
  2. Part 1: Using Process Developer
  3. Part 2: Creating and Modifying Processes
  4. Part 3: Functions, Events, Errors, and Correlation
  5. Part 4: Testing and Deployment
  6. Part 5: Process Central and Process Server (On-Premises)

Process Developer

Process Developer

Setting Up Sample Data Values for Input Output and Fault Messages

Setting Up Sample Data Values for Input Output and Fault Messages

Select the source location for the sample you want to add.
You can simulate execution with different data values that might be received by the process from receive, invoke, onMessage, and onEvent activities. You can load sample values from either the Participants or Process Variables view or the Properties view of an activity.
If you have created sample data files in the Project Explorer, in the sample-data folder, you can select a data file during simulation. For a message that is missing sample data, a Sample Data dialog displays appropriate selection, as shown in the example.
You can load sample data before you begin simulation. For information on loading and saving sample data in the Participants or Process Variables view, see Using Sample Data in Process Variables View.
During simulation, you can override data values on-the-fly for any activity that has not yet executed.
To override loaded sample data for an input and output messages:
  1. From the Process Editor canvas, select a Receive, Invoke, onMessage, or onEvent activity.
  2. In the Properties view, select the All tab and do one of the following:
    • For a receive, onMessage, or onEvent, click
      Dialog (...)
      for the Input Message or From Part row
    • For an invoke, click
      Dialog (...)
      for the Output Message or To Part row
  3. In the
    Set Simulation Data
    dialog, do the following:
    • Select the checkbox next to Override sample data for simulation
    • Select the Dialog Button at the end of a row, as shown.
  4. For simple data types, edit the data value in the Sample dialog and click
    OK
    . For complex message types, load a data file.
  5. Edit any additional values for other message parts and click
    OK.
To override loaded sample data for an invoke fault message:
  1. From the Process Editor canvas, select an Invoke activity that has an output and a fault message defined.
  2. In the Properties view, set the Result property to Fault.
  3. Select a Fault Name from the list.
  4. Select a Fault Message, and click
    Dialog (...)
    .
  5. In the
    Set Sample Data
    dialog, type in a value for the fault message.

0 COMMENTS

We’d like to hear from you!