{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":5115,"path":"conversational-interfaces/virtual-agent/secure-custom-input-properties-form.md","title":"Secure custom input properties sheet","bundle":null,"doc_type":null,"release":"australia","body":"\n# Secure custom input properties sheet\n\nUse this sheet to specify secure inputs, such as a password, in a custom input control in Virtual Agent.\n\n**Important:** To implement secure \\(password2\\) inputs in your Virtual Agent custom control, you must adhere to the scoped application requirements in Workflow Studio. For details, see [Workflow Studio scoped application requirements for secure inputs](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/conversational-interfaces/virtual-agent/va-fd-app-reqs-secure-inputs.md).\n\n## Secure custom input properties sheet\n\n<table id=\"table_jmw_bn2_dmb\"><thead><tr><th>\n\nSecure custom input property\n\n</th><th>\n\nDescription\n\n</th></tr></thead><tbody><tr><td>\n\nCustom Control Definition\n\n</td><td>\n\nList of custom control definitions for the controls.Select the definition that defines how the control is rendered for the channel in which it runs.\n\n</td></tr><tr><td>\n\nGenerate Control Data Function\n\n</td><td>\n\nScript function that provides the data used to render the custom control. For example, if you're asking for one or more passwords, you would define the values for each password.\n\n</td></tr><tr><td>\n\nTranscript Function\n\n</td><td>\n\nScript function that provides the message recorded in the transcript. For example, a message for an input control could confirm that the control is rendered with specific data values.\n\n</td></tr><tr><td>\n\nNon-supported channel response message\n\n</td><td>\n\nDefault fallback message that is displayed when a user is running the control on an unsupported channel.\n\n</td></tr><tr><td>\n\nInvoke Workflow Studio asset\n\n</td><td>\n\nThe Workflow Studio action or subflow that secure inputs from the custom control can be passed into.\n\n For more information about Workflow Studio actions and subflows, see [Actions](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/build-workflows/flow-actions.md) and [Subflows](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/build-workflows/subflows.md).\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 or subflow, click the link beneath your selection to view it in Workflow Studio.\n\n</td></tr><tr><td>\n\nInput mapping\n\n</td><td>\n\nSpecifies the variables to be used as input to the selected action. The check boxes for secure fields \\(password2 type\\) are selected automatically, which makes them mandatory. If you select the check box for a String field, it will be mandatory, but not secure. Only fields that use the password2 data type are secure. For each selected field, provide the corresponding input response variable name that is specified in the action or subflow. For example, a Workflow Studio action contains an **oldPassword** input and a **newPassword** input. The input response object looks like this:\n\n```\n{ \n   “old_password”: “1234”,\n   “new_password”: “5678”  \n} \n```\n\n In this example, enter `old_password` for the **oldPassword** property, and then enter `new_password` for the **newPassword** property.\n\n</td></tr><tr><td>\n\nOutput mapping\n\n</td><td>\n\nSpecifies the variables to be output by the selected action. The contents of this area change according to the action you selected.\n\n</td></tr><tr><td class=\"sub-head\" colspan=\"2\">\n\nAdvanced \\(optional\\)\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 or skip 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><tr><td>\n\nAllow user to skip this node if\n\n</td><td>\n\nNo-code condition statement or low-code script that specifies a condition for letting users skip this node in the conversation. The condition must evaluate to true. You can set this field using either the condition builder or a script.\n\n</td></tr></tbody>\n</table>**Related topics**  \n\n\n[Workflow Studio Actions](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/build-workflows/flow-actions.md)\n\n[Workflow Studio Subflows](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/build-workflows/subflows.md)\n\n[Password \\(2 Way Encrypted\\) design considerations](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/build-workflows/password-2-data.md)\n\n"}}