Define Process Input and Output

Define input and output arguments for a dynamic process to communicate or exchange data with other processes and services.

After defining the input arguments for your process, you must map them to data objects of your process or its activities. Similarly, data from an activity in the process can be mapped to output arguments as the output of the process. See Configure Data Association.

In addition, you can use a form as the input to a process to start process execution when a user submits the form. The form is designed to get input from the user and present information relevant to the workflow.

Define process input

To define the process input:

  1. On the process page, click Start Process Start process icon.

    Alternatively, click Interface Interface icon and click Define Input Data next to Input.

    The Start the Dynamic Process dialog opens.

  2. Choose one of the following options under Who can start the process?

    • Any user with Use or Manage permission
    • Any Authenticated User
  3. Choose one of the following options under How to start the process?

    • With Data Only: Select to define input arguments to the process. Use this option to start a process instance with data from other processes or REST services.

    • With Form: Use this option to trigger a process instance using a form or REST service.

  4. If you select the With Data Only option, click Add Argument to define new arguments.

    1. Provide a name to identify the argument and select a data type for the same. You can use simple or pre-defined business data types.

    2. Click Delete Delete icon to remove existing arguments from the list.

  5. If you select the With Form option:

    1. Provide a form title to display to the user at runtime.

    2. In the Form field, select a form that you want to use as input.

    3. In the Presentation field, select a presentation within the form to display to the user.

      Note:

      When you use a form as input, a business object to store the form data is automatically created and displayed under the Interface Argument section within the dialog. This input business object is also displayed in the Data pane. See Define Process Data Objects.
    4. Edit the name of the business object, if required.

  6. Click Define to save changes and close the window.

    The following figure shows a form defined as process input:

    Description of dp-process-input.png follows
    Description of the illustration dp-process-input.png

Define process output

To define the process output:

  1. On the process page, click End Process End process icon.

    Alternatively, click Interface Interface icon and then click Define Output Data next to Output.

    The Define Output Data dialog opens.

  2. In the Define Output Data dialog, click Add Argument to define new arguments.

    1. Provide a name to identify the argument and select a data type for the same. You can use simple or pre-defined business data types.

    2. Click Delete Delete icon to remove existing arguments from the list.

  3. Click Define to save changes and close the window.