订阅

UiPath 活动

UiPath 活动指南

Troubleshooting Permissions Issues

Problem

A user opens up Insert ServiceNow Record, Update ServiceNow Record, Get ServiceNow Record, or Insert ServiceNow Record and while they can choose an object, the property list is blank.

解决方案

Below is the list of API calls the activity pack makes:

Behavior

API URL

dropdown items

/api/now/table/sys_db_object?&sysparm_action=getRecords&sysparm_fields=sys_name,super_class,label,sys_id,name

get all columns in incident table

/api/now/table/sys_dictionary?sysparm_fields=internal_type,element,column_label,mandatory&sysparm_query=name%3Dincident%5EORname%3Dtask

gets sample value of one incident

/api/now/table/incident?sysparm_action=getRecords&sysparm_limit=1

🚧

Design Time vs. Run Time

The first two permissions are required only for RPA developers working with the design-time experience. The accounts used by robots to run the process do not need them.

Detailed Explanation

As an example /api/now/table/incident?sysparm_action=getRecords&sysparm_limit=1 is the API we call for the incident table. You will want to check with your ServiceNow system administrator that you have the correct permission/access to retrieve data from the table.

Your ServiceNow administrator should also be able to check the underlying/more granular permissions; these may be different but the overall idea is the same.  

As for configuring roles this can vary, i.e. ServiceNow administrators may opt to adjust the default role settings. For example if we want to read meta data on the Incident table we'll need access to both the sys_db_object and the Incident table.

Each table contains Access Controls and each access control contains Roles. These roles need to be configured for the user to read from both the tables.

Updated 4 months ago


Troubleshooting Permissions Issues


建议的编辑仅限用于 API 参考页面

You can only suggest edits to Markdown body content, but not to the API spec.