1. Home
  2. Docs
  3. Process Apps
  4. Simulate3 min read

Simulate3 min read

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.
    • If the trigger type is a Form, the system opens up the form for you to submit.
    • 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.
        • Select a parent process app to execute. On selection, the system displays the triggers applicable for the parent process app.
        • 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.
    • If the trigger type is Scheduled, the system allows you to schedule the process app execution.
      • On the property panel, you can enter the input to trigger.
      • Enter the limit for the process app execution and based on the input, the scheduled trigger execution occurs.
    • If the trigger type is Conversational, you can select the bot to trigger the process app.  Then, open the chat window in the process app to trigger it.
    • If the trigger type is Webhook, the system displays a text message against each trigger as shown below:
      • 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.
      • 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.
    • 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 you can execute in the process app. It also displays process apps that were simulated previously and allows you to check the details of the stimulated instance. You can find the following information:

  • Instance Initiation Date & Time
  • Trigger Type
  • Debug Logs
  • Nodes transitions displayed against each instance
  • Execution Started
  • Execution Successful
  • Step Failed
  • Date and Time
  • Context Data
  • Current Step
  • Instance Execution Status
  • In Progress
  • Failed
  • Completed
Menu