The CreatorCon Call for Content is officially open! Get started here.

Troubleshooting error from version 1.4.3 Service Graph Connector for VMware Worksapce ONE UEM

Scott Halverso1
Mega Guru

Anyone know what this error means?

Flow Designer: Persisting an unterminated plan is not supported for plan with id null and name: get_devices_action
 
After upgrading to version 1.4.3 Service Graph Connector for VMware Worksapce ONE UEM we receive this error.  Manually running the flow action called get_devices_action works, but when invoked from the data source we receive this error
4 REPLIES 4

The SN Nerd
Giga Sage
Giga Sage

Did you solve this?

I am having this problem right now and have engaged with SN support.


ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022

This issue looks to be isolated if your rest calls to Airwatch are routing through a MID Server.  This release of Service Graph doesn't work when calls are routed through the MID Server.  This is due to ServiceNow transitioning to calling the Flow API in a new way.

As a work around until ServiceNow fixes the root issue.  Note I've heard many performance complaints after making this change.  The job is taking upwards of 18 hours to run.  

The fix is to customize the application.  Look to the script include called SG_WS1_UEM_Datasource_Helper line 81 in the invokeAction function. Also update line 289 of the loadRemovedSoftwareData() method.  Note this script include is read only so you'll have to either make a copy or extend and override these methods. 

//change this: 
//var result = sn_fd.FlowAPI.getRunner().action(name).inForeground().withInputs(arg).quick().run();
//to this
var result = sn_fd.FlowAPI.getRunner().action(name).inForeground().withInputs(arg).run();

 

 

 

 

I came to the same conclusions, with the import taking so long I thought that my fix didn't work... Good to know it still "works", just taking a long time.

Will continue to discuss with SN support.


ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022

The SN Nerd
Giga Sage
Giga Sage

There is now a KB for this issue:

Service Graph Connector for VMware Workspace ONE UEM - Import(s) throwing FlowObjectAPIException


ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022