Table of Contents

Simulating a response for automation outputs

Ensure that your automation returns the expected results by simulating a response. You can define values for your automation outputs and then test them before running the automation in an application that you are developing.

Configure automation outputs. For more information, see Configuring outputs for an automation.

You cannot simulate a response for Page or Page List outputs. To simulate a JSON response, see Simulating a JSON response in automations.

  1. Create a new automation or open an existing automation.

    Choices Actions
    Create a new automation Follow the steps in Creating an automation.
    Open an existing automation
    1. In the navigation pane of Dev Studio, click Records.

    2. Expand the Technical category and click Activity.

    3. Locate the automation for which you want to simulate a response and click in its row.

      Automations have the activity type AUTOMATION.
    4. Click Actions Enter draft mode .

  2. Click the Implementation tab.

    The Implementation tab lists the outputs that you configured on the Definition tab in the Outputs column. The Map to column displays the data type to which you map the output value. For example, you create an output called Employee Start Date and define its data type as Date only. On the Implementation tab, Employee Start Date is displayed in the Output column, and an input field with a calendar icon is displayed in the Map to column.
  3. In the Map to column, define values for each output that you want to simulate.

  4. Click Save.

  5. Click Actions Run .

  6. In the Run Automation window, click Run.

    You do not need to select a thread in which to run the automation in the Thread field. The thread option does not apply to automations.
    The Run Automation window displays the output name and the values that you defined.

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.