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 flow elements. Similarly, data from a flow element 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 web 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.

To define the process input:

  1. On the process page, click Process Input Process input icon.

  2. Choose one of the following options in the Start the Dynamic Process dialog:

    • 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 web form or REST service.

  3. 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.

  4. 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 web 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.

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

    The following figure shows a web form defined as process input:

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

To define the process output:

  1. On the process page, click Process Output Process output icon.

  2. In the Start the Dynamic Process 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.

You can also define or edit the dynamic process input and output from the process’ properties pane. Access the dynamic process’ properties pane by clicking Edit Properties Edit icon on the top right corner of the process page.
  1. On the process page, click Edit Properties Edit icon.

    The dynamic process’ properties pane opens.

  2. In the dynamic process’ properties pane, click the Interfaces tab.

  3. Under the Interfaces tab:
    • Define the dynamic process input or output. Click Add argument icon in Input to open the Start the Dynamic Process dialog box and define the process input. Click Add argument icon in Output to define the process output.

    • Modify existing input or output data of the dynamic process. Use Edit Edit icon or Delete Delete icon options in Input or Output to modify existing input or output data.