
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-23-2019 09:26 AM
Hi All,
I am experiencing weird scenario.
"Show Workflow" option /link is not appearing on RITM. I impersonated with X user and submitted the request, I opened RITM after impersonating with myself. Task was not generated and "Show Workflow" option is not appearing (ses the snap).
But I (as a developer) submit the request and if see the RITM then "Show Workflow" option is appearing.
I tested with different user as well, but cannot see it
What may be the reason ?
Thanks.
Regards,
Virendra
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-23-2019 10:32 AM
Thanks all for your quick help to assist me.
Issue is resolved. Its a stupid mistake I did. I created the new WF and was testing it without Publish it. As developer it was working for me but after impersonating its was not.
"Show Workflow" is appearing after PUBLISHING the WF

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-23-2019 09:33 AM
Hi Virendra,
Look for System Definition >> UI Actions >> Show Workflow. Open the record & check for condition for Show Workflow UI Action. You need to change it to make it work for rest.
Thanks,
Jaspal Singh
Hit Helpful or Correct on the impact of response.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-23-2019 10:19 AM
It is there
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-23-2019 09:36 AM
Have you checkd if workflow is attached or not? Have you used current.setworkflow(false)?
Start by checking the workflow properties (in the hamburger menu in the upper left). Is your workflow operating on the same table as your record? Are there any conditions specified (e.g. catalog item type needs to be found, a certain state needs to be hit, etc.
You can check the conditions under Workflow> Workflow Versions, locate the record and the conditions should be visible on that form as well.
Please mark as Correct Answer/Helpful, if applicable.
Thanks!
Abhishek Gardade
Abhishek Gardade

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-23-2019 09:45 AM
Hi there,
Most UI Actions Show workflow contain something like new Workflow().hasWorkflow(current).
If you dig into this Script Include and function, it's just checking if there's a workflow context attached.
Did you verify this? Check the RITM, XML for example, is context filled?
Can you verify that you are seeing the UI Action yourself as an admin for this same RITM?
Can you verify actually a workflow context started?
Is this on your dev instance, and might this be a new workflow which not have been published yet?
Kind regards,
Mark
---
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field