From aee496977ee0c57051688300a0362db716a30204 Mon Sep 17 00:00:00 2001 From: admin Date: Tue, 28 Oct 2025 11:02:25 -0700 Subject: [PATCH] hacktoberfest first actionpack --- b812ceb69337a210633378917cba10bc/README.md | 2 +- ...ition_b785943e53f036505689f7e0a0490e45.xml | 3037 +++++++++++++++++ 2 files changed, 3038 insertions(+), 1 deletion(-) create mode 100644 b812ceb69337a210633378917cba10bc/update/sys_hub_action_type_definition_b785943e53f036505689f7e0a0490e45.xml diff --git a/b812ceb69337a210633378917cba10bc/README.md b/b812ceb69337a210633378917cba10bc/README.md index 05cd6fa..1aa7e3e 100644 --- a/b812ceb69337a210633378917cba10bc/README.md +++ b/b812ceb69337a210633378917cba10bc/README.md @@ -24,4 +24,4 @@ If you find yourself unable to import your repository due to the presence of fil 2.2 Activate/install all required dependencies 2.3 Re-import the application from source control Currently listed dependencies: - * + * ServiceNow IntegrationHub Enterprise Pack Installer diff --git a/b812ceb69337a210633378917cba10bc/update/sys_hub_action_type_definition_b785943e53f036505689f7e0a0490e45.xml b/b812ceb69337a210633378917cba10bc/update/sys_hub_action_type_definition_b785943e53f036505689f7e0a0490e45.xml new file mode 100644 index 0000000..e8e310b --- /dev/null +++ b/b812ceb69337a210633378917cba10bc/update/sys_hub_action_type_definition_b785943e53f036505689f7e0a0490e45.xml @@ -0,0 +1,3037 @@ + + + public + + + + true + + {labelCacheCleanUpExecuted=true} + 28100 + false + + + + + + false + check_incidents_for_assignment_group + [{"name":"{{action.assignment_group}}","label":"action➛Assignment Group","type":"action","ref":"","reference_display":"Group","base_type":"reference","parent_table_name":"","column_name":"","choices":null,"attributes":{"sourceId":"","uiTypeLabel":"Reference","element_mapping_provider":"com.glide.flow_design.action.data.FlowDesignVariableMapper","sourceUiUniqueId":"","sourceType":"","uiType":"reference","uiUniqueId":"423538d2-604d-46d9-9821-671eaa778aaa"}},{"name":"{{action.assignment_group.sys_id}}","label":"action➛Assignment Group➛Sys ID","type":"action","ref":"","reference_display":"Sys ID","base_type":"GUID","parent_table_name":"sys_user_group","column_name":"sys_id","choices":null,"attributes":{}},{"name":"{{step[13af7237-d6b8-4d69-8e7f-ccc22f8d94d4].active_incident_count}}","label":"step➛Script step➛Active Incident Count","type":"step","ref":"","reference_display":"","base_type":"integer","parent_table_name":"","column_name":"","choices":null,"attributes":{"uiTypeLabel":"Integer","element_mapping_provider":"com.glide.flow_design.action.data.FlowDesignVariableMapper","uiType":"integer","uiUniqueId":"a8a9d8d2-180c-475c-842c-7c10171cbb80"}},{"name":"{{step[13af7237-d6b8-4d69-8e7f-ccc22f8d94d4].incident_list}}","label":"step➛Script step➛Incident List","type":"step","ref":"","reference_display":"","base_type":"json","parent_table_name":"","column_name":"","choices":null,"attributes":{"uiTypeLabel":"JSON","element_mapping_provider":"com.glide.flow_design.action.data.FlowDesignVariableMapper","uiType":"json","uiUniqueId":"57c3da6d-6147-49bd-8d2e-59c29cd20433"}},{"name":"{{step[13af7237-d6b8-4d69-8e7f-ccc22f8d94d4].__step_status__.code}}","label":"step➛Script step➛Step Status➛Code","type":"step","ref":"","reference_display":"","base_type":"integer","parent_table_name":"","column_name":"","choices":null,"attributes":{}},{"name":"{{step[13af7237-d6b8-4d69-8e7f-ccc22f8d94d4].__step_status__.message}}","label":"step➛Script step➛Step Status➛Message","type":"step","ref":"","reference_display":"","base_type":"string","parent_table_name":"","column_name":"","choices":null,"attributes":{}},{"name":"{{step[13af7237-d6b8-4d69-8e7f-ccc22f8d94d4].action_status}}","label":"step➛Script step➛Action Status","type":"step","ref":"","reference_display":"","base_type":"string","parent_table_name":"","column_name":"","choices":null,"attributes":{"sourceId":"","sourceUiUniqueId":"","sourceType":""}},{"name":"{{step[13af7237-d6b8-4d69-8e7f-ccc22f8d94d4].error_message}}","label":"step➛Script step➛Error Message","type":"step","ref":"","reference_display":"","base_type":"string","parent_table_name":"","column_name":"","choices":null,"attributes":{"sourceId":"","sourceUiUniqueId":"","sourceType":""}},{"name":"{{step[13af7237-d6b8-4d69-8e7f-ccc22f8d94d4].error_type}}","label":"step➛Script step➛Error Type","type":"step","ref":"","reference_display":"","base_type":"string","parent_table_name":"","column_name":"","choices":null,"attributes":{"sourceId":"","sourceUiUniqueId":"","sourceType":""}}] + 735a343653b836505689f7e0a0490e81 + + Check Incident Count For Assignment Group + + + + false + published + sys_hub_action_type_definition + admin + 2025-10-28 14:25:42 + global + / + b785943e53f036505689f7e0a0490e45 + 59 + Check Incident Count For Assignment Group + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + sys_hub_action_type_definition_b785943e53f036505689f7e0a0490e45 + admin + 2025-10-28 17:51:09 + false + + + + + + sys_hub_action_type_definition + b785943e53f036505689f7e0a0490e45 + 1 + sys_variable_value + admin + 2025-10-28 15:02:11 + 5aed9036537436505689f7e0a0490e05 + 0 + admin + 2025-10-28 15:02:11 + + 82ed5036537436505689f7e0a0490e7d + + + sys_hub_action_type_definition + b785943e53f036505689f7e0a0490e45 + 2 + sys_variable_value + admin + 2025-10-28 14:34:06 + aa775c72533436505689f7e0a0490e97 + 0 + admin + 2025-10-28 14:34:06 + 0 + a2775c72533436505689f7e0a0490e7b + + + sys_hub_action_type_definition + b785943e53f036505689f7e0a0490e45 + 1 + sys_variable_value + admin + 2025-10-28 14:34:06 + ee775c72533436505689f7e0a0490e97 + 1 + admin + 2025-10-28 16:48:42 + {"version":"1.0","complexObject":{"code":{"$cv":{"$c":"java.lang.String","$v":""}},"message":{"$cv":{"$c":"java.lang.String","$v":""}}},"complexObjectSchema":{"FlowDesigner:FDACTIONSTATUS":{"code":"Integer","code.$field_facets":{"SimpleMapFacet":"{\"uiTypeLabel\":\"Integer\",\"read_only\":\"false\",\"hint\":\"\",\"uiType\":\"integer\",\"mapped\":\"{}\",\"default_value\":\"\",\"label\":\"Code\",\"action_error_output\":\"true\",\"mandatory\":\"false\",\"order\":\"1\",\"max_length\":\"40\"}"},"message":"String","message.$field_facets":{"SimpleMapFacet":"{\"uiTypeLabel\":\"String\",\"read_only\":\"false\",\"hint\":\"\",\"uiType\":\"string\",\"mapped\":\"{}\",\"default_value\":\"\",\"label\":\"Message\",\"action_error_output\":\"true\",\"mandatory\":\"false\",\"order\":\"2\",\"max_length\":\"4000\"}"}},"FlowDesigner:FDACTIONSTATUS.$type_facets":{"SimpleMapFacet":"{\"default_value\":\"\",\"label\":\"Action Status\",\"action_error_output\":\"true\",\"mandatory\":\"false\",\"uiUniqueId\":\"4adfb7bc-9d67-498d-88d0-8d6c3d584fed\",\"uiTypeLabel\":\"Object\",\"co_type_name\":\"FDACTIONSTATUS\",\"element_mapping_provider\":\"com.glide.flow_design.action.data.FlowDesignVariableMapper\",\"read_only\":\"false\",\"hint\":null,\"uiType\":\"object\",\"order\":\"1\",\"max_length\":\"65000\"}"}},"serializationFormat":"JSON"} + 26775c72533436505689f7e0a0490e66 + + + + active_incident_count + b785943e53f036505689f7e0a0490e45 + admin + 2025-10-28 15:02:11 + 96ed9036537436505689f7e0a0490e05 + 1 + admin + 2025-10-28 15:28:08 + var__m_sys_hub_action_output_b785943e53f036505689f7e0a0490e45
+ {{step[13af7237-d6b8-4d69-8e7f-ccc22f8d94d4].active_incident_count}} +
+ + incident + b785943e53f036505689f7e0a0490e45 + admin + 2025-10-28 14:37:57 + 0358d436533436505689f7e0a0490e4a + 0 + admin + 2025-10-28 14:37:57 + var__m_sys_hub_action_output_b785943e53f036505689f7e0a0490e45
+ +
+ + incidents + b785943e53f036505689f7e0a0490e45 + admin + 2025-10-28 14:46:15 + 284a5c7a533436505689f7e0a0490e14 + 0 + admin + 2025-10-28 14:46:15 + var__m_sys_hub_action_output_b785943e53f036505689f7e0a0490e45
+ +
+ + incident_count + b785943e53f036505689f7e0a0490e45 + admin + 2025-10-28 14:37:57 + 4758d436533436505689f7e0a0490e4a + 0 + admin + 2025-10-28 14:37:57 + var__m_sys_hub_action_output_b785943e53f036505689f7e0a0490e45
+ +
+ + incident_list + b785943e53f036505689f7e0a0490e45 + admin + 2025-10-28 16:20:21 + 57cf6c76533836505689f7e0a0490e68 + 0 + admin + 2025-10-28 16:20:21 + var__m_sys_hub_action_output_b785943e53f036505689f7e0a0490e45
+ {{step[13af7237-d6b8-4d69-8e7f-ccc22f8d94d4].incident_list}} +
+ + __action_status__ + b785943e53f036505689f7e0a0490e45 + admin + 2025-10-28 14:34:06 + e6775c72533436505689f7e0a0490e97 + 0 + admin + 2025-10-28 14:34:06 + var__m_sys_hub_action_output_b785943e53f036505689f7e0a0490e45
+ +
+ + __dont_treat_as_error__ + b785943e53f036505689f7e0a0490e45 + admin + 2025-10-28 14:34:06 + a2775c72533436505689f7e0a0490e97 + 0 + admin + 2025-10-28 14:34:06 + var__m_sys_hub_action_output_b785943e53f036505689f7e0a0490e45
+ +
+ + + b785943e53f036505689f7e0a0490e45 + 13af7237-d6b8-4d69-8e7f-ccc22f8d94d4 + 1 + + + + + + + 1 + +
+ 106afb6647032200b4fad7527c9a71e7 + admin + 2025-10-28 15:22:16 + d882647253b436505689f7e0a0490e6a + 17 + b812ceb69337a210633378917cba10bc + admin + 2025-10-28 17:44:53 + + + + sys_hub_step_instance + d882647253b436505689f7e0a0490e6a + 400 + sys_variable_value + admin + 2025-10-28 15:22:16 + 5c82647253b436505689f7e0a0490e7e + 0 + admin + 2025-10-28 15:22:16 + 35aa573fd7802200bdbaee5b5e610375 + f5e56d79b3101300176b051a16a8dce4 + + + sys_hub_step_instance + d882647253b436505689f7e0a0490e6a + 600 + sys_variable_value + admin + 2025-10-28 15:22:16 + 9082647253b436505689f7e0a0490e7f + 15 + admin + 2025-10-28 17:44:53 + (function execute(inputs, outputs) { + // Validate Input Early (Fail-Fast) + if (!inputs.groupId) { + gs.warn("⚠️ Action aborted: No Assignment Group provided."); + + outputs.action_status = "error"; + outputs.error_message = "No Assignment Group provided. Please ensure 'groupId' input is mapped."; + outputs.error_type = "validation"; + return; + } + + try { + + var groupId = inputs.groupId; + var result = []; + var count = 0; + + + var gr = new GlideRecord('incident'); + gr.addQuery('assignment_group', groupId); + gr.addQuery('active', true); + gr.addQuery('state', '!=', 6); // exclude Resolved + gr.addQuery('state', '!=', 7); // exclude Closed + gr.query(); + + while (gr.next()) { + result.push({ + number: gr.getValue('number'), + sys_id: gr.getUniqueValue(), + state: gr.getDisplayValue('state'), + priority: gr.getDisplayValue('priority') + }); + count++; + } + + // Success Case + outputs.active_incident_count = count; + outputs.incident_list = JSON.stringify(result); + outputs.action_status = "success"; + outputs.error_message = ""; + + gs.info("✅ Retrieved " + count + " active incidents for group: " + groupId); + + } catch (e) { + // 🧩 5. Handle unexpected runtime errors + gs.error("❌ Error fetching active incidents: " + e); + + outputs.active_incident_count = 0; + outputs.incident_list = "[]"; + outputs.action_status = "error"; + outputs.error_type = "runtime"; + outputs.error_message = e.toString(); + } + +})(inputs, outputs); + + 71aa7f6647032200b4fad7527c9a719b + + + + application + d882647253b436505689f7e0a0490e6a + admin + 2025-10-28 15:22:16 + 5482647253b436505689f7e0a0490e7e + 0 + admin + 2025-10-28 15:22:16 + var__m_sys_flow_step_definition_input_106afb6647032200b4fad7527c9a71e7
+ +
+ + groupId + d882647253b436505689f7e0a0490e6a + admin + 2025-10-28 16:26:56 + af4134ba533836505689f7e0a0490eb7 + 1 + admin + 2025-10-28 16:48:42 + var__m_sys_hub_step_ext_input_d882647253b436505689f7e0a0490e6a
+ {{action.assignment_group}} +
+ + script + d882647253b436505689f7e0a0490e6a + admin + 2025-10-28 15:22:16 + 9882647253b436505689f7e0a0490e7e + 0 + admin + 2025-10-28 15:22:16 + var__m_sys_flow_step_definition_input_106afb6647032200b4fad7527c9a71e7
+ +
+ + + + + + true + false + false + element_mapping_provider=com.glide.flow_design.action.data.FlowDesignVariableMapper,uiType=GUID,uiTypeLabel=Sys ID (GUID) + false + + + + + + + + + + + + + false + false + + + + groupId + false + + + + false + + + GUID + + + + true + false + false + element_mapping_provider=com.glide.flow_design.action.data.FlowDesignVariableMapper,uiType=string,uiTypeLabel=String,uiUniqueId=0f2a723c-8045-4ee8-bac9-5ffb844d80f1 + false + + + + + + + + + + + + + false + false + + + + error_type + false + + + + false + + + string + + false + 8000 + d882647253b436505689f7e0a0490e6a + d882647253b436505689f7e0a0490e6a + sys_hub_step_instance + var__m_sys_hub_step_ext_output_d882647253b436505689f7e0a0490e6a + + 5 + false + false + + + + false + + + + + + false + false + sys_hub_step_ext_output + admin + 2025-10-28 17:44:53 + 252385be53f836505689f7e0a0490e64 + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-28 17:44:53 + false + false + false + false + false + simple + false + script + + + false + + + true + false + false + element_mapping_provider=com.glide.flow_design.action.data.FlowDesignVariableMapper,uiType=json,uiTypeLabel=JSON,uiUniqueId=57c3da6d-6147-49bd-8d2e-59c29cd20433 + false + + + + + + + + + + + + + false + false + + + + incident_list + false + + + + false + + + json + + false + 4000 + d882647253b436505689f7e0a0490e6a + d882647253b436505689f7e0a0490e6a + sys_hub_step_instance + var__m_sys_hub_step_ext_output_d882647253b436505689f7e0a0490e6a + + 2 + false + false + + + + false + + + + + + false + false + sys_hub_step_ext_output + admin + 2025-10-28 16:14:55 + 278e60b2533836505689f7e0a0490e6e + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-28 16:14:55 + false + false + false + false + false + simple + false + script + + + false + + + true + false + false + element_mapping_provider=com.glide.flow_design.action.data.FlowDesignVariableMapper,uiType=string,uiTypeLabel=String,uiUniqueId=ee8ba2b5-b9f4-42e3-abba-6f614ba3e05e + false + + + + + + + + + + + + + false + false + + + + action_status + false + + + + false + + + string + + false + 8000 + d882647253b436505689f7e0a0490e6a + d882647253b436505689f7e0a0490e6a + sys_hub_step_instance + var__m_sys_hub_step_ext_output_d882647253b436505689f7e0a0490e6a + + 3 + false + false + + + + false + + + + + + false + false + sys_hub_step_ext_output + admin + 2025-10-28 16:55:05 + 33b7343e537836505689f7e0a0490e00 + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-28 16:55:05 + false + false + false + false + false + simple + false + script + + + false + + + true + false + false + element_mapping_provider=com.glide.flow_design.action.data.FlowDesignVariableMapper,uiType=integer,uiTypeLabel=Integer,uiUniqueId=a8a9d8d2-180c-475c-842c-7c10171cbb80 + false + + + + + + + + + + + + + false + false + + + + active_incident_count + false + + + + false + + + integer + + false + 40 + d882647253b436505689f7e0a0490e6a + d882647253b436505689f7e0a0490e6a + sys_hub_step_instance + var__m_sys_hub_step_ext_output_d882647253b436505689f7e0a0490e6a + + 1 + false + false + + + + false + + + + + + false + false + sys_hub_step_ext_output + admin + 2025-10-28 15:27:55 + c7c3ac3653b436505689f7e0a0490ec5 + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-28 15:27:55 + false + false + false + false + false + simple + false + script + + + false + + + true + false + false + element_mapping_provider=com.glide.flow_design.action.data.FlowDesignVariableMapper,uiType=string,uiTypeLabel=String,uiUniqueId=c7f52271-bb2c-4a3e-b14d-d12d3fa9e43c + false + + + + + + + + + + + + + false + false + + + + error_message + false + + + + false + + + string + + false + 8000 + d882647253b436505689f7e0a0490e6a + d882647253b436505689f7e0a0490e6a + sys_hub_step_instance + var__m_sys_hub_step_ext_output_d882647253b436505689f7e0a0490e6a + + 4 + false + false + + + + false + + + + + + false + false + sys_hub_step_ext_output + admin + 2025-10-28 16:55:05 + ccc7343e537836505689f7e0a0490e05 + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-28 16:55:05 + false + false + false + false + false + simple + false + script + + + false + + + + active_incident_count + + + + en + var__m_sys_hub_step_ext_output_d882647253b436505689f7e0a0490e6a + + sys_documentation + admin + 2025-10-28 15:27:55 + 07c3ac3653b436505689f7e0a0490ecb + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-28 15:27:55 + + + + + error_type + + + + en + var__m_sys_hub_step_ext_output_d882647253b436505689f7e0a0490e6a + + sys_documentation + admin + 2025-10-28 17:44:53 + 612385be53f836505689f7e0a0490e75 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-28 17:44:53 + + + + + incident_list + + + + en + var__m_sys_hub_step_ext_output_d882647253b436505689f7e0a0490e6a + + sys_documentation + admin + 2025-10-28 16:14:55 + ab8e60b2533836505689f7e0a0490e72 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-28 16:14:55 + + + + + error_message + + + + en + var__m_sys_hub_step_ext_output_d882647253b436505689f7e0a0490e6a + + sys_documentation + admin + 2025-10-28 16:55:05 + c0c7343e537836505689f7e0a0490e0a + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-28 16:55:05 + + + + + action_status + + + + en + var__m_sys_hub_step_ext_output_d882647253b436505689f7e0a0490e6a + + sys_documentation + admin + 2025-10-28 16:55:05 + c4c7343e537836505689f7e0a0490e04 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-28 16:55:05 + + + + + + true + false + false + element_mapping_provider=com.glide.flow_design.action.data.FlowDesignVariableMapper,uiType=reference,uiTypeLabel=Reference,uiUniqueId=423538d2-604d-46d9-9821-671eaa778aaa + false + + + + sys_user_group + + + + + + + + + false + false + + + + assignment_group + false + + + + false + + + reference + + true + 32 + b785943e53f036505689f7e0a0490e45 + b785943e53f036505689f7e0a0490e45 + sys_hub_action_type_definition + var__m_sys_hub_action_input_b785943e53f036505689f7e0a0490e45 + + 1 + false + false + + sys_user_group + + false + + + + + + false + false + sys_hub_action_input + admin + 2025-10-28 14:34:05 + 6a775c72533436505689f7e0a0490e35 + 8 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-28 17:49:58 + false + false + false + false + false + simple + false + script + + + false + + + + + true + false + false + action_error_output=true,co_type_name=FDACTIONSTATUS,element_mapping_provider=com.glide.flow_design.action.data.FlowDesignVariableMapper,uiType=object,uiTypeLabel=Object,uiUniqueId=2a1e83c4-a2f8-4e8a-ae42-a0e0905a1d09 + false + + + + + + + + + + + + + false + false + + + + __action_status__ + + false + + + + false + + + + string + + false + 65000 + b785943e53f036505689f7e0a0490e45 + b785943e53f036505689f7e0a0490e45 + sys_hub_action_type_definition + var__m_sys_hub_action_output_b785943e53f036505689f7e0a0490e45 + + 3 + false + false + + + + false + + + + + + false + false + sys_hub_action_output + admin + 2025-10-28 14:34:05 + 26775c72533436505689f7e0a0490e66 + 2 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-28 16:20:06 + false + false + false + false + false + simple + false + script + + + false + + + + + true + false + false + element_mapping_provider=com.glide.flow_design.action.data.FlowDesignVariableMapper,uiType=integer,uiTypeLabel=Integer,uiUniqueId=3c2c9ee1-fb5a-4858-9a2e-5c8dbd5e50fe + false + + + + + + + + + + + + + false + false + + + + active_incident_count + + false + + + + false + + + + integer + + false + 40 + b785943e53f036505689f7e0a0490e45 + b785943e53f036505689f7e0a0490e45 + sys_hub_action_type_definition + var__m_sys_hub_action_output_b785943e53f036505689f7e0a0490e45 + + 1 + false + false + + + + false + + + + + + false + false + sys_hub_action_output + admin + 2025-10-28 15:02:11 + 82ed5036537436505689f7e0a0490e7d + 2 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-28 15:19:17 + false + false + false + false + false + simple + false + script + + + false + + + + + true + false + false + action_error_output=true,element_mapping_provider=com.glide.flow_design.action.data.FlowDesignVariableMapper,uiType=boolean,uiTypeLabel=True/False,uiUniqueId=d48b9ecc-63b4-4625-ac52-b2772998b696,visible_in_ui=false + false + + + + + + + + true + + + + + false + false + + + + __dont_treat_as_error__ + + false + + + + false + + + + boolean + + false + 40 + b785943e53f036505689f7e0a0490e45 + b785943e53f036505689f7e0a0490e45 + sys_hub_action_type_definition + var__m_sys_hub_action_output_b785943e53f036505689f7e0a0490e45 + + 4 + false + false + + + + false + + + + + + false + false + sys_hub_action_output + admin + 2025-10-28 14:34:05 + a2775c72533436505689f7e0a0490e7b + 85 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-28 17:51:07 + false + false + false + false + false + simple + false + script + + + false + + + + + true + false + false + element_mapping_provider=com.glide.flow_design.action.data.FlowDesignVariableMapper,uiType=json,uiTypeLabel=JSON,uiUniqueId=710037dc-6c5c-41e9-b833-594a7f59ad5b + false + + + + + + + + + + + + + false + false + + + + incident_list + + false + + + + false + + + + json + + false + 4000 + b785943e53f036505689f7e0a0490e45 + b785943e53f036505689f7e0a0490e45 + sys_hub_action_type_definition + var__m_sys_hub_action_output_b785943e53f036505689f7e0a0490e45 + + 2 + false + false + + + + false + + + + + + false + false + sys_hub_action_output + admin + 2025-10-28 16:20:06 + e3bfa476533836505689f7e0a0490e58 + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-28 16:20:06 + false + false + false + false + false + simple + false + script + + + false + + + + + + + b785943e53f036505689f7e0a0490e45 + admin + 2025-10-28 14:34:06 + f6775c72533436505689f7e0a0490e9a + 0 + admin + 2025-10-28 14:34:06 + + + + f6775c72533436505689f7e0a0490e9a + {{step[13af7237-d6b8-4d69-8e7f-ccc22f8d94d4].error_message}}=error^{{step[13af7237-d6b8-4d69-8e7f-ccc22f8d94d4].error_type}}=runtime + false + + + f6775c72533436505689f7e0a0490e9a + {{step[13af7237-d6b8-4d69-8e7f-ccc22f8d94d4].action_status}}=error^{{step[13af7237-d6b8-4d69-8e7f-ccc22f8d94d4].error_type}}=validation + false + + + assignment_group + + + + en + var__m_sys_hub_action_input_b785943e53f036505689f7e0a0490e45 + + sys_documentation + admin + 2025-10-28 14:34:05 + 26775c72533436505689f7e0a0490e57 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-28 14:34:05 + + + + + + incident_list + + + + en + var__m_sys_hub_action_output_b785943e53f036505689f7e0a0490e45 + + sys_documentation + admin + 2025-10-28 16:20:06 + 2bbfa476533836505689f7e0a0490e5d + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-28 16:20:06 + + + + + active_incident_count + + + + en + var__m_sys_hub_action_output_b785943e53f036505689f7e0a0490e45 + + sys_documentation + admin + 2025-10-28 15:02:11 + ceed5036537436505689f7e0a0490e83 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-28 15:02:11 + + + + + __action_status__ + + + + en + var__m_sys_hub_action_output_b785943e53f036505689f7e0a0490e45 + + sys_documentation + admin + 2025-10-28 14:34:05 + e2775c72533436505689f7e0a0490e6d + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-28 14:34:05 + + + + + __dont_treat_as_error__ + + + + en + var__m_sys_hub_action_output_b785943e53f036505689f7e0a0490e45 + + sys_documentation + admin + 2025-10-28 14:34:05 + ee775c72533436505689f7e0a0490e83 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-28 14:34:05 + + + + + + + b785943e53f036505689f7e0a0490e45 + {"type":"PlanProxy","persistor":{"@class":".ChunkingPlanPersistor","table":"sys_hub_action_plan","id":"546a743653b836505689f7e0a0490ed1","name":"plan","plan_signature":null}} + c19489b2533c36505689f7e0a0490e27 + admin + 2025-10-28 17:06:35 + global + / + 546a743653b836505689f7e0a0490ed1 + 1 + + + admin + 2025-10-28 17:51:10 + + + public + + + + + {labelCacheCleanUpExecuted=true} + 28100 + false + + + + + + check_incidents_for_assignment_group + [{"name":"{{action.assignment_group}}","label":"action➛Assignment Group","type":"action","ref":"","reference_display":"Group","base_type":"reference","parent_table_name":"","column_name":"","choices":null,"attributes":{"sourceId":"","uiTypeLabel":"Reference","element_mapping_provider":"com.glide.flow_design.action.data.FlowDesignVariableMapper","sourceUiUniqueId":"","sourceType":"","uiType":"reference","uiUniqueId":"423538d2-604d-46d9-9821-671eaa778aaa"}},{"name":"{{action.assignment_group.sys_id}}","label":"action➛Assignment Group➛Sys ID","type":"action","ref":"","reference_display":"Sys ID","base_type":"GUID","parent_table_name":"sys_user_group","column_name":"sys_id","choices":null,"attributes":{}},{"name":"{{step[13af7237-d6b8-4d69-8e7f-ccc22f8d94d4].active_incident_count}}","label":"step➛Script step➛Active Incident Count","type":"step","ref":"","reference_display":"","base_type":"integer","parent_table_name":"","column_name":"","choices":null,"attributes":{"uiTypeLabel":"Integer","element_mapping_provider":"com.glide.flow_design.action.data.FlowDesignVariableMapper","uiType":"integer","uiUniqueId":"a8a9d8d2-180c-475c-842c-7c10171cbb80"}},{"name":"{{step[13af7237-d6b8-4d69-8e7f-ccc22f8d94d4].incident_list}}","label":"step➛Script step➛Incident List","type":"step","ref":"","reference_display":"","base_type":"json","parent_table_name":"","column_name":"","choices":null,"attributes":{"uiTypeLabel":"JSON","element_mapping_provider":"com.glide.flow_design.action.data.FlowDesignVariableMapper","uiType":"json","uiUniqueId":"57c3da6d-6147-49bd-8d2e-59c29cd20433"}},{"name":"{{step[13af7237-d6b8-4d69-8e7f-ccc22f8d94d4].__step_status__.code}}","label":"step➛Script step➛Step Status➛Code","type":"step","ref":"","reference_display":"","base_type":"integer","parent_table_name":"","column_name":"","choices":null,"attributes":{}},{"name":"{{step[13af7237-d6b8-4d69-8e7f-ccc22f8d94d4].__step_status__.message}}","label":"step➛Script step➛Step Status➛Message","type":"step","ref":"","reference_display":"","base_type":"string","parent_table_name":"","column_name":"","choices":null,"attributes":{}},{"name":"{{step[13af7237-d6b8-4d69-8e7f-ccc22f8d94d4].action_status}}","label":"step➛Script step➛Action Status","type":"step","ref":"","reference_display":"","base_type":"string","parent_table_name":"","column_name":"","choices":null,"attributes":{"sourceId":"","sourceUiUniqueId":"","sourceType":""}},{"name":"{{step[13af7237-d6b8-4d69-8e7f-ccc22f8d94d4].error_message}}","label":"step➛Script step➛Error Message","type":"step","ref":"","reference_display":"","base_type":"string","parent_table_name":"","column_name":"","choices":null,"attributes":{"sourceId":"","sourceUiUniqueId":"","sourceType":""}},{"name":"{{step[13af7237-d6b8-4d69-8e7f-ccc22f8d94d4].error_type}}","label":"step➛Script step➛Error Type","type":"step","ref":"","reference_display":"","base_type":"string","parent_table_name":"","column_name":"","choices":null,"attributes":{"sourceId":"","sourceUiUniqueId":"","sourceType":""}}] + true + Check Incident Count For Assignment Group + + + + b785943e53f036505689f7e0a0490e45 + sys_hub_action_type_snapshot + admin + 2025-10-28 17:06:33 + global + / + 735a343653b836505689f7e0a0490e81 + 1 + + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-28 17:51:08 + false + + + + + + sys_hub_action_type_snapshot + 735a343653b836505689f7e0a0490e81 + 1 + sys_variable_value + admin + 2025-10-28 17:06:34 + 0c6a743653b836505689f7e0a0490e74 + 0 + admin + 2025-10-28 17:06:34 + + 886a743653b836505689f7e0a0490e1a + + + sys_hub_action_type_snapshot + 735a343653b836505689f7e0a0490e81 + 3 + sys_variable_value + admin + 2025-10-28 17:06:34 + 406a743653b836505689f7e0a0490e75 + 0 + admin + 2025-10-28 17:06:34 + {"version":"1.0","complexObject":{"code":{"$cv":{"$c":"java.lang.String","$v":""}},"message":{"$cv":{"$c":"java.lang.String","$v":""}}},"complexObjectSchema":{"FlowDesigner:FDACTIONSTATUS":{"code":"Integer","code.$field_facets":{"SimpleMapFacet":"{\"uiTypeLabel\":\"Integer\",\"read_only\":\"false\",\"hint\":\"\",\"uiType\":\"integer\",\"mapped\":\"{}\",\"default_value\":\"\",\"label\":\"Code\",\"action_error_output\":\"true\",\"mandatory\":\"false\",\"order\":\"1\",\"max_length\":\"40\"}"},"message":"String","message.$field_facets":{"SimpleMapFacet":"{\"uiTypeLabel\":\"String\",\"read_only\":\"false\",\"hint\":\"\",\"uiType\":\"string\",\"mapped\":\"{}\",\"default_value\":\"\",\"label\":\"Message\",\"action_error_output\":\"true\",\"mandatory\":\"false\",\"order\":\"2\",\"max_length\":\"4000\"}"}},"FlowDesigner:FDACTIONSTATUS.$type_facets":{"SimpleMapFacet":"{\"default_value\":\"\",\"label\":\"Action Status\",\"action_error_output\":\"true\",\"mandatory\":\"false\",\"uiUniqueId\":\"4adfb7bc-9d67-498d-88d0-8d6c3d584fed\",\"uiTypeLabel\":\"Object\",\"co_type_name\":\"FDACTIONSTATUS\",\"element_mapping_provider\":\"com.glide.flow_design.action.data.FlowDesignVariableMapper\",\"read_only\":\"false\",\"hint\":null,\"uiType\":\"object\",\"order\":\"1\",\"max_length\":\"65000\"}"}},"serializationFormat":"JSON"} + 846a743653b836505689f7e0a0490e29 + + + sys_hub_action_type_snapshot + 735a343653b836505689f7e0a0490e81 + 4 + sys_variable_value + admin + 2025-10-28 17:06:34 + c46a743653b836505689f7e0a0490e74 + 0 + admin + 2025-10-28 17:06:34 + 0 + 446a743653b836505689f7e0a0490e30 + + + + active_incident_count + 735a343653b836505689f7e0a0490e81 + admin + 2025-10-28 17:06:34 + 886a743653b836505689f7e0a0490e73 + 0 + admin + 2025-10-28 17:06:34 + var__m_sys_hub_action_output_735a343653b836505689f7e0a0490e81
+ {{step[13af7237-d6b8-4d69-8e7f-ccc22f8d94d4].active_incident_count}} +
+ + incident_list + 735a343653b836505689f7e0a0490e81 + admin + 2025-10-28 17:06:34 + 446a743653b836505689f7e0a0490e73 + 0 + admin + 2025-10-28 17:06:34 + var__m_sys_hub_action_output_735a343653b836505689f7e0a0490e81
+ {{step[13af7237-d6b8-4d69-8e7f-ccc22f8d94d4].incident_list}} +
+ + __action_status__ + 735a343653b836505689f7e0a0490e81 + admin + 2025-10-28 17:06:34 + 046a743653b836505689f7e0a0490e74 + 0 + admin + 2025-10-28 17:06:34 + var__m_sys_hub_action_output_735a343653b836505689f7e0a0490e81
+ +
+ + __dont_treat_as_error__ + 735a343653b836505689f7e0a0490e81 + admin + 2025-10-28 17:06:34 + cc6a743653b836505689f7e0a0490e73 + 0 + admin + 2025-10-28 17:06:34 + var__m_sys_hub_action_output_735a343653b836505689f7e0a0490e81
+ +
+ + + 735a343653b836505689f7e0a0490e81 + 13af7237-d6b8-4d69-8e7f-ccc22f8d94d4 + 1 + + + + + + + 1 + +
+ 106afb6647032200b4fad7527c9a71e7 + admin + 2025-10-28 17:06:33 + 7b5a343653b836505689f7e0a0490e96 + 2 + b812ceb69337a210633378917cba10bc + admin + 2025-10-28 17:51:09 + + + + sys_hub_step_instance + 7b5a343653b836505689f7e0a0490e96 + 400 + sys_variable_value + admin + 2025-10-28 17:06:33 + 8c6a743653b836505689f7e0a0490e12 + 0 + admin + 2025-10-28 17:06:33 + 35aa573fd7802200bdbaee5b5e610375 + f5e56d79b3101300176b051a16a8dce4 + + + sys_hub_step_instance + 7b5a343653b836505689f7e0a0490e96 + 600 + sys_variable_value + admin + 2025-10-28 17:06:33 + c06a743653b836505689f7e0a0490e13 + 1 + admin + 2025-10-28 17:51:09 + (function execute(inputs, outputs) { + // Validate Input Early (Fail-Fast) + if (!inputs.groupId) { + gs.warn("⚠️ Action aborted: No Assignment Group provided."); + + outputs.action_status = "error"; + outputs.error_message = "No Assignment Group provided. Please ensure 'groupId' input is mapped."; + outputs.error_type = "validation"; + return; + } + + try { + + var groupId = inputs.groupId; + var result = []; + var count = 0; + + + var gr = new GlideRecord('incident'); + gr.addQuery('assignment_group', groupId); + gr.addQuery('active', true); + gr.addQuery('state', '!=', 6); // exclude Resolved + gr.addQuery('state', '!=', 7); // exclude Closed + gr.query(); + + while (gr.next()) { + result.push({ + number: gr.getValue('number'), + sys_id: gr.getUniqueValue(), + state: gr.getDisplayValue('state'), + priority: gr.getDisplayValue('priority') + }); + count++; + } + + // Success Case + outputs.active_incident_count = count; + outputs.incident_list = JSON.stringify(result); + outputs.action_status = "success"; + outputs.error_message = ""; + + gs.info("✅ Retrieved " + count + " active incidents for group: " + groupId); + + } catch (e) { + // 🧩 5. Handle unexpected runtime errors + gs.error("❌ Error fetching active incidents: " + e); + + outputs.active_incident_count = 0; + outputs.incident_list = "[]"; + outputs.action_status = "error"; + outputs.error_type = "runtime"; + outputs.error_message = e.toString(); + } + +})(inputs, outputs); + + 71aa7f6647032200b4fad7527c9a719b + + + + application + 7b5a343653b836505689f7e0a0490e96 + admin + 2025-10-28 17:06:33 + 846a743653b836505689f7e0a0490e12 + 0 + admin + 2025-10-28 17:06:33 + var__m_sys_flow_step_definition_input_106afb6647032200b4fad7527c9a71e7
+ +
+ + groupId + 7b5a343653b836505689f7e0a0490e96 + admin + 2025-10-28 17:06:33 + 086a743653b836505689f7e0a0490e14 + 0 + admin + 2025-10-28 17:06:33 + var__m_sys_hub_step_ext_input_7b5a343653b836505689f7e0a0490e96
+ {{action.assignment_group}} +
+ + script + 7b5a343653b836505689f7e0a0490e96 + admin + 2025-10-28 17:06:33 + c86a743653b836505689f7e0a0490e12 + 0 + admin + 2025-10-28 17:06:33 + var__m_sys_flow_step_definition_input_106afb6647032200b4fad7527c9a71e7
+ +
+ + + + + + true + false + false + element_mapping_provider=com.glide.flow_design.action.data.FlowDesignVariableMapper,uiType=GUID,uiTypeLabel=Sys ID (GUID) + false + + + + + + + + + + + + + false + false + + + + groupId + false + + + + false + + + GUID + + true + 32 + 7b5a343653b836505689f7e0a0490e96 + 7b5a343653b836505689f7e0a0490e96 + sys_hub_step_instance + var__m_sys_hub_step_ext_input_7b5a343653b836505689f7e0a0490e96 + + 0 + false + false + + + + false + + + + + + false + false + sys_hub_step_ext_input + admin + 2025-10-28 17:06:33 + 3f5a343653b836505689f7e0a0490e9d + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-28 17:06:33 + false + false + false + false + false + simple + false + script + + + false + + + + true + false + false + element_mapping_provider=com.glide.flow_design.action.data.FlowDesignVariableMapper,uiType=string,uiTypeLabel=String,uiUniqueId=c7f52271-bb2c-4a3e-b14d-d12d3fa9e43c + false + + + + + + + + + + + + + false + false + + + + error_message + false + + + + false + + + string + + false + 8000 + 7b5a343653b836505689f7e0a0490e96 + 7b5a343653b836505689f7e0a0490e96 + sys_hub_step_instance + var__m_sys_hub_step_ext_output_7b5a343653b836505689f7e0a0490e96 + + 4 + false + false + + + + false + + + + + + false + false + sys_hub_step_ext_output + admin + 2025-10-28 17:06:33 + 3b5a343653b836505689f7e0a0490ef6 + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-28 17:06:33 + false + false + false + false + false + simple + false + script + + + false + + + true + false + false + element_mapping_provider=com.glide.flow_design.action.data.FlowDesignVariableMapper,uiType=string,uiTypeLabel=String,uiUniqueId=0f2a723c-8045-4ee8-bac9-5ffb844d80f1 + false + + + + + + + + + + + + + false + false + + + + error_type + false + + + + false + + + string + + false + 8000 + 7b5a343653b836505689f7e0a0490e96 + 7b5a343653b836505689f7e0a0490e96 + sys_hub_step_instance + var__m_sys_hub_step_ext_output_7b5a343653b836505689f7e0a0490e96 + + 5 + false + false + + + + false + + + + + + false + false + sys_hub_step_ext_output + admin + 2025-10-28 17:51:08 + 4d9449b2533c36505689f7e0a0490e94 + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-28 17:51:08 + false + false + false + false + false + simple + false + script + + + false + + + true + false + false + element_mapping_provider=com.glide.flow_design.action.data.FlowDesignVariableMapper,uiType=string,uiTypeLabel=String,uiUniqueId=ee8ba2b5-b9f4-42e3-abba-6f614ba3e05e + false + + + + + + + + + + + + + false + false + + + + action_status + false + + + + false + + + string + + false + 8000 + 7b5a343653b836505689f7e0a0490e96 + 7b5a343653b836505689f7e0a0490e96 + sys_hub_step_instance + var__m_sys_hub_step_ext_output_7b5a343653b836505689f7e0a0490e96 + + 3 + false + false + + + + false + + + + + + false + false + sys_hub_step_ext_output + admin + 2025-10-28 17:06:33 + 775a343653b836505689f7e0a0490ee4 + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-28 17:06:33 + false + false + false + false + false + simple + false + script + + + false + + + true + false + false + element_mapping_provider=com.glide.flow_design.action.data.FlowDesignVariableMapper,uiType=json,uiTypeLabel=JSON,uiUniqueId=57c3da6d-6147-49bd-8d2e-59c29cd20433 + false + + + + + + + + + + + + + false + false + + + + incident_list + false + + + + false + + + json + + false + 4000 + 7b5a343653b836505689f7e0a0490e96 + 7b5a343653b836505689f7e0a0490e96 + sys_hub_step_instance + var__m_sys_hub_step_ext_output_7b5a343653b836505689f7e0a0490e96 + + 2 + false + false + + + + false + + + + + + false + false + sys_hub_step_ext_output + admin + 2025-10-28 17:06:33 + 7b5a343653b836505689f7e0a0490ede + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-28 17:06:33 + false + false + false + false + false + simple + false + script + + + false + + + true + false + false + element_mapping_provider=com.glide.flow_design.action.data.FlowDesignVariableMapper,uiType=integer,uiTypeLabel=Integer,uiUniqueId=a8a9d8d2-180c-475c-842c-7c10171cbb80 + false + + + + + + + + + + + + + false + false + + + + active_incident_count + false + + + + false + + + integer + + false + 40 + 7b5a343653b836505689f7e0a0490e96 + 7b5a343653b836505689f7e0a0490e96 + sys_hub_step_instance + var__m_sys_hub_step_ext_output_7b5a343653b836505689f7e0a0490e96 + + 1 + false + false + + + + false + + + + + + false + false + sys_hub_step_ext_output + admin + 2025-10-28 17:06:33 + f75a343653b836505689f7e0a0490ed7 + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-28 17:06:33 + false + false + false + false + false + simple + false + script + + + false + + + + error_message + + + + en + var__m_sys_hub_step_ext_output_7b5a343653b836505689f7e0a0490e96 + + sys_documentation + admin + 2025-10-28 17:06:33 + 0c6a343653b836505689f7e0a0490efa + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-28 17:06:33 + + + + + active_incident_count + + + + en + var__m_sys_hub_step_ext_output_7b5a343653b836505689f7e0a0490e96 + + sys_documentation + admin + 2025-10-28 17:06:33 + 735a343653b836505689f7e0a0490edd + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-28 17:06:33 + + + + + action_status + + + + en + var__m_sys_hub_step_ext_output_7b5a343653b836505689f7e0a0490e96 + + sys_documentation + admin + 2025-10-28 17:06:33 + 7b5a343653b836505689f7e0a0490ee8 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-28 17:06:33 + + + + + incident_list + + + + en + var__m_sys_hub_step_ext_output_7b5a343653b836505689f7e0a0490e96 + + sys_documentation + admin + 2025-10-28 17:06:33 + 7f5a343653b836505689f7e0a0490ee2 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-28 17:06:33 + + + + + error_type + + + + en + var__m_sys_hub_step_ext_output_7b5a343653b836505689f7e0a0490e96 + + sys_documentation + admin + 2025-10-28 17:51:09 + 899449b2533c36505689f7e0a0490ea5 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-28 17:51:09 + + + + + + true + false + false + element_mapping_provider=com.glide.flow_design.action.data.FlowDesignVariableMapper,uiType=reference,uiTypeLabel=Reference,uiUniqueId=423538d2-604d-46d9-9821-671eaa778aaa + false + + + + sys_user_group + + + + + + + + + false + false + + + + assignment_group + false + + + + false + + + reference + + true + 32 + 735a343653b836505689f7e0a0490e81 + 735a343653b836505689f7e0a0490e81 + sys_hub_action_type_snapshot + var__m_sys_hub_action_input_735a343653b836505689f7e0a0490e81 + + 1 + false + false + + sys_user_group + + false + + + + + + false + false + sys_hub_action_input + admin + 2025-10-28 17:06:33 + bf5a343653b836505689f7e0a0490e85 + 1 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-28 17:06:33 + false + false + false + false + false + simple + false + script + + + false + + + + + true + false + false + action_error_output=true,element_mapping_provider=com.glide.flow_design.action.data.FlowDesignVariableMapper,uiType=boolean,uiTypeLabel=True/False,uiUniqueId=d48b9ecc-63b4-4625-ac52-b2772998b696,visible_in_ui=false + false + + + + + + + + true + + + + + false + false + + + + __dont_treat_as_error__ + + false + + + + false + + + + boolean + + false + 40 + 735a343653b836505689f7e0a0490e81 + 735a343653b836505689f7e0a0490e81 + sys_hub_action_type_snapshot + var__m_sys_hub_action_output_735a343653b836505689f7e0a0490e81 + + 4 + false + false + + + + false + + + + + + false + false + sys_hub_action_output + admin + 2025-10-28 17:06:34 + 446a743653b836505689f7e0a0490e30 + 3 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-28 17:51:09 + false + false + false + false + false + simple + false + script + + + false + + + + + true + false + false + action_error_output=true,co_type_name=FDACTIONSTATUS,element_mapping_provider=com.glide.flow_design.action.data.FlowDesignVariableMapper,uiType=object,uiTypeLabel=Object,uiUniqueId=2a1e83c4-a2f8-4e8a-ae42-a0e0905a1d09 + false + + + + + + + + + + + + + false + false + + + + __action_status__ + + false + + + + false + + + + string + + false + 65000 + 735a343653b836505689f7e0a0490e81 + 735a343653b836505689f7e0a0490e81 + sys_hub_action_type_snapshot + var__m_sys_hub_action_output_735a343653b836505689f7e0a0490e81 + + 3 + false + false + + + + false + + + + + + false + false + sys_hub_action_output + admin + 2025-10-28 17:06:33 + 846a743653b836505689f7e0a0490e29 + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-28 17:06:33 + false + false + false + false + false + simple + false + script + + + false + + + + + true + false + false + element_mapping_provider=com.glide.flow_design.action.data.FlowDesignVariableMapper,uiType=integer,uiTypeLabel=Integer,uiUniqueId=3c2c9ee1-fb5a-4858-9a2e-5c8dbd5e50fe + false + + + + + + + + + + + + + false + false + + + + active_incident_count + + false + + + + false + + + + integer + + false + 40 + 735a343653b836505689f7e0a0490e81 + 735a343653b836505689f7e0a0490e81 + sys_hub_action_type_snapshot + var__m_sys_hub_action_output_735a343653b836505689f7e0a0490e81 + + 1 + false + false + + + + false + + + + + + false + false + sys_hub_action_output + admin + 2025-10-28 17:06:33 + 886a743653b836505689f7e0a0490e1a + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-28 17:06:33 + false + false + false + false + false + simple + false + script + + + false + + + + + true + false + false + element_mapping_provider=com.glide.flow_design.action.data.FlowDesignVariableMapper,uiType=json,uiTypeLabel=JSON,uiUniqueId=710037dc-6c5c-41e9-b833-594a7f59ad5b + false + + + + + + + + + + + + + false + false + + + + incident_list + + false + + + + false + + + + json + + false + 4000 + 735a343653b836505689f7e0a0490e81 + 735a343653b836505689f7e0a0490e81 + sys_hub_action_type_snapshot + var__m_sys_hub_action_output_735a343653b836505689f7e0a0490e81 + + 2 + false + false + + + + false + + + + + + false + false + sys_hub_action_output + admin + 2025-10-28 17:06:33 + c86a743653b836505689f7e0a0490e22 + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-28 17:06:33 + false + false + false + false + false + simple + false + script + + + false + + + + + + + 735a343653b836505689f7e0a0490e81 + admin + 2025-10-28 17:06:34 + c06a743653b836505689f7e0a0490e78 + 0 + admin + 2025-10-28 17:06:34 + + + + c06a743653b836505689f7e0a0490e78 + {{step[13af7237-d6b8-4d69-8e7f-ccc22f8d94d4].action_status}}=error^{{step[13af7237-d6b8-4d69-8e7f-ccc22f8d94d4].error_type}}=validation + false + + + c06a743653b836505689f7e0a0490e78 + {{step[13af7237-d6b8-4d69-8e7f-ccc22f8d94d4].error_message}}=error^{{step[13af7237-d6b8-4d69-8e7f-ccc22f8d94d4].error_type}}=runtime + false + + + assignment_group + + + + en + var__m_sys_hub_action_input_735a343653b836505689f7e0a0490e81 + + sys_documentation + admin + 2025-10-28 17:06:33 + 3f5a343653b836505689f7e0a0490e8e + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-28 17:06:33 + + + + + + __action_status__ + + + + en + var__m_sys_hub_action_output_735a343653b836505689f7e0a0490e81 + + sys_documentation + admin + 2025-10-28 17:06:34 + 4c6a743653b836505689f7e0a0490e2e + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-28 17:06:34 + + + + + __dont_treat_as_error__ + + + + en + var__m_sys_hub_action_output_735a343653b836505689f7e0a0490e81 + + sys_documentation + admin + 2025-10-28 17:06:34 + 846a743653b836505689f7e0a0490e5e + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-28 17:06:34 + + + + + incident_list + + + + en + var__m_sys_hub_action_output_735a343653b836505689f7e0a0490e81 + + sys_documentation + admin + 2025-10-28 17:06:33 + 8c6a743653b836505689f7e0a0490e27 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-28 17:06:33 + + + + + active_incident_count + + + + en + var__m_sys_hub_action_output_735a343653b836505689f7e0a0490e81 + + sys_documentation + admin + 2025-10-28 17:06:33 + c06a743653b836505689f7e0a0490e21 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-28 17:06:33 + + + + + + b785943e53f036505689f7e0a0490e45 + 735a343653b836505689f7e0a0490e81 + glide-zurich-07-01-2025__patch2-09-24-2025_10-12-2025_0904.zip + +