Run workflow from Order Guide not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-16-2016 06:55 AM
I have a new hire order guide that needs to be approved at the REQ level. I have created and attached a workflow on the sc_request level with a workflow property condition to run this workflow if Order Guide is New Hire. Unfortunately this workflow isn't running at all. Even though the Order Guide is set to run it the New Hire workflow it is running the OoO Service Request workflow instead. I changed the execution order thinking it would kick off the Order Guide workflow and that didn't work. I then modify the Service Request workflow to only run if no other condition matched and that didn't do the trick. What step am I missing??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-16-2016 07:50 AM
Danielle,
If I understand your comment/question but workflows do not run off an "order guide" record. What was the condition looking for?
Once a user order the items from an order guide, the system only handles those items. An order guide is just a guide process to walk a user through all the catalog items you define in your order guide to show up base on rules you setup. Make sense?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-16-2016 07:57 AM
Thanks for the comment Patrick, but I did have this working a couple days ago. I got it to the point where it was kicking off the default REQ workflow and then the order Guide workflow. You can attach a specific workflow to an Order Guide (see below), but for some reason it isn't running now and I don't believe anyone made any changes that would cause it to stop. I need to have the Order Guide approved by HR and Vendor Management before the catalog items kick off. I can't do this on the REQ workflow because it doesn't apply to all REQs- just the Order Guides.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-16-2016 08:16 AM
Danielle,
OOTB Workflow is not on order guide form for a reason. There is no code to run a workflow based on order guide unless that has change in H release.
Even when you create a workflow tied to sc_request table, the condition filter OOTB does not list Order Guide field.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-16-2016 08:31 AM
Interesting how SeviceNow Guru and other forums can take you down rabbit holes. I think i will need to set some hidden fields on my Order Guides to trigger different paths in the REQ workflow. I was trying to find a way to trigger a separate workflow based on which Order Guide was selected.