Test an agentflow

Important: Agents is currently in private beta and is not yet available to all customers.

Agentflow testing allows you to run an instance of your agentflow without publishing and exiting the agentflow designer. Once you initiate a agentflow test, you can close the agentflow testing dialog and continue to work in the agentflow designer. The test will run in the background and you can launch the agentflow testing dialog to view the results or complete a task.

When the agentflow is running within the agentflow testing dialog, you can dynamically:

  • View the instance details, configuration errors, tasks, and test status.
  • Manually refresh the instance and task details.
  • Terminate a running instance.
  • Perform any user action required in the task.

If your agentflow is not completely configured and you want to test a specific section, you can choose to disable the unconfigured actions and test the desired section(s). For information about how to disable actions, see Disable or enable an action

Note: 
  • If you make any changes to the agentflow that is currently running within the agentflow testing dialog, the changes will not be reflected in the agentflow test unless you start a new test.
  • Only one agentflow test can be run at a time.
  • Agentflow instances and tasks that are tested using agentflow testing will not be displayed in the Instances page. You can view the tested instances and tasks only within the agentflow testing dialog box.

Test an agentflow

  1. Go to Agents > All agents.

  2. Open the agent designer:

    1. New agentflow: Click Create agentflow.

    2. Existing agentflow: Select the agentflow you want from the agentflows page.

    Note: If you are creating a new agentflow, Save an agentflow first, at least once, before you test it.

  1. On the toolbar at the top of the agentflow designer, click Agentflow testing.

  2. When prompted, enter the necessary information. For more information about the fields and buttons, see Test an agentflow.

  3. The Agentflow testing dialog displays the running test instances, tasks, and status of the active agentflow execution.

  4. When agentflow testing is finished, click Close.