
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-28-2016 04:12 PM
I'm trying to figure out in a workflow why an Approval process is being skipped. I'm assuming the variable I'm trying to use for the user doesn't have the right value but I can't seem to find away to print so I can go from there.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-29-2016 08:01 AM
Might be silly question but is the user you're selecting for approval an active user?
Also, if you want to print the value of the variable, you can do this in the background script with an RITM that has already been created but not working correctly.
var gr = new GlideRecord("sc_req_item");
gr.get("SYS_ID_OF_RITM_HERE");
gs.log("Line Manager: " + gr.variables.u_manager_approval);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-28-2016 05:08 PM
Can you show us how you have the approval activity setup? Is it a reference type variable that you are trying to pull the user info from?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-28-2016 07:17 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-28-2016 07:55 PM
If u_manager_approval is a variable, try this:
answer.push(current.variables.u_manager_approval);

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-28-2016 08:24 PM
Unfortunately that also doesn't seem to work. I've used that for another workflow, which is why this is stumping me. Sure it's something simple.