Workflow not opening in editor stuck on Loading Dialog Box Spinning IconIssue <!-- div.margin{ padding: 10px 40px 40px 30px; } table.tocTable{ border: 1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); padding-top: .6em; padding-bottom: .6em; padding-left: .9em; padding-right: .6em; } table.noteTable{ border:1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); width: 100%; border-spacing:2; } table.internalTable{ border:1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); width: 100%; border-spacing:0; } .sp td{ border-bottom: 1px solid; border-right: 1px solid; border-color:#E0E0E0; background-color: #ffffff; height: 20px; padding-top: .5em; padding-bottom: .5em; padding-left: .5em; padding-right: .5em; } .sphr td{ border-right: 1px solid; border-bottom: 1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); padding-top: .5em; padding-bottom: .5em; padding-left: .5em; padding-right: .5em; height: 20px; } .title { color: #D1232B; font-weight:; font-size:25px; } .hd1{ color: #D1232B; font-weight:; font-size:18px; } .hd2{ color: #646464; font-weight:bold; font-size:16px; } .hd3{ color: #7a7a7a; font-weight:; font-size:16 px; text-decoration:; } .hd4{ color: #000000; font-weight:bold; font-size:14 px; text-decoration:; } --> Having issues with recently moved workflow from dev to test or prod environment.The customer would see a spinning loading dialog box when he would try to open the workflow from the workflow editor We see the following in the system logs: Child processor failed: java.lang.RuntimeException: java.lang.NullPointerException: com.glideapp.workflow.ui.WorkflowDiagramProcessor.process(WorkflowDiagramProcessor.java:141) com.glide.processors.xmlhttp.internal.XMLHttpRequestExecutor.process(XMLHttpRequestExecutor.java:110) com.glide.processors.xmlhttp.internal.XMLHttpRequestExecutor.process(XMLHttpRequestExecutor.java:76) com.glide.processors.xmlhttp.AJAXXMLHttpAggregator.process(AJAXXMLHttpAggregator.java:70) com.glide.processors.XMLHttpProcessor.processJavaAJAX(XMLHttpProcessor.java:151) com.glide.processors.XMLHttpProcessor.process(XMLHttpProcessor.java:104) com.glide.processors.AProcessor.runProcessor(AProcessor.java:483) com.glide.processors.AProcessor.processTransaction(AProcessor.java:205) com.glide.processors.ProcessorRegistry.process0(ProcessorRegistry.java:178) com.glide.processors.ProcessorRegistry.process(ProcessorRegistry.java:167) com.glide.ui.GlideServletTransaction.process(GlideServletTransaction.java:31) com.glide.sys.Transaction.run(Transaction.java:2038) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) java.lang.Thread.run(Thread.java:748) Causeworkflow does not contain custom activity definition[wf_element_activity] record is missingcustom activity definition was not brought over in an Update SetResolutionA script to identify which custom activity definition(s) are missingrun in /sys.scripts.dothe output will be the sys_id of the missing custom activityyou will then need to go into the other environments (dev, test, etc), search in table [wf_element_activity]export & import XML file into the affected environment var nodes = new GlideAggregate('wf_activity'); nodes.addAggregate('COUNT', 'activity_definition'); nodes.addQuery('workflow_version.published', 'true'); nodes.query(); while(nodes.next()) { var def = new GlideRecord('wf_element_definition'); if(!def.get(nodes.getValue('activity_definition'))) gs.print('wf_element_definition ' + nodes.getValue('activity_definition') + ' is missing from this system'); } Related LinksIn hindsight, the custom activity update and workflow update should be captured in Update Set(s) and moved over to the target source