Service Catalog Approval workflow "not yet requested"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-24-2019 03:18 AM
Hi Everyone,
We have just attempted to restart using the Service Catalog which was developed several versions ago and it appears we now have an issue where a new SC request is not getting past the first approval step.
I have confirmed that the approval engine is turned off for request (sc_request) and I have verified the workflow is published. The nominated cost centre manager (or "approver"?) listed in the catalog request never receives the corresponding sc request in their my approvals queue.
Here is the start of the workflow:
I have checked that all the catalog items are active and are pointing to the above workflow. I don't have any scripting knowledge and really don't know where to go from here, so any suggestions would be greatly appreciated. At this stage I'm thinking of deleting the workflow and starting from scratch. Will any of this get easier in Madrid or New York?
Regards,
Dave
- Labels:
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-25-2019 08:48 PM
Thanks for the input Dirk. You are correct, there is no active context for this workflow. So I'm guessing I need to go back and check that every component in the catalog and portal is active?
There is a script in the Approval - user activity:
answer=[];
var manager_sysid = current.variables.u_docs_manager; //sysID of manager
workflow.scratchpad.manager_sys_id = manager_sysid;
gs.log("Manager Sys ID", manager_sysid);
var manager = new GlideRecord('sys_user'); // get the manager record
manager.get('sys_id', manager_sysid); // get the user record for the manager
gs.log("Manager: ", manager.user_name);
workflow.scratchpad.manager_user_name = manager.user_name;
answer.push(manager.user_name);
------
Regards,
Dave

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-25-2019 09:19 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-25-2019 09:22 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-25-2019 10:32 PM
The workflow is definitely published, however I have just noticed that the Approvers field no longer appears to have a valid entry... although I can't understand why we would have had a specific user nominated... unless this was a script reference like another workflow which states - ${u_manager_to_approve}
Regards,
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-25-2019 10:36 PM
Try Checkout workflow and then see the value in Users.
thanks,
ABhishek
Abhishek Gardade