Upload custom app on Store which contains Scheduled Data Collection Jobs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2023 12:12 AM - edited 12-06-2023 12:15 AM
Hi Community,
We have created a custom-scoped app on the platform and we want to upload that to the ServiceNow store. Our app contains a few Scheduled Data Collection Jobs. To run these jobs, we have created a user account in the system to be used in the "Run As" field.
We would like to understand how we can upload such apps to the store where we need to run our jobs using a particular account as we have identified that we cannot capture this user account as part of our application data since the system throws the error when we try to do that.
"ServiceNow prevents publishing records for the table "sys_user" because they can potentially cause a security risk when installed on other instances"
Also, if we try to run our jobs keeping the "Run As" empty, the job logs through the error "DataCollectorJob: <Job name> not executed, run_as user is empty"
Any help or reference is appreciated.
@Community Alums