The Now Platform® Washington DC release is live. Watch now!

Help
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Mark Roethof
Tera Patron
Tera Patron

Hi there,

New with the San Diego release, for Flow Designer: "Create and view flows as diagrams. See the paths a flow can follow and the connections between elements." Awesome!!!

While Flow Diagramming is described on the Product Documentation, there's something missing... how to enable Flow Diagramming when upgrading from a previous release. Or also, when working on a new instance (on a new instance on San Diego patch 0, Flow Diagramming is not active).

It's just a really tiny small need to know...


Flow Diagramming?

In case you missed it, below to snapshots from TechNow episode 93 (Meet the Now Platform San Diego Release Platform Features):

find_real_file.png

find_real_file.png

As mentioned Flow Diagramming is also described on the Product Documentation:
Flow diagramming view


Enable Flow Diagramming

When upgrading your instance to San Diego patch 0 or when obtaining a new instance or zBooted an instance, Flow Diagramming won't be active. It's just a minor action to get Flow Diagramming working, though what?

You might already have looked at the System Properties, which is often one of my first searches on a new release. A new System Property "sn_flow_diagram.flow_diagramming_enabled" has been added, though its value is false and the scope it's in is private. It concerns scope "Flow Diagramming".

So let's have a look at the Plugins, and search for Flow Diagramming. Although it's a new plugin that comes with the San Diego release, there's already a new version available: 21.1.1 S. This is actually also the "trick" for getting Flow Diagramming activated!

find_real_file.png


Result

After having updated the Flow Diagramming plugin, you'll notice within Flow Designer the presence of a switch to toggle the view:

find_real_file.png

---

And that's it. Hope you like it. If any questions or remarks, let me know!

đź‘Ť
If this post helped you in any way, I would appreciate it if you hit bookmark or mark it as helpful.

Interested in more articles, blogs, videos, and Share projects on Flow Designer I published?
- Flow Designer


Kind regards,
Mark
2020-2021 ServiceNow Community MVP
2020-2021 ServiceNow Developer MVP

---

LinkedIn

Comments
ARP3
Tera Expert
Thanks , if there is an option to show the diagram in form or workspace like “show workflow “ , it would be great . What do you think ?
Harneet Sital
Tera Guru
Tera Guru

Hi ARP, 

If I understand your question correctly you are looking for a UI action just like we have OOB for showing workflow context when clicked opens the context. Well, that's doable and there are UI actions available OOB to show the flow contexts, you can refer to the following UI action - https://instanceName.service-now.com/sys_ui_action.do?sys_id=77aad27b730310108ef62d2b04f6a796

 

 

function showFlowContext () {
	var url;
	if (g_scratchpad.flowData.hasMultipleFlows === false && g_scratchpad.flowData.flowId !== "") {
		url = new GlideURL("/$flow-designer.do#/operations/context/" + g_scratchpad.flowData.flowId);
	} else {
		url = new GlideURL("sys_flow_context_list.do");
		url.addParam("sysparm_fixed_query", g_scratchpad.flowData.flowQuery);
	}

	g_navigation.open(url.getURL(), "_blank");
}

 

If the answer has helped you, please mark the answer correct/helpful. Thank you.

-Harneet

ARP3
Tera Expert

Thank you, I will try that.

Tyler Teter
Tera Contributor

Not sure if anyone experienced the same thing, but this plugin isn't available for EA versions of San Diego. Guess patience is a virtue 🙂

Allen Andreas
Tera Patron
Tera Patron

Hi,

Following the guidance from the article, I was able to see the currently installed Flow Diagramming plugin and also update it. My replication was from the context of a PDI that had Rome and was upgraded to San Diego.

Could you give more information as to how you went about searching for it and didn't find it, etc.?

Please mark reply as Helpful, if applicable. Thanks!

Mark Roethof
Tera Patron
Tera Patron

Same procedure also for fresh San Diego instances. So this concerns both upgraded instances and new / zBooted instances.

Kind regards,
Mark

Allen Andreas
Tera Patron
Tera Patron

Good to know 🙂

I also edited my reply as I was meaning that I was replicating it from an upgraded PDI. I could see how it previously worded, it could make it seem like I was saying your article was from that same context, but I meant my own, haha.

In either case, glad to know the process is the same and it works!

Thanks for the article!

Tyler Teter
Tera Contributor

In an EA San Diego instance (NOT a PDI Instance) the Flow Diagramming plugin doesn't show by default. I had to go into the ServiceNow store and Entitle all my instances for it to show up.

https://store.servicenow.com/sn_appstore_store.do#!/store/application/a4f5f4d7ca80209b2a32be23119ae821/

There is also a dependency app called Diagram Builder that also has to be entitled first: https://store.servicenow.com/sn_appstore_store.do#!/store/application/1cf7ad026abf3abab12e761ddaa6e9df

Once I did both those steps I was able to enable it on a non zBooted San Diego instance.

kevinanderson
Kilo Guru

If you don't see this plugin in your instance available to be installed, there is dependency in SN store that may also needs to have the license terms accepted and be entitled on your instances for this to be available to be  installed: Diagram Builder

 

I just spent some time with HI support to get this figured out.  When you click the dependencies option, you can click into Diagram Builder option and ensure it is accepted and made available before attempting to accept the license agreement for flow diagramming.

Tyler Teter
Tera Contributor

I experienced the same thing and commented earlier on this thread. Glad we're both not going crazy - definitely isn't intuitive to install.

Matthew Frazier
Tera Contributor

This seems neat, but unfortunately it's completely unusable.

Tried to show this to a client and none of their flows will diagram because of the error:

"Diagram view is unavailable because of the following: Flow stages present"

So ServiceNow says to add stages to Catalog Item flows as a best practice, but then prevents their diagrammer from working under those conditions?

Mark Roethof
Tera Patron
Tera Patron

So did you provide that feedback to ServiceNow?

Kind regards,
Mark

MGanon
Tera Guru

Our Utah flows won't display the diagram view because "Unsupported flow logic type present"

MFW0714
Tera Expert

Very helpful !  Thank you for this!

Version history
Last update:
‎02-06-2022 10:49 PM
Updated by: