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: '+;
task.description = 'Stockroom: ' + + '\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.

Fixed In


Associated Community Threads

There is no data to report.

Article Information

Last Updated:2019-05-21 11:39:52