Gets 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. The component returns both the individual values of the parameters and all values as an object. This component reads the value of the associated Table field in the ServiceNow form record.

Before you begin

If 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 Toolbar 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.

Create a process field parameters as part of a bot process on the RPA Hub. See Create a process field parameter in RPA Hub.

Ensure you are familiar with Embedded Task Automation concepts. For more information, see Embedded Task Automation in RPA Hub.

Role required:
  • sn_rpa_fdn.rpa_developer or sn_rpa_fdn.rpa_admin, if you are running the automation from RPA Desktop Design Studio
  • sn_rpa_fdn.rpa_assisted_user, if you are running the automation from the Attended Robot application.

About this task

You can configure the properties for the GetProcessFieldParameters component. For more information about these properties, see Properties of the Forms components.

Let's consider an employee badge creation use case. The following steps provide guidance of how to use the GetProcessFieldParameters component in this use case. For more information about the use case, see Embedded Task Automation in RPA Hub.

Procedure

  1. In the Toolbox pane, navigate to ServiceNow > Forms.
  2. Drag the GetProcessFieldParameters component to the Design surface.
  3. Click the component settings icon (Component settings icon.).
  4. Click the add key icon (Add key icon.).
  5. Enter the name of one of the process field parameters.
    For example, Title, FirstName, LastName, Location, as shown in the following image.
    Figure 1. Example of the Process Field Parameters Configuration
    Enter process field parameters.
  6. (Optional) Update the process field parameter data type.
    You can define multiple parameters with primitive data type.
  7. Repeat the steps to add more parameters.
  8. Click OK.
  9. Connect the data and control ports of the GetProcessFieldParameters component to the corresponding ports of other components as described in the following table.
  10. (Optional) To test the component, right-click the title bar of the component and select Run From Here.