Notifications

93 views

Description

The Create Catalog Task action in Flow Designer cannot be compiled when it is moved between instances via update sets.

Steps to Reproduce

  1. Log in as maint
  2. Install plugin Flow Designer support for the Service Catalog (com.glideapp.servicecatalog.flow_designer)
  3. Install the update set sys_remote_update_set_2afe87d8db6073400d7cf2131f96194c.xml
  4. From Self Service > Service Catalog
  5. Add Departmental Services Service catalog:
    1. Clicking "+" in the upper right
    2. Select "Departmental Services" in the middle slush bucket
    3. Click one of the "Add here buttons" to add it to the page
  6. Impersonate Joe Employee
  7. From Self Service > Service Catalog, you see these errors:
    • Cannot modify Inputs for an Action with restrictive security or protection policy
    • Cannot modify Outputs for an Action with restrictive security or protection policy
  8. Unimpersonate back to maint
    • Open http://<instance>/nav_to.do?uri=sys_hub_action_type_definition.do?sys_id=f597c41073081300612c273ffff6a767 and copy the Latest Snapshot sys_id
  9. Open http://<instance>/sys_hub_action_input_list.do?sysparm_query=model%3D<copied sysid>

You'll see there are 0 inputs when there should be 7.

Workaround

Apply attached update set (Fix.xml). 

After the update set is committed, clean up sys_update_xml table in order to receive future updates 

May need to force actions/flows to be recompiled to get current updates:

var scope = "<app scope sys_id>";
var gr = new GlideRecord('sys_hub_action_type_definition');
gr.addQuery('sys_scope', scope);
gr.query();
gs.print("*** Updating actions");
while (gr.next()) {
gs.print(gr.sys_name);
gr.latest_snapshot = "";
gr.update();
}

var gr = new GlideRecord('sys_hub_flow');
gr.addQuery('sys_scope', scope);
gr.query();
gs.print("*** Updating flows");
while (gr.next()) {
gs.print(gr.sys_name);
gr.latest_snapshot = "";
gr.update();
}

Related Problem: PRB1334067

Seen In

There is no data to report.

Fixed In

London Patch 8
Madrid

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2019-11-22 06:45:18
Published:2019-11-22
Fix for CS4177226.xmlsys_remote_update_set_2afe87d8db6073400d7cf2131f96194c.xml