Workflow field not showing all stages

yundlu316
Kilo Guru

I have a workflow with four stages: Draft, HR Approval, Acknowledgement, and Completed:

find_real_file.png

I've also created a Workflow field to show the progress, but for some reason, not all of the stages are showing.   Completed is left out and I can't figure out why:

find_real_file.png

Any advice on how to get all of the stages to show correctly here?   Thanks!

6 REPLIES 6

kevin12345
Kilo Explorer

I think you should look at "Stage Rendering". Since it is currently set at "Workflow Driven", it will only display stages that it knows are reachable based on variable settings and whats in the workflow. Not sure what option would be best for your needs, but you can play around and see if any of the options work for you.


Hi Kevin,   thanks for that.   I think Workflow Driven is correct since I've established the Stages in Properties.   Despite this though, I'm not sure why Completed isn't showing up in my Workflow fields.


From what I can tell then, it seems the most likely answer is that you aren't using the "Completed" stage in any of your workflow activities. Just having it defined may not be enough. The only way I've been able to reproduce what you're seeing is to not have the stage used.



I took one of my workflows, set it to workflow driven, and then removed all of the "completed" stage from all the activities that had it, and "Completed" it is not appearing in the list of stages, much like your screen shot. I then added it back and it is appearing again. (Something to keep in mind, whether you are new to the platform or have been in it for a while) is that once a workflow has been started, it will run on the same workflow version as it started. If you check it out and change it, you are creating a new version. You'll have to create a new item to test.



If you haven't seen the wiki (older documentation, but seems to be a little more complete than docs on this topic), see http://wiki.servicenow.com/index.php?title=Workflow_Stages#gsc.tab=0 .


Thanks Kevin!   Our workflow below does incorporate Completed:



find_real_file.png



I am curious about the versioning comment though.   From what I gather, every time we publish the workflow, we start a new ticket to test out so it should be working correctly.   Let me know if there's anything else we should be on the look out for.   Thanks for your help!