Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Simulating a response for automation outputs

Updated on April 6, 2022

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.

Before you begin: 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.
    ChoicesActions
    Create a new automationFollow 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 ActionsEnter draft mode.
  2. Click the Implementation tab.
    Result: 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 ActionsRun.
  6. In the Run Automation window, click Run.
    Note: 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.
    Result: The Run Automation window displays the output name and the values that you defined.

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us