From 34ccf8cb4c401ecc1cbc20ec2674f4228b1ab6b7 Mon Sep 17 00:00:00 2001 From: GokulkumarV Date: Thu, 16 Oct 2025 01:37:51 -0700 Subject: [PATCH] This action can be used when there is a scenario to launch approval from multiple groups in parallel. - Approval: Required from at least one person from each group. - Rejection: Anyone from the provided groups can reject Input: List of Groups Output: Approval rule, that can be used in an approval action --- ...ition_9aa864fa832cf210932c5529feaad332.xml | 1789 +++++++++++++++++ 1 file changed, 1789 insertions(+) create mode 100644 b812ceb69337a210633378917cba10bc/update/sys_hub_action_type_definition_9aa864fa832cf210932c5529feaad332.xml diff --git a/b812ceb69337a210633378917cba10bc/update/sys_hub_action_type_definition_9aa864fa832cf210932c5529feaad332.xml b/b812ceb69337a210633378917cba10bc/update/sys_hub_action_type_definition_9aa864fa832cf210932c5529feaad332.xml new file mode 100644 index 0000000..7bbac13 --- /dev/null +++ b/b812ceb69337a210633378917cba10bc/update/sys_hub_action_type_definition_9aa864fa832cf210932c5529feaad332.xml @@ -0,0 +1,1789 @@ + + + public + + + + true + + {labelCacheCleanUpExecuted=true} + 28100 + false + + + + This action can be used when there is a scenario to launch approval from multiple groups in parallel. +- Approval: Required from at least one person from each group. +- Rejection: Anyone from the provided groups can reject + +Input: List of Groups +Output: Approval rule, that can be used in an approval action + + false + parallel_approval_rule + [{"name":"{{action.variable}}","label":"action➛variable","type":"action","ref":"","reference_display":"","base_type":"table_name","parent_table_name":"","column_name":"","choices":null,"attributes":{}},{"name":"{{action.record}}","label":"action➛Record","type":"action","ref":"","reference_display":"","base_type":"document_id","parent_table_name":"","column_name":"","choices":null,"attributes":{}},{"name":"{{action.table}}","label":"action➛Table","type":"action","ref":"","reference_display":"","base_type":"table_name","parent_table_name":"","column_name":"","choices":null,"attributes":{}},{"name":"{{action.approval_groups}}","label":"action➛Approval Groups","type":"action","ref":"","reference_display":"Group","base_type":"glide_list","parent_table_name":"","column_name":"","choices":null,"attributes":{}},{"name":"{{step[a42434b1-a4c8-49e8-8ff2-c8ef06894a68].approval_rules}}","label":"step➛Define Approval Rule➛Approval Rules","type":"step","ref":"","reference_display":"","base_type":"string","parent_table_name":"","column_name":"","choices":null,"attributes":{"uiTypeLabel":"String","element_mapping_provider":"com.glide.flow_design.action.data.FlowDesignVariableMapper","uiType":"string","uiUniqueId":"67d500e3-4e5a-4a7a-8278-a422affc261a"}}] + 678174fa83acf210932c5529feaad39f + + Parallel Approval Rule + + + + false + published + sys_hub_action_type_definition + GokulkumarV + 2025-10-16 05:33:29 + global + / + 9aa864fa832cf210932c5529feaad332 + 80 + Parallel Approval Rule + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + sys_hub_action_type_definition_9aa864fa832cf210932c5529feaad332 + GokulkumarV + 2025-10-16 08:36:23 + false + + + + + + sys_hub_action_type_definition + 9aa864fa832cf210932c5529feaad332 + 1 + sys_variable_value + GokulkumarV + 2025-10-16 05:38:34 + 49d928fe832cf210932c5529feaad3e7 + 0 + GokulkumarV + 2025-10-16 05:38:34 + {"version":"1.0","complexObjectSchema":{"FlowDesigner:FDACTIONSTATUS":{"code":"Integer","code.$field_facets":{"SimpleMapFacet":"{\"uiTypeLabel\":\"Integer\",\"read_only\":\"false\",\"hint\":\"\",\"uiType\":\"integer\",\"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\",\"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\":\"794bc342-9c9d-444b-a3f2-dd4b6a5a0173\",\"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\"}"}},"complexObject":{"code":{"$cv":{"$c":"java.lang.String","$v":""}},"message":{"$cv":{"$c":"java.lang.String","$v":""}}},"serializationFormat":"JSON"} + 94d928fe832cf210932c5529feaad3bb + + + sys_hub_action_type_definition + 9aa864fa832cf210932c5529feaad332 + 2 + sys_variable_value + GokulkumarV + 2025-10-16 05:38:34 + 85d928fe832cf210932c5529feaad3e7 + 0 + GokulkumarV + 2025-10-16 05:38:34 + 0 + e4d928fe832cf210932c5529feaad3c3 + + + + approval_rules + 9aa864fa832cf210932c5529feaad332 + GokulkumarV + 2025-10-16 06:11:58 + 9e71fcba83acf210932c5529feaad398 + 0 + GokulkumarV + 2025-10-16 06:11:58 + var__m_sys_hub_action_output_9aa864fa832cf210932c5529feaad332
+ {{step[a42434b1-a4c8-49e8-8ff2-c8ef06894a68].approval_rules}} +
+ + __action_status__ + 9aa864fa832cf210932c5529feaad332 + GokulkumarV + 2025-10-16 05:38:34 + 05d928fe832cf210932c5529feaad3e7 + 0 + GokulkumarV + 2025-10-16 05:38:34 + var__m_sys_hub_action_output_9aa864fa832cf210932c5529feaad332
+ +
+ + __dont_treat_as_error__ + 9aa864fa832cf210932c5529feaad332 + GokulkumarV + 2025-10-16 05:38:34 + 41d928fe832cf210932c5529feaad3e7 + 0 + GokulkumarV + 2025-10-16 05:38:34 + var__m_sys_hub_action_output_9aa864fa832cf210932c5529feaad332
+ +
+ + + 9aa864fa832cf210932c5529feaad332 + a42434b1-a4c8-49e8-8ff2-c8ef06894a68 + 1 + + + + + + + 1 + +
+ 106afb6647032200b4fad7527c9a71e7 + GokulkumarV + 2025-10-16 05:38:31 + 9cd928fe832cf210932c5529feaad3aa + 20 + b812ceb69337a210633378917cba10bc + GokulkumarV + 2025-10-16 08:36:21 + + + + sys_hub_step_instance + 9cd928fe832cf210932c5529feaad3aa + 400 + sys_variable_value + GokulkumarV + 2025-10-16 05:38:32 + 54d928fe832cf210932c5529feaad3b8 + 0 + GokulkumarV + 2025-10-16 05:38:32 + 35aa573fd7802200bdbaee5b5e610375 + f5e56d79b3101300176b051a16a8dce4 + + + sys_hub_step_instance + 9cd928fe832cf210932c5529feaad3aa + 600 + sys_variable_value + GokulkumarV + 2025-10-16 05:38:32 + 9cd928fe832cf210932c5529feaad3b8 + 17 + GokulkumarV + 2025-10-16 08:36:21 + (function execute(inputs, outputs) { + // ... code ... + + var approvalGroups = inputs.approval_groups; + var approvalRules = ''; + var approvalGroupsSysIDs = []; + + while (approvalGroups.next()) { + var grpRecSysID = approvalGroups.getUniqueValue(); + approvalGroupsSysIDs.push(grpRecSysID); + + if (gs.nil(approvalRules)) + approvalRules = 'ApprovesAnyG[' + grpRecSysID + ']'; + else + approvalRules = approvalRules + '&ApprovesAnyG[' + grpRecSysID + ']'; + } + + approvalRules = approvalRules + 'OrRejectsAnyG[' + approvalGroupsSysIDs + ']'; + outputs.approval_rules = approvalRules; + +})(inputs, outputs); + 71aa7f6647032200b4fad7527c9a719b + + + + application + 9cd928fe832cf210932c5529feaad3aa + GokulkumarV + 2025-10-16 05:38:32 + 1cd928fe832cf210932c5529feaad3b7 + 0 + GokulkumarV + 2025-10-16 05:38:32 + var__m_sys_flow_step_definition_input_106afb6647032200b4fad7527c9a71e7
+ +
+ + approval_groups + 9cd928fe832cf210932c5529feaad3aa + GokulkumarV + 2025-10-16 06:09:08 + e8d0b83a83acf210932c5529feaad31a + 0 + GokulkumarV + 2025-10-16 06:09:08 + var__m_sys_hub_step_ext_input_9cd928fe832cf210932c5529feaad3aa
+ {{action.approval_groups}} +
+ + group_records + 9cd928fe832cf210932c5529feaad3aa + GokulkumarV + 2025-10-16 08:19:17 + 1f9ec17e83643610932c5529feaad338 + 0 + GokulkumarV + 2025-10-16 08:19:17 + var__m_sys_hub_step_ext_input_9cd928fe832cf210932c5529feaad3aa
+ {{step[405fdffe-9bdd-41ba-966f-6eb9cbe5f1b8].records}} +
+ + script + 9cd928fe832cf210932c5529feaad3aa + GokulkumarV + 2025-10-16 05:38:32 + d0d928fe832cf210932c5529feaad3b8 + 0 + GokulkumarV + 2025-10-16 05:38:32 + var__m_sys_flow_step_definition_input_106afb6647032200b4fad7527c9a71e7
+ +
+ + + + + + true + false + false + element_mapping_provider=com.glide.flow_design.action.data.FlowDesignVariableMapper,uiType=glide_list,uiTypeLabel=List + false + + + + + + + + + + + + + false + false + + + + approval_groups + false + + + + false + + + glide_list + + + + true + false + false + element_mapping_provider=com.glide.flow_design.action.data.FlowDesignVariableMapper,uiType=string,uiTypeLabel=String,uiUniqueId=67d500e3-4e5a-4a7a-8278-a422affc261a + false + + + + + + + + + + + + + false + false + + + + approval_rules + false + + + + false + + + string + + true + 8000 + 9cd928fe832cf210932c5529feaad3aa + 9cd928fe832cf210932c5529feaad3aa + sys_hub_step_instance + var__m_sys_hub_step_ext_output_9cd928fe832cf210932c5529feaad3aa + + 1 + false + false + + + + false + + + + + + false + false + sys_hub_step_ext_output + GokulkumarV + 2025-10-16 06:09:07 + a0d0783a83acf210932c5529feaad3b7 + 0 + + + + b812ceb69337a210633378917cba10bc + + GokulkumarV + 2025-10-16 06:09:07 + false + false + false + false + false + simple + false + script + + + false + + + + approval_rules + + + + en + var__m_sys_hub_step_ext_output_9cd928fe832cf210932c5529feaad3aa + + sys_documentation + GokulkumarV + 2025-10-16 06:09:07 + e8d0783a83acf210932c5529feaad3ba + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + GokulkumarV + 2025-10-16 06:09:07 + + + + + + true + false + false + element_mapping_provider=com.glide.flow_design.action.data.FlowDesignVariableMapper,uiType=glide_list,uiTypeLabel=List,uiUniqueId=b0ac4103-e926-4bae-bea4-f807d77099ad + false + + + + sys_user_group + + + + + + + + + false + false + + + + approval_groups + false + + + + false + + + glide_list + + true + 1024 + 9aa864fa832cf210932c5529feaad332 + 9aa864fa832cf210932c5529feaad332 + sys_hub_action_type_definition + var__m_sys_hub_action_input_9aa864fa832cf210932c5529feaad332 + + 1 + false + false + + sys_user_group + + false + + + + + + false + false + sys_hub_action_input + GokulkumarV + 2025-10-16 06:04:15 + 15bfe83683acf210932c5529feaad350 + 2 + + + + b812ceb69337a210633378917cba10bc + + GokulkumarV + 2025-10-16 06:11:08 + false + false + false + false + false + simple + false + script + + + false + + + + + true + false + false + element_mapping_provider=com.glide.flow_design.action.data.FlowDesignVariableMapper,pwd2droppable=true,uiType=string,uiTypeLabel=String,uiUniqueId=a16eb660-0da3-41a6-8bd1-cb603bc1e375 + false + + + + + + + + + + + + + false + false + + + + approval_rules + + false + + + + false + + + + string + + true + 8000 + 9aa864fa832cf210932c5529feaad332 + 9aa864fa832cf210932c5529feaad332 + sys_hub_action_type_definition + var__m_sys_hub_action_output_9aa864fa832cf210932c5529feaad332 + + 2 + false + false + + + + false + + + + + + false + false + sys_hub_action_output + GokulkumarV + 2025-10-16 06:11:58 + 8671fcba83acf210932c5529feaad37f + 0 + + + + b812ceb69337a210633378917cba10bc + + GokulkumarV + 2025-10-16 06:11: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=5d16c14d-89a8-4c90-be78-097d6f878ed1 + false + + + + + + + + + + + + + false + false + + + + __action_status__ + + false + + + + false + + + + string + + false + 65000 + 9aa864fa832cf210932c5529feaad332 + 9aa864fa832cf210932c5529feaad332 + sys_hub_action_type_definition + var__m_sys_hub_action_output_9aa864fa832cf210932c5529feaad332 + + 1 + false + false + + + + false + + + + + + false + false + sys_hub_action_output + GokulkumarV + 2025-10-16 05:38:32 + 94d928fe832cf210932c5529feaad3bb + 0 + + + + b812ceb69337a210633378917cba10bc + + GokulkumarV + 2025-10-16 05:38:32 + 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=aae2053a-fa22-482c-97e0-4d907275fde8,visible_in_ui=false + false + + + + + + + + true + + + + + false + false + + + + __dont_treat_as_error__ + + false + + + + false + + + + boolean + + false + 40 + 9aa864fa832cf210932c5529feaad332 + 9aa864fa832cf210932c5529feaad332 + sys_hub_action_type_definition + var__m_sys_hub_action_output_9aa864fa832cf210932c5529feaad332 + + 3 + false + false + + + + false + + + + + + false + false + sys_hub_action_output + GokulkumarV + 2025-10-16 05:38:32 + e4d928fe832cf210932c5529feaad3c3 + 55 + + + + b812ceb69337a210633378917cba10bc + + GokulkumarV + 2025-10-16 08:36:21 + false + false + false + false + false + simple + false + script + + + false + + + + + + + 9aa864fa832cf210932c5529feaad332 + GokulkumarV + 2025-10-16 05:38:34 + 41d928fe832cf210932c5529feaad3e9 + 0 + GokulkumarV + 2025-10-16 05:38:34 + + + + approval_groups + + + + en + var__m_sys_hub_action_input_9aa864fa832cf210932c5529feaad332 + + sys_documentation + GokulkumarV + 2025-10-16 06:04:16 + d9bfe83683acf210932c5529feaad355 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + GokulkumarV + 2025-10-16 06:04:16 + + + + + + approval_rules + + + + en + var__m_sys_hub_action_output_9aa864fa832cf210932c5529feaad332 + + sys_documentation + GokulkumarV + 2025-10-16 06:11:58 + 1e71fcba83acf210932c5529feaad382 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + GokulkumarV + 2025-10-16 06:11:58 + + + + + __action_status__ + + + + en + var__m_sys_hub_action_output_9aa864fa832cf210932c5529feaad332 + + sys_documentation + GokulkumarV + 2025-10-16 05:38:32 + 2cd928fe832cf210932c5529feaad3c2 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + GokulkumarV + 2025-10-16 05:38:32 + + + + + __dont_treat_as_error__ + + + + en + var__m_sys_hub_action_output_9aa864fa832cf210932c5529feaad332 + + sys_documentation + GokulkumarV + 2025-10-16 05:38:34 + 85d928fe832cf210932c5529feaad3e2 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + GokulkumarV + 2025-10-16 05:38:34 + + + + + + + 9aa864fa832cf210932c5529feaad332 + {"type":"PlanProxy","persistor":{"@class":".ChunkingPlanPersistor","table":"sys_hub_action_plan","id":"8c91b4fa83acf210932c5529feaad3a3","name":"plan","plan_signature":null}} + 6182113e83a43610932c5529feaad387 + GokulkumarV + 2025-10-16 06:12:22 + global + / + 8c91b4fa83acf210932c5529feaad3a3 + 15 + + + GokulkumarV + 2025-10-16 08:36:23 + + + public + + + + + {labelCacheCleanUpExecuted=true} + 28100 + false + + + + This action can be used when there is a scenario to launch approval from multiple groups in parallel. +- Approval: Required from at least one person from each group. +- Rejection: Anyone from the provided groups can reject + +Input: List of Groups +Output: Approval rule, that can be used in an approval action + + parallel_approval_rule + [{"name":"{{action.variable}}","label":"action➛variable","type":"action","ref":"","reference_display":"","base_type":"table_name","parent_table_name":"","column_name":"","choices":null,"attributes":{}},{"name":"{{action.record}}","label":"action➛Record","type":"action","ref":"","reference_display":"","base_type":"document_id","parent_table_name":"","column_name":"","choices":null,"attributes":{}},{"name":"{{action.table}}","label":"action➛Table","type":"action","ref":"","reference_display":"","base_type":"table_name","parent_table_name":"","column_name":"","choices":null,"attributes":{}},{"name":"{{action.approval_groups}}","label":"action➛Approval Groups","type":"action","ref":"","reference_display":"Group","base_type":"glide_list","parent_table_name":"","column_name":"","choices":null,"attributes":{}},{"name":"{{step[a42434b1-a4c8-49e8-8ff2-c8ef06894a68].approval_rules}}","label":"step➛Define Approval Rule➛Approval Rules","type":"step","ref":"","reference_display":"","base_type":"string","parent_table_name":"","column_name":"","choices":null,"attributes":{"uiTypeLabel":"String","element_mapping_provider":"com.glide.flow_design.action.data.FlowDesignVariableMapper","uiType":"string","uiUniqueId":"67d500e3-4e5a-4a7a-8278-a422affc261a"}}] + true + Parallel Approval Rule + + + + 9aa864fa832cf210932c5529feaad332 + sys_hub_action_type_snapshot + GokulkumarV + 2025-10-16 06:12:20 + global + / + 678174fa83acf210932c5529feaad39f + 2 + + + + + b812ceb69337a210633378917cba10bc + + GokulkumarV + 2025-10-16 08:30:29 + false + + + + + + sys_hub_action_type_snapshot + 678174fa83acf210932c5529feaad39f + 1 + sys_variable_value + GokulkumarV + 2025-10-16 06:12:21 + 738174fa83acf210932c5529feaad3e4 + 0 + GokulkumarV + 2025-10-16 06:12:21 + {"version":"1.0","complexObjectSchema":{"FlowDesigner:FDACTIONSTATUS":{"code":"Integer","code.$field_facets":{"SimpleMapFacet":"{\"uiTypeLabel\":\"Integer\",\"read_only\":\"false\",\"hint\":\"\",\"uiType\":\"integer\",\"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\",\"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\":\"794bc342-9c9d-444b-a3f2-dd4b6a5a0173\",\"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\"}"}},"complexObject":{"code":{"$cv":{"$c":"java.lang.String","$v":""}},"message":{"$cv":{"$c":"java.lang.String","$v":""}}},"serializationFormat":"JSON"} + f78174fa83acf210932c5529feaad3d1 + + + sys_hub_action_type_snapshot + 678174fa83acf210932c5529feaad39f + 3 + sys_variable_value + GokulkumarV + 2025-10-16 06:12:21 + bf8174fa83acf210932c5529feaad3e3 + 0 + GokulkumarV + 2025-10-16 06:12:21 + 0 + fb8174fa83acf210932c5529feaad3d9 + + + + approval_rules + 678174fa83acf210932c5529feaad39f + GokulkumarV + 2025-10-16 06:12:21 + 3f8174fa83acf210932c5529feaad3e3 + 0 + GokulkumarV + 2025-10-16 06:12:21 + var__m_sys_hub_action_output_678174fa83acf210932c5529feaad39f
+ {{step[a42434b1-a4c8-49e8-8ff2-c8ef06894a68].approval_rules}} +
+ + __action_status__ + 678174fa83acf210932c5529feaad39f + GokulkumarV + 2025-10-16 06:12:21 + 7b8174fa83acf210932c5529feaad3e3 + 0 + GokulkumarV + 2025-10-16 06:12:21 + var__m_sys_hub_action_output_678174fa83acf210932c5529feaad39f
+ +
+ + __dont_treat_as_error__ + 678174fa83acf210932c5529feaad39f + GokulkumarV + 2025-10-16 06:12:21 + b78174fa83acf210932c5529feaad3e3 + 0 + GokulkumarV + 2025-10-16 06:12:21 + var__m_sys_hub_action_output_678174fa83acf210932c5529feaad39f
+ +
+ + + 678174fa83acf210932c5529feaad39f + a42434b1-a4c8-49e8-8ff2-c8ef06894a68 + 1 + + + + + + + 1 + +
+ 106afb6647032200b4fad7527c9a71e7 + GokulkumarV + 2025-10-16 06:12:21 + b38174fa83acf210932c5529feaad3ad + 18 + b812ceb69337a210633378917cba10bc + GokulkumarV + 2025-10-16 08:36:23 + + + + sys_hub_step_instance + b38174fa83acf210932c5529feaad3ad + 400 + sys_variable_value + GokulkumarV + 2025-10-16 06:12:21 + 338174fa83acf210932c5529feaad3c0 + 0 + GokulkumarV + 2025-10-16 06:12:21 + 35aa573fd7802200bdbaee5b5e610375 + f5e56d79b3101300176b051a16a8dce4 + + + sys_hub_step_instance + b38174fa83acf210932c5529feaad3ad + 600 + sys_variable_value + GokulkumarV + 2025-10-16 06:12:21 + ff8174fa83acf210932c5529feaad3cc + 15 + GokulkumarV + 2025-10-16 08:36:23 + (function execute(inputs, outputs) { + // ... code ... + + var approvalGroups = inputs.approval_groups; + var approvalRules = ''; + var approvalGroupsSysIDs = []; + + while (approvalGroups.next()) { + var grpRecSysID = approvalGroups.getUniqueValue(); + approvalGroupsSysIDs.push(grpRecSysID); + + if (gs.nil(approvalRules)) + approvalRules = 'ApprovesAnyG[' + grpRecSysID + ']'; + else + approvalRules = approvalRules + '&ApprovesAnyG[' + grpRecSysID + ']'; + } + + approvalRules = approvalRules + 'OrRejectsAnyG[' + approvalGroupsSysIDs + ']'; + outputs.approval_rules = approvalRules; + +})(inputs, outputs); + 71aa7f6647032200b4fad7527c9a719b + + + + application + b38174fa83acf210932c5529feaad3ad + GokulkumarV + 2025-10-16 06:12:21 + fb8174fa83acf210932c5529feaad3bf + 0 + GokulkumarV + 2025-10-16 06:12:21 + var__m_sys_flow_step_definition_input_106afb6647032200b4fad7527c9a71e7
+ +
+ + approval_groups + b38174fa83acf210932c5529feaad3ad + GokulkumarV + 2025-10-16 06:12:21 + bb8174fa83acf210932c5529feaad3cd + 0 + GokulkumarV + 2025-10-16 06:12:21 + var__m_sys_hub_step_ext_input_b38174fa83acf210932c5529feaad3ad
+ {{action.approval_groups}} +
+ + group_records + b38174fa83acf210932c5529feaad3ad + GokulkumarV + 2025-10-16 08:19:19 + 3b9e057e83643610932c5529feaad31c + 0 + GokulkumarV + 2025-10-16 08:19:19 + var__m_sys_hub_step_ext_input_b38174fa83acf210932c5529feaad3ad
+ {{step[405fdffe-9bdd-41ba-966f-6eb9cbe5f1b8].records}} +
+ + script + b38174fa83acf210932c5529feaad3ad + GokulkumarV + 2025-10-16 06:12:21 + bf8174fa83acf210932c5529feaad3bf + 0 + GokulkumarV + 2025-10-16 06:12:21 + var__m_sys_flow_step_definition_input_106afb6647032200b4fad7527c9a71e7
+ +
+ + + + + + true + false + false + element_mapping_provider=com.glide.flow_design.action.data.FlowDesignVariableMapper,uiType=glide_list,uiTypeLabel=List + false + + + + + + + + + + + + + false + false + + + + approval_groups + false + + + + false + + + glide_list + + true + 1024 + b38174fa83acf210932c5529feaad3ad + b38174fa83acf210932c5529feaad3ad + sys_hub_step_instance + var__m_sys_hub_step_ext_input_b38174fa83acf210932c5529feaad3ad + + 0 + false + false + + sys_user_group + + false + + + + + + false + false + sys_hub_step_ext_input + GokulkumarV + 2025-10-16 06:12:21 + bb8174fa83acf210932c5529feaad3b1 + 0 + + + + b812ceb69337a210633378917cba10bc + + GokulkumarV + 2025-10-16 06:12:21 + 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=67d500e3-4e5a-4a7a-8278-a422affc261a + false + + + + + + + + + + + + + false + false + + + + approval_rules + false + + + + false + + + string + + true + 8000 + b38174fa83acf210932c5529feaad3ad + b38174fa83acf210932c5529feaad3ad + sys_hub_step_instance + var__m_sys_hub_step_ext_output_b38174fa83acf210932c5529feaad3ad + + 1 + false + false + + + + false + + + + + + false + false + sys_hub_step_ext_output + GokulkumarV + 2025-10-16 06:12:21 + 738174fa83acf210932c5529feaad3b6 + 0 + + + + b812ceb69337a210633378917cba10bc + + GokulkumarV + 2025-10-16 06:12:21 + false + false + false + false + false + simple + false + script + + + false + + + + approval_rules + + + + en + var__m_sys_hub_step_ext_output_b38174fa83acf210932c5529feaad3ad + + sys_documentation + GokulkumarV + 2025-10-16 06:12:21 + f38174fa83acf210932c5529feaad3b9 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + GokulkumarV + 2025-10-16 06:12:21 + + + + + + true + false + false + element_mapping_provider=com.glide.flow_design.action.data.FlowDesignVariableMapper,uiType=glide_list,uiTypeLabel=List,uiUniqueId=b0ac4103-e926-4bae-bea4-f807d77099ad + false + + + + sys_user_group + + + + + + + + + false + false + + + + approval_groups + false + + + + false + + + glide_list + + true + 1024 + 678174fa83acf210932c5529feaad39f + 678174fa83acf210932c5529feaad39f + sys_hub_action_type_snapshot + var__m_sys_hub_action_input_678174fa83acf210932c5529feaad39f + + 1 + false + false + + sys_user_group + + false + + + + + + false + false + sys_hub_action_input + GokulkumarV + 2025-10-16 06:12:20 + a78174fa83acf210932c5529feaad3a2 + 1 + + + + b812ceb69337a210633378917cba10bc + + GokulkumarV + 2025-10-16 06:12:20 + false + false + false + false + false + simple + false + script + + + false + + + + + true + false + false + element_mapping_provider=com.glide.flow_design.action.data.FlowDesignVariableMapper,pwd2droppable=true,uiType=string,uiTypeLabel=String,uiUniqueId=a16eb660-0da3-41a6-8bd1-cb603bc1e375 + false + + + + + + + + + + + + + false + false + + + + approval_rules + + false + + + + false + + + + string + + true + 8000 + 678174fa83acf210932c5529feaad39f + 678174fa83acf210932c5529feaad39f + sys_hub_action_type_snapshot + var__m_sys_hub_action_output_678174fa83acf210932c5529feaad39f + + 2 + false + false + + + + false + + + + + + false + false + sys_hub_action_output + GokulkumarV + 2025-10-16 06:12:21 + 338174fa83acf210932c5529feaad3d6 + 0 + + + + b812ceb69337a210633378917cba10bc + + GokulkumarV + 2025-10-16 06:12:21 + 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=5d16c14d-89a8-4c90-be78-097d6f878ed1 + false + + + + + + + + + + + + + false + false + + + + __action_status__ + + false + + + + false + + + + string + + false + 65000 + 678174fa83acf210932c5529feaad39f + 678174fa83acf210932c5529feaad39f + sys_hub_action_type_snapshot + var__m_sys_hub_action_output_678174fa83acf210932c5529feaad39f + + 1 + false + false + + + + false + + + + + + false + false + sys_hub_action_output + GokulkumarV + 2025-10-16 06:12:21 + f78174fa83acf210932c5529feaad3d1 + 0 + + + + b812ceb69337a210633378917cba10bc + + GokulkumarV + 2025-10-16 06:12:21 + 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=aae2053a-fa22-482c-97e0-4d907275fde8,visible_in_ui=false + false + + + + + + + + true + + + + + false + false + + + + __dont_treat_as_error__ + + false + + + + false + + + + boolean + + false + 40 + 678174fa83acf210932c5529feaad39f + 678174fa83acf210932c5529feaad39f + sys_hub_action_type_snapshot + var__m_sys_hub_action_output_678174fa83acf210932c5529feaad39f + + 3 + false + false + + + + false + + + + + + false + false + sys_hub_action_output + GokulkumarV + 2025-10-16 06:12:21 + fb8174fa83acf210932c5529feaad3d9 + 31 + + + + b812ceb69337a210633378917cba10bc + + GokulkumarV + 2025-10-16 08:36:23 + false + false + false + false + false + simple + false + script + + + false + + + + + + + 678174fa83acf210932c5529feaad39f + GokulkumarV + 2025-10-16 06:12:21 + 3f8174fa83acf210932c5529feaad3e5 + 0 + GokulkumarV + 2025-10-16 06:12:21 + + + + approval_groups + + + + en + var__m_sys_hub_action_input_678174fa83acf210932c5529feaad39f + + sys_documentation + GokulkumarV + 2025-10-16 06:12:20 + 738174fa83acf210932c5529feaad3a8 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + GokulkumarV + 2025-10-16 06:12:20 + + + + + + approval_rules + + + + en + var__m_sys_hub_action_output_678174fa83acf210932c5529feaad39f + + sys_documentation + GokulkumarV + 2025-10-16 06:12:21 + 338174fa83acf210932c5529feaad3d9 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + GokulkumarV + 2025-10-16 06:12:21 + + + + + __action_status__ + + + + en + var__m_sys_hub_action_output_678174fa83acf210932c5529feaad39f + + sys_documentation + GokulkumarV + 2025-10-16 06:12:21 + 778174fa83acf210932c5529feaad3d5 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + GokulkumarV + 2025-10-16 06:12:21 + + + + + __dont_treat_as_error__ + + + + en + var__m_sys_hub_action_output_678174fa83acf210932c5529feaad39f + + sys_documentation + GokulkumarV + 2025-10-16 06:12:21 + 7b8174fa83acf210932c5529feaad3de + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + GokulkumarV + 2025-10-16 06:12:21 + + + + + + 9aa864fa832cf210932c5529feaad332 + 678174fa83acf210932c5529feaad39f + glide-zurich-07-01-2025__patch1-08-20-2025_09-08-2025_1328.zip + +