{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":5209,"path":"conversational-interfaces/virtual-agent/va-action.md","title":"Action utility","bundle":null,"doc_type":null,"release":"australia","body":"\n# Action utility\n\nUse the Action utility in a Virtual Agent topic to select the flow action properties that the node should create. The Action utility integrates Virtual Agent with the ServiceNow Workflow Studio product.\n\n## Action utility properties\n\nSpecify the flow action properties for the node you want to create.\n\n<table id=\"action-utility-properties-sheet-table\"><thead><tr><th>\n\nProperty\n\n</th><th>\n\nDescription\n\n</th></tr></thead><tbody><tr><td>\n\nNode name\n\n</td><td>\n\nThe name of this Action node.\n\n</td></tr><tr><td>\n\nInvoke Workflow Studio asset\n\n</td><td>\n\nWorkflow Studio component type. Select one of the following:\n\n-   **Action**: A reusable operation.\n-   **Subflow**: An automated process that consists of a sequence of reusable actions, data inputs, and outputs.\n\n</td></tr><tr><td>\n\nSpoke\n\n</td><td>\n\nName of the scoped application that contains Workflow Studio content that is dedicated to a particular application or record type.\n\n For a list of default spokes, see [Spokes](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/build-workflows/spokes.md).\n\n</td></tr><tr><td>\n\nAction/Subflow\n\n</td><td>\n\nThe Workflow Studio action or subflow to be performed in the instance. The **Input mapping** and **Output mapping** areas change depending on your selection.\n\n For details about the action, select the link beneath your selection to view it in Workflow Studio.\n\n</td></tr><tr><td>\n\nWait for response?\n\n</td><td>\n\nToggle switch that determines whether Virtual Agent waits for a response from the specified action before continuing.\n\n</td></tr><tr><td>\n\nInput mapping\n\n</td><td>\n\nThe variables to be used as input to the selected action. The contents of this area change according to the action you selected. Options may include string input, referenced records, scripts, and so forth. For options that require a password, enable the **Include a password input** toggle switch to prompt the user for a password. Secure inputs must use the password2 data type. Input is securely masked and not viewable by others.\n\n**Note:**\n\nIf a field is locked and you can’t enter a string, the pill picker value must match the field type. For example, if the field type is document\\_id, the referenced value type must also be document\\_id. If no matching field exists, reference a field created in another FDIH action output or use a script.\n\n</td></tr><tr><td>\n\nOutput mapping\n\n</td><td>\n\nThe variables to be output by the selected action. The contents of this area change according to the **Action/subflow** you selected.\n\n</td></tr><tr><td class=\"sub-head\" colspan=\"2\">\n\nAdvanced\n\n</td></tr><tr><td class=\"sub-head\" colspan=\"2\">\n\nPermissions\n\n</td></tr><tr><td>\n\nRun as\n\n</td><td>\n\nPermissions to use for the action. Select one of the following options:\n\n-   **User who initiates session**: When selected, the action runs using the same permissions that the current user has.\n-   **System User**: When selected, the action runs using system privileges, some of which may be unavailable to the current user.\n\n</td></tr><tr><td class=\"sub-head\" colspan=\"2\">\n\nHide this node\n\n</td></tr><tr><td>\n\nConditionally show this node if\n\n</td><td>\n\nNo-code condition statement or low-code script that specifies a condition for presenting this node in the conversation. The condition must evaluate to true.\n\n</td></tr></tbody>\n</table>## Example Action utility\n\n\\[Omitted image \"flow-designer-action-properties.png\"\\] Alt text: Action utility properties. Different Input and Output properties appear depending on which Action or Subflow you select.\n\n**Parent Topic:**[Assistant Designer utilities](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/conversational-interfaces/virtual-agent/va-utilities.md)\n\n"}}