Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2020 12:39 PM
As a workaround, can you try this:
var grIncident = new GlideRecord('incident');
if (grIncident.get(current.sys_id)) {
grIncident.work_notes = "Standard Change created";
grIncident.state = -5;
grIncident.u_pending_reason = "Pending Change Request";
grIncident.update();
}
action.setRedirectURL(new StdChangeUtils().getURLForTask(current, 'rfc'));