Simulate

You can simulate the process app by selecting a trigger. The primary purpose of the simulator is to test the workflow. It displays all triggers applicable to the process app and you can select a trigger to simulate.

Simulate Process App

To simulate your Process App, follow the below steps:

  1. On the Flow page, click Simulator on the top-right.
  2. On the Simulations window, you can find the Running and Completed tabs that display the in-progress and completed simulations.
  3. Click +Simulation.
  4. On the Simulations window, you can find triggers. Select a trigger to test the workflow.
    1. If the trigger type is a Form, the system opens up the form for you to submit.
    2. If the trigger type is Callable, the system displays all the process apps that have Call a Subflow task and are associated with the current process app.
      • Parent process apps are displayed.
        1. Select a parent process app to execute. On selection, the system displays the triggers applicable for the parent process app.
        2. Select a trigger, and if the selected trigger is a form, you can submit it from the same screen. Else, a text message is displayed according to the trigger.
    3. If the trigger type is Scheduled, the system allows you to schedule the process app execution.
      1. On the property panel, you can enter the input to trigger.
      2. Enter the limit for the process app execution and based on the input, the scheduled trigger execution occurs.
    4. If the trigger type is Conversational, you can select the bot to trigger the process app.  Then, click Trigger to trigger the process app.
    5. If the trigger type is Webhook, the system displays a text message against each trigger as shown below:
      1. Webhook Trigger – The system displays a text stating Please do a post-call to the endpoint URL, and if posted successfully, check the execution status under simulator instances.
      2. A help text with payload data is added to notify you if simulated through a webhook. This is added as part of the payload for a simulator instance.
    6. If the trigger type is Email, the system displays the below details to trigger a process app:
      • From Address – It uses the default platform email setup to send the email to the process app email address.
      • To Address – This will default to the trigger email address of the process application
      • Subject 
      • Compose message 
      • Trigger 
      • Email – An email is sent successfully message is displayed on success. If failed, it displays an error message.
      • Process app is triggered if the email content matches the trigger definition.
  5. Click Exit Simulator to exit the simulation process.

Simulator Instances Information

The system displays all the instances that are executed for the process app. It also displays the previous 3 days process apps that are simulated to go back and check details of the instance that got stimulated. You can find the following information:

  1. Instance Initiation Date & Time
  2. Trigger Type
  3. Debug Logs
    1. Nodes transitions are displayed against each instance
      1. Execution started
      2. Execution successful
      3. Step Failed
      4. Date and time to be displayed as well for the node
    2. Context data
  4. Current Step
  5. Instance Execution Status
    1. In Progress
    2. Failed
    3. Completed