- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2018 06:32 PM
Hello,
I have a workflow set-up on the sc_request table for the ServiceNow catalog. It works perfectly. I want to populate the Requested For field in the SC task with the info from the Request. I've tried a ton of different things but nothing is working...currently I have "task.requested_for = current.variables.requested_for". I have attached an image to show what I am talking about. Please let me know if you need any more information. Thank you.
want Requested For to go into the Catalog task ->
Solved! Go to Solution.
- Labels:
-
Service Catalog
-
Workflow

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2018 06:40 PM
try task.requested_for = current.request.requested_for
alternatively you can use glide record to pull data from request table and update sc_task table

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2018 06:40 PM
try task.requested_for = current.request.requested_for
alternatively you can use glide record to pull data from request table and update sc_task table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2018 06:49 PM
Trying task.requested_for = current.request.requested_for results in the SC task not being generated at all...do you have any idea why?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2018 07:17 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2018 07:29 PM
Yes, that's where I put it. So I am trying to put the 'Requested For' field in the sc_request table into the 'Requested For' field for the sc_task table.
But when I put task.requested_for = current.request.requested_for in t the advanced script, it fails to generate the SC task at all.
I am stumped...