The Now Platform® Washington DC release is live. Watch now!
on ‎02-06-2022 10:49 PM
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):
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!
Result
After having updated the Flow Diagramming plugin, you'll notice within Flow Designer the presence of a switch to toggle the view:
---
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
---
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
Thank you, I will try that.
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 🙂
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!
Same procedure also for fresh San Diego instances. So this concerns both upgraded instances and new / zBooted instances.
Kind regards,
Mark
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!
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.
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.
I experienced the same thing and commented earlier on this thread. Glad we're both not going crazy - definitely isn't intuitive to install.
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?
So did you provide that feedback to ServiceNow?
Kind regards,
Mark
Our Utah flows won't display the diagram view because "Unsupported flow logic type present"
Very helpful ! Thank you for this!