how to dot walk SC task field value to populate in RITM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2020 03:10 AM
HI,
I am trying to update value in Task form i.e Affected_CI. but after closure of this task, i have an notification workflow activity where this value to be captured.
I couldn't dot walk the SC task fields from Notification work flow activity. Could you please guide me to have a run script to capture the value in either configuration Item field or Affected_ci of the RITM. so that i can get this value to be in the email notification
Thanks
Sri

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2020 03:13 AM
Hi,
You can write a email script and call that in notification activity.
Script:
var sctask = new GlideRecord('sc_task');
sctask.addQuery('request_item',current.sys_id);
sctask.query();
if(sctask.next()){
template.print('Affected CI : '+sctask.field_name.getDisplayValue());
}
Assuming that the affected ci field is created on sc_task table.
Thanks,
Ashutosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2020 07:45 AM
hi Munot,
its not working.
Affected CI is from Task(task) table. Task12322 number.
Regards
Sri

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2020 08:40 AM
Hi,
Are you talking about a field or a related list?
Thanks,
Ashutosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2020 11:05 PM
Hi,
REQ->RITM->Task
From one task, Affected CI field (cmdb_ci) value is entered by the assginee. Now, after the closure of this task, i want to capture this in Notification workflow activity. Workflow is on RITM table.
Regards
Sri