64 views

Description

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.initialize();
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;
task.insert();

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.

Workaround

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

London

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2018-02-26 16:43:42
Published:2017-10-03