Why am I unable to see activities in a workflow?

Dave Clemmer
Mega Guru

I have a workflow, created by a co-worker (not sure if that matters, though her not being available to ask ATM probably is).  I can see the workflow, but any time I try to open it in the Workflow Editor, I see several odd things.

1) The option to check it out isn't there

2) Next to the burger icon, it lists the name, then says 'Published (Checked out by )'.  And FWIW, I looked at the wf_workflow table, and the checked out field was empty.

3) There are no activities in the Workflow, not even Start and End.

I do have workflow_admin (and admin, FTM), and I am in the same application (Global, if it matters).  I'm even in the same update set, though that doesn't seem to matter (in that I saw the same thing before putting myself in that update set).  Oh, and I even tried impersonating the co-worker; that was also weird.  It showed up as checked out by her, but the check-out couldn't be undone.  If I published it as her, it changed from checked out by her to showing the same thing I am seeing (the checked out by blank, bit, that is).

I can copy the workflow to a new one, and I automatically check out that copy, but the copy also has no activities.

The workflow is attached to sc_req_item, and is active, and I can run it.  And if I look at the RITM record after creating it, I can see the progress on the workflow, so it definitely exists.  I just can't do anything with it.

If anyone has any ideas of things to try, I'd love to hear them.

Thanks,

Dave

3 REPLIES 3

Aman Kumar S
Kilo Patron

Hey,

You cannot checkout a workflow because it's currently checked out by another user. 

Please refer to below SN support article for resolution.

How to delete/publish a workflow version which is checked out

 

Feel free to mark correct, If I answered your query.

Will be helpful for future visitors looking for similar questions 🙂

Best Regards
Aman Kumar

Mohith Devatte
Tera Sage
Tera Sage

Hello ,

This happens when the person who created the workflow does not check out the workflow 

you have two ways to deal with this 

1) Impersonate as that person and then open the workflow and then you will see the publish option .Then click on public  and end the impersonation. Now with your profile  see the workflow and click on ham burger icon you can see the check out option

2) go to wf_workflow_version.LIST table and filter records with your workflow name .Open the do sort z-a  of created field and then open the latest record that you get in the results .Once you open the record you can find a related link show workflow. There once the workflow is opened click on ham burger icon you can see"Force check out " option click that and go to workflow editor you can see the workflow will be in check out state

please refer to this article link https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0694570 for more details on step 2 mentioned above

 

please accept the solution if it helps your case

thanks

Dave Clemmer
Mega Guru

Hmm... I had already tried the 'Impersonate' path, and (as mentioned parenthetically above) got weird results.  Going to wf_workflow_version kind-of worked.  That is, I was able to check it out.  However, even with it checked out, I'm seeing a diagram with no activities (again, not even start and end).

Any other ideas?