Skip to main content


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

Creating connector simulators

Updated on November 15, 2021

With the Connect Simulator functionality, test connect rules in flows and from data pages before the actual data source is implemented, or when it is not available.

To simulate a connector:

  1. Create an activity that sets values to the properties that are to be returned by the connector. For more information, see Creating an activity.
  2. On the Service tab of the Connector rule form, click the Simulations button to access the Simulations form.
  3. On the Simulations form, click Add a row.
  4. To enable simulation, in the Simulation Activity field, enter or select an activity.
  5. Select either the Global or User Session options.
  6. Click Submit.

    When flow execution reaches the connector shape, the activity is called.

Disabling simulations

When you no longer need to simulate the connector, you can temporarily ignore all simulators by accessing the Connect Simulator window and clicking the Clear Local or Clear Global buttons.

You can also disable or enable simulations on the Connectors landing page.

Connect Simulator Properties

FieldDescription
Simulation ActivityActivity name (second key part) of an activity that simulates the results of the connector rule identified by the previous fields in this row.
GlobalEnables system-wide use of the simulator whenever flow execution reaches the connector shape. When enabled along with a User Session, the User Session overrides the Global simulator.
User SessionThe simulation occurs only when the flow is started by the logged-in user. The User Session overrides a Global simulator.
DeleteRemove the Simulation Activity.
Clear LocalClick to clear the User Session option from all Simulation Activities.
Clear Global Click to clear the Global option from all simulation activities. This option is not available if the production level of the system is 5.
Apply ChangesClick to apply changes to the Connect Simulator.
CloseClick to close the Connect Simulator form.

Example

For an example of a connector simulation, see the Pega Community article How to simulate a SOAP connector.

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