{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":5157,"path":"conversational-interfaces/virtual-agent/test-flow-designer-va-integration.md","title":"Test the Action utility","bundle":null,"doc_type":null,"release":"australia","body":"\n# Test the Action utility\n\nTest the Action utility to make sure that the integrated action works as intended in the conversation.\n\n## Before you begin\n\nRole required: virtual\\_agent\\_admin or admin\n\n## About this task\n\nWhen you test the subflow or action associated with the Action utility, you see a test results preview pane that includes preview-only messages. These messages include a link called **View in Workflow Studio**. This link takes you to the execution details. You can use the execution details to do the following:\n\n-   Verify what is being returned to Virtual Agent.\n\n    **Note:** Only topic authors have access to the **View in Workflow Studio** link. In non-production environments, this link is available by default. In production environments, topic authors must enable access to this link by creating a record in the \\[sys\\_flow\\_execution\\_setting\\] table for each Workflow Studio asset. This link is not available in conversations where password2 input is used.\n\n-   View the subflow or action execution details.\n\nTopic authors can also see the test results in the Conversation Task FDIH Invocations \\[sys\\_cs\\_fdih\\_invocation\\_list\\] table.\n\n**Note:** If you have turned on and set up ServiceNow Otto in Virtual Agent, you can work with conversational actions and subflows from the Assistant Designer home page. For each assistant, you can test topics, subflows, and actions by using the Assistant Designer home page **Test Assistant** button. Assistant Designer opens a Workflow Studio tab where you can test subflows and actions. For more information on conversational actions and subflows, see [Conversational actions](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/build-workflows/conversational-actions.md) and [Conversational subflows](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/build-workflows/conversational-subflows.md). You can still integrate actions and subflows that are not conversational from Workflow Studio into Virtual Agent topics via Assistant Designer. The following content is only relevant to actions or subflows that can't be made conversational in Workflow Studio.\n\n## Procedure\n\n1.  Navigate to **All** &gt; **Conversational Interfaces** &gt; **Assistant Designer**.\n\n2.  Select the **Asset library** tab.\n\n3.  In the Asset library page, open the topic with the Action utility that you want to test.\n\n4.  Select **Test**.\n\n    If an action or subflow in the test window is slow to respond or appears to be waiting, you see a relevant error message.\n\n    By default, a scheduled job checks the conversation flow every 120 seconds. For more information about scheduled jobs, see [Scheduled jobs](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/platform-administration/c_ScheduledJobs.md).\n\n    You can change this interval, as needed. To change the interval, see [Specify the action workflow timeout](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/conversational-interfaces/virtual-agent/va-fdih-action-timeout.md).\n\n5.  Troubleshoot the Action utility node:\n\n    -   View the execution details.\n    -   Look at the Conversation Task FDIH Invocations \\[sys\\_cs\\_fdih\\_invocation\\_list\\] table.\n6.  Select **Save** when you're finished.\n\n\n**Parent Topic:**[Integrating Virtual Agent with Workflow Studio workflows](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/conversational-interfaces/virtual-agent/va-flow-designer-integration.md)\n\n"}}