Use the GetRecordContextID component
-
- UpdatedFeb 1, 2024
- 2 minutes to read
- Washington DC
- RPA Hub
Get the Sys ID of the ServiceNow form record that is associated to an attended configuration with the GetRecordContextID component in the RPA Desktop Design Studio. Sys ID is the output of the component. For example, Sys ID is used to fetch the attachments in a 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. This is the output of your component. For more information, see Assign bot process to an automation project.
Ensure you are familiar with Embedded Task Automation concepts. For more information, see Embedded Task Automation in RPA Hub.
Role required: none
About this task
If you are triggering the automation from the ServiceNow form's UI action (button) and it executes using the Attended Robot application, then the GetRecordContextID component returns the Sys ID of the ServiceNow form record.
You can configure the properties for the GetRecordContextID component. For more information about these properties, see Properties of the Forms components.
Procedure