Stock Rule Runner sys_trigger script creates tasks on the task table. But users do not have access to this table

Steps to Reproduce

Script from Stock Rule Runner:

// Add task
var task = new GlideRecord('task');
task.assigned_to = stockLevel.stockroom.manager;
task.short_description = 'Quantity threshold breached: '+ stockroom.name;
task.description = 'Stockroom: ' + stockroom.name + '\nItem: ' + model.display_name + '\nQuantity: ' + quantity + '\nThreshold: ' + threshold;

Based on the logic of this script, when a Stock Rule hits a user defined threshold, and the type is Vendor, then a task is created. The manager of the stock room gets an email notification, and then they should be able to click the link in the email to access the Task. When they click this link, they get an access issue, since only admin users have access to the base task table.


This issue is under review. If you are able to upgrade, check the Fixed In field below to determine the versions that have a permanent fix. You can also subscribe to this known error article (click Subscribe button at the top of the article) to receive notifications when more information is available about this issue.

Related Problem: PRB1149704

Seen In

There is no data to report.

Intended Fix Version


Safe Harbor Statement

This "Intended Fix Version" information is meant to outline ServiceNow's general product direction and should not be relied upon in making a purchasing decision. The information provided here is for information purposes only and may not be incorporated into any contract. It is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. The development, release, and timing of any features or functionality described for our products remains at ServiceNow's sole discretion.

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2018-02-26 16:43:42