{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":22446,"path":"integrate-applications/use-set-process-field-param-forms.md","title":"Use the SetProcessFieldParameters component","bundle":null,"doc_type":null,"release":"australia","body":"\n# Use the SetProcessFieldParameters component\n\nSets the values of the associated **Table** fields mapped to the process field parameter, that you had configured in an attended configuration record of a bot process. This component updates the values of the configured field parameters associated to the **Table** field in the ServiceNow form record.\n\n## Before you begin\n\nIf you are running an automation from RPA Desktop Design Studio, then assign the automation to the bot process by using the **Assign bot process** option from the **Design** tab of RPA Desktop Design Studio. In the **Bot Process** field, ensure to select an attended bot process that is enabled with Embedded Task Automation. In the **Attended Config** field, ensure to select an associated attended configuration. In the **Record Context** field, ensure to enter the Sys ID or URL of the ServiceNow form record. For more information, see [Assign bot process to an automation project](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/integrate-applications/assign-bot-process.md).\n\nCreate process field parameters as part of a bot process on the RPA Hub. See [Create a process field parameter in RPA Hub](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/integrate-applications/create-process-field-param-rpa.md).\n\nEnsure you are familiar with Embedded Task Automation concepts. For more information, see [Embedded Task Automation \\(ETA\\) in RPA Hub](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/integrate-applications/embedded-task-auto-rpa.md).\n\nRole required:\n\n-   sn\\_rpa\\_fdn.rpa\\_developer or sn\\_rpa\\_fdn.rpa\\_admin, if you are running the automation from RPA Desktop Design Studio\n-   sn\\_rpa\\_fdn.rpa\\_assisted\\_user, if you are running the automation from the Attended Robot application.\n\n## About this task\n\nYou can configure the properties for the SetProcessFieldParameters component. For more information about these properties, see [Properties of the Forms components](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/integrate-applications/sn-forms-properties.md).\n\nLet's consider an employee badge creation use case. The following steps provide guidance of how to use the SetProcessFieldParameters component in this use case. For more information about the use case, see [Embedded Task Automation \\(ETA\\) in RPA Hub](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/integrate-applications/embedded-task-auto-rpa.md).\n\n## Procedure\n\n1.  In the Toolbox pane, navigate to **ServiceNow** &gt; **Forms**.\n\n2.  Drag the SetProcessFieldParameters component to the Design surface.\n\n3.  Click the component settings icon \\(\\[Omitted image \"component-settings-icon.png\"\\] Alt text: Component settings icon.\\).\n\n4.  Click the add key icon \\(\\[Omitted image \"add-image-icon.png\"\\] Alt text: Add key icon.\\).\n\n5.  Enter the name of one of the process field parameters.\n\n    For example, BadgeID, RequestState.\n\n    \\[Omitted image \"set-process-field-param-config-studio.png\"\\] Alt text: Enter process field parameters.\n\n    A Data In port is created.\n\n6.  Update the process field parameter data type.\n\n    You can define multiple parameters with primitive data type.\n\n7.  Repeat the steps to add more parameters.\n\n8.  Click **OK**.\n\n9.  Connect the data and control ports of the SetProcessFieldParameters component to the corresponding ports of other components as described in the following table.\n\n    |Port type|Purpose of connection|Mandatory?|\n    |---------|---------------------|----------|\n    |Data In|Pass the data of the field parameter.|Yes|\n    |Is Success \\[Data Out\\]|Boolean response to whether the update operation on the end form is successful or not.|Not Applicable|\n    |Control In|Connect to the Control Out port of one or more components.|Yes|\n    |Control Out|Connect to the Control In port of another component as per the required flow.|Not Applicable|\n\n10. To test the component, right-click the title bar of the component and select **Run From Here**.\n\n\n**Parent Topic:**[Forms](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/integrate-applications/forms_sn_rpa_studio.md)\n\n"}}