From 614c16a079f5bafbc54c20e4095a1468a51437bd Mon Sep 17 00:00:00 2001 From: admin Date: Sun, 5 Oct 2025 16:53:06 -0700 Subject: [PATCH 1/3] Action o Calculate Compound Interest --- b812ceb69337a210633378917cba10bc/README.md | 2 +- b812ceb69337a210633378917cba10bc/checksum.txt | 3 +- ...ition_ab76b3df47d0be100b315003846d43e8.xml | 3897 +++++++++++++++++ 3 files changed, 3899 insertions(+), 3 deletions(-) create mode 100644 b812ceb69337a210633378917cba10bc/update/sys_hub_action_type_definition_ab76b3df47d0be100b315003846d43e8.xml diff --git a/b812ceb69337a210633378917cba10bc/README.md b/b812ceb69337a210633378917cba10bc/README.md index 1aa7e3e..05cd6fa 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/checksum.txt b/b812ceb69337a210633378917cba10bc/checksum.txt index 9328206..c100f34 100644 --- a/b812ceb69337a210633378917cba10bc/checksum.txt +++ b/b812ceb69337a210633378917cba10bc/checksum.txt @@ -1,2 +1 @@ -2C-lvfLLM-H6agSoyHr-eHi-FwOPoP8_eduE-rn-JNlLWFzI9P1WZBtvLBejaDBADDCqLJuKo6xxR10MuVkHs7tKfiGgQuSN5zHsHfkH1V0COXVZYzxBzatWun8N5qsAkx5Y5eUd_Opm8GHo-oiihewaObG_arZ6xlkW9n9bL1N9kk7PXYePrHaQX0HkSxp4Y4s2I5QVobIzsACYiDiqXPqkDbHVDVupMGioSoVK5jw_dzfLLngwV5PyxxD5ecC-wePXydkZv5DmGhnEvEsfzbn35WcP4Xv5wA5KVDFDu-aNWY00Y_SH7iUFtp3xgnrsp3WZcm0_wk3raUlTJKtiIIQTZosB7sV5ooJcIPZVoUeCh54t2drkmtx8KoMRdi8ATAY4jwROCEOWvkuP0mqTmumXwtqn_3QfeT42WfFlzNGXU1MTkSQz2ZTY2t60BTxLuwan6hdKc123-jW6ADVXfhUvBrkyWxJ1Fw1f98gtkTe6DdWHaA2TmM7p9Z3-q8HHrkM5dwO_Z81ReUrKGfsLNYMQY4C7Wx_byyZcJi-IzSSzAJeDSSdqF9-Gn0_xLEMKchKli-EYSLosR6FnlOz46kHhpzX-OK6fd48DURDX_-PbPJhf8CnyS0Wz_zNc6ucCl6h57GJNRmpB9e7NcfiWTf8iKtt65Jq5h0nZzjYkzw4 -qaVR1XcG782OmVlxN0JspsRu4Dj_HG0I9Kkltaqe8KwRGtg2JUMQNea_oyDnlhyrXx7cbnrjGQ33vsraIxfn8-zc-Ze5qxFNJu99djdXHtVHdlIqbyasTb48mpmnmf1ZdpIeBYXh9eUplNnVLiE4-5_VH4TlU3x9zykVqZ04rrd0hfx7J_qQk2VM77UmKXjvbUsg9rG3uWfSVjcA27fHlyeUY_o62IvO1W5D3WiM1ePnhVMOoKmAsb01E3uihaoJQWhfEnKGJlLJLKRvryK5KoYJzzVG3RiGrjsdkXajenKohuSPfoZw1TAKnwDbFKSwG0lH6L6b7pqmnRHFFBcdA7i-z_4Ha0F5bLMNl8pd0ZVTOsmZF2UA55wbDmvJ4mdzEcF34OYSprTZpGy_RoGS0e-rfWUz8bflosdc6i3Al7WTpFdNMd9XRym32Yj2S4hAfuX0-zUVipK62ao78_mL8inCaR8CtWcw_vOTf5DdVMSYkasJ_yovwBTvuzhpTHW-KKGQ7Q8rplY1iPgZ4rAcBMav381T194Ys3DKZqRtv_wwv8vJRjZe0zqcYbQmY51Khk6eK_wxIu79-o51yOLX6d7tWajBIYZE93tnwiSHfc7Vbnj8a_d8HxkSucOf2XnWrKZlaKZh5kQaU5iur1kPpoTQbFF_ZmDhZNdEgU_zyAo +ep6qt19DygudbbFxhCNAvqq-WujCTu7s5U8YtKBKDMPRxV42F5UaZquzyLbkIQIy5T9N4moIb2OZQmnlGys982j5csht0RsVoYEfGgwhozRW-hQZXUHlimPeP0UtoyWMl55Xq5W4DI3JRvdxbzNinrk8o7sviXCTNA9fFkdLqmh2yxUXsCw92WuuCr-dSSbu96epx2Qlp0eQJF7H3K63JOnA7XWxBPKW7qi3tXBks-SqDiSl7BQCu5LNO3_AEtvwYSaanTsktz2FVsoyn-OVu9NKZmnwaD6Upe_Wwg6-90h1slGrE3ZtZ2CfhSWgPAwfAeNBpehCEVhWd13qhOGexlQ8jWbtSW5zMuddfRgpcd0jweDANGZ5Z5C-oMmUfhYLywcdeyfaKrWXFRPor5xdNKTDO-vpoEXU_68Rp6Lh2LxFJiNsFvEJ-ncyovJcW54xSw4g38Cm9vDH-I9i8WAydfpUhxsDoKurHviYbVpWEWNSoZ3ndyoE3IvAytBTykuh84RTkTiCkzSVxZF9V3rmpMkY8dG3OKhqTTsRhXgiGlP2lbvQlOtZttMMXL1gLb2LiLFV5dzr0BDU_JRWqZXAt54aw4qxiSHdw2n89aTBQJMyMI5yiPAsN28C33pcKeXVysKb6GHnQF5HAuvDblshOFy7datJmSBlqxSLU-LpLTc \ No newline at end of file diff --git a/b812ceb69337a210633378917cba10bc/update/sys_hub_action_type_definition_ab76b3df47d0be100b315003846d43e8.xml b/b812ceb69337a210633378917cba10bc/update/sys_hub_action_type_definition_ab76b3df47d0be100b315003846d43e8.xml new file mode 100644 index 0000000..28d3575 --- /dev/null +++ b/b812ceb69337a210633378917cba10bc/update/sys_hub_action_type_definition_ab76b3df47d0be100b315003846d43e8.xml @@ -0,0 +1,3897 @@ + + + public + + + + true + + {labelCacheCleanUpExecuted=true} + 28000 + false + + + + Returns Total Amount of a Compound interest calculation + + false + compound_interest_calculation + [{"name":"{{action.principal}}","label":"action➛Principal","type":"action","ref":"","reference_display":"","base_type":"string","parent_table_name":"","column_name":"","choices":null,"attributes":{}},{"name":"{{action.interest_rate}}","label":"action➛Interest Rate","type":"action","ref":"","reference_display":"","base_type":"string","parent_table_name":"","column_name":"","choices":null,"attributes":{}},{"name":"{{action.months}}","label":"action➛Months","type":"action","ref":"","reference_display":"","base_type":"string","parent_table_name":"","column_name":"","choices":null,"attributes":{}},{"name":"{{action._}}","label":"action➛","type":"action","ref":"","reference_display":"","base_type":"string","parent_table_name":"","column_name":"","choices":null,"attributes":{}},{"name":"{{action.annualrate}}","label":"action➛annualRate","type":"action","ref":"","reference_display":"","base_type":"string","parent_table_name":"","column_name":"","choices":null,"attributes":{}},{"name":"{{action.times}}","label":"action➛times","type":"action","ref":"","reference_display":"","base_type":"string","parent_table_name":"","column_name":"","choices":null,"attributes":{}},{"name":"{{action.times_compunded}}","label":"action➛Times Compunded","type":"action","ref":"","reference_display":"","base_type":"string","parent_table_name":"","column_name":"","choices":null,"attributes":{}},{"name":"{{action.annual_rate}}","label":"action➛Annual Rate","type":"action","ref":"","reference_display":"","base_type":"string","parent_table_name":"","column_name":"","choices":null,"attributes":{}},{"name":"{{action.years}}","label":"action➛Years","type":"action","ref":"","reference_display":"","base_type":"string","parent_table_name":"","column_name":"","choices":null,"attributes":{}},{"name":"{{step[ec5c2a74-424d-4540-acb0-7c287f1834fb].principal}}","label":"step➛Script step➛Principal","type":"step","ref":"","reference_display":"","base_type":"string","parent_table_name":"","column_name":"","choices":null,"attributes":{"sourceId":"","sourceUiUniqueId":"","sourceType":""}},{"name":"{{step[ec5c2a74-424d-4540-acb0-7c287f1834fb].amount}}","label":"step➛Script step➛Amount","type":"step","ref":"","reference_display":"","base_type":"string","parent_table_name":"","column_name":"","choices":null,"attributes":{"sourceId":"","sourceUiUniqueId":"","sourceType":""}},{"name":"{{step[ec5c2a74-424d-4540-acb0-7c287f1834fb].interest}}","label":"step➛Script step➛Interest","type":"step","ref":"","reference_display":"","base_type":"string","parent_table_name":"","column_name":"","choices":null,"attributes":{"sourceId":"","sourceUiUniqueId":"","sourceType":""}}] + c48ab7574714be100b315003846d4376 + + Compound interest calculation + + + + false + published + sys_hub_action_type_definition + admin + 2025-10-05 23:34:03 + global + / + ab76b3df47d0be100b315003846d43e8 + 5 + Compound interest calculation + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + sys_hub_action_type_definition_ab76b3df47d0be100b315003846d43e8 + admin + 2025-10-05 23:51:34 + false + + + + + + sys_hub_action_type_definition + ab76b3df47d0be100b315003846d43e8 + 1 + sys_variable_value + admin + 2025-10-05 23:51:03 + 306ab3574714be100b315003846d4388 + 0 + admin + 2025-10-05 23:51:03 + {"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\",\"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\"}"}},"serializationFormat":"JSON"} + 706ab3574714be100b315003846d436d + + + sys_hub_action_type_definition + ab76b3df47d0be100b315003846d43e8 + 3 + sys_variable_value + admin + 2025-10-05 23:51:03 + 7c6ab3574714be100b315003846d4387 + 0 + admin + 2025-10-05 23:51:03 + 0 + 746ab3574714be100b315003846d4375 + + + + amount + ab76b3df47d0be100b315003846d43e8 + admin + 2025-10-05 23:51:03 + b06ab3574714be100b315003846d4387 + 0 + admin + 2025-10-05 23:51:03 + var__m_sys_hub_action_output_ab76b3df47d0be100b315003846d43e8
+ {{step[ec5c2a74-424d-4540-acb0-7c287f1834fb].amount}} +
+ + interest + ab76b3df47d0be100b315003846d43e8 + admin + 2025-10-05 23:51:03 + 746ab3574714be100b315003846d4387 + 0 + admin + 2025-10-05 23:51:03 + var__m_sys_hub_action_output_ab76b3df47d0be100b315003846d43e8
+ {{step[ec5c2a74-424d-4540-acb0-7c287f1834fb].interest}} +
+ + principal + ab76b3df47d0be100b315003846d43e8 + admin + 2025-10-05 23:51:03 + fc6ab3574714be100b315003846d4386 + 0 + admin + 2025-10-05 23:51:03 + var__m_sys_hub_action_output_ab76b3df47d0be100b315003846d43e8
+ {{step[ec5c2a74-424d-4540-acb0-7c287f1834fb].principal}} +
+ + __action_status__ + ab76b3df47d0be100b315003846d43e8 + admin + 2025-10-05 23:51:03 + f86ab3574714be100b315003846d4387 + 0 + admin + 2025-10-05 23:51:03 + var__m_sys_hub_action_output_ab76b3df47d0be100b315003846d43e8
+ +
+ + __dont_treat_as_error__ + ab76b3df47d0be100b315003846d43e8 + admin + 2025-10-05 23:51:03 + 386ab3574714be100b315003846d4387 + 0 + admin + 2025-10-05 23:51:03 + var__m_sys_hub_action_output_ab76b3df47d0be100b315003846d43e8
+ +
+ + + ab76b3df47d0be100b315003846d43e8 + ec5c2a74-424d-4540-acb0-7c287f1834fb + 1 + + + + + + + 1 + +
+ 106afb6647032200b4fad7527c9a71e7 + admin + 2025-10-05 23:51:02 + e86ab3574714be100b315003846d433c + 1 + b812ceb69337a210633378917cba10bc + admin + 2025-10-05 23:51:03 + + + + sys_hub_step_instance + e86ab3574714be100b315003846d433c + 600 + sys_variable_value + admin + 2025-10-05 23:51:03 + 346ab3574714be100b315003846d435c + 0 + admin + 2025-10-05 23:51:03 + (function execute(inputs, outputs) { + + // Get input values + let principal = parseFloat(inputs.principal); + let annualRate = parseFloat(inputs.annualRate); + let timesCompounded = parseFloat(inputs.timesCompounded); + let years = parseFloat(inputs.years); + + // Validate inputs + if (isNaN(principal) || isNaN(annualRate) || isNaN(timesCompounded) || isNaN(years)) { + outputs.error = "Invalid input values. Please check all inputs."; + return; + } + + // Convert annual rate percentage to decimal + let rate = annualRate / 100; + + // Compound interest formula + let amount = principal * Math.pow((1 + rate / timesCompounded), timesCompounded * years); + + // Interest earned + let interest = amount - principal; + + // Set outputs + outputs.principal = principal.toFixed(2); + outputs.amount = amount.toFixed(2); + outputs.interest = interest.toFixed(2); + +})(inputs, outputs); + + 71aa7f6647032200b4fad7527c9a719b + + + sys_hub_step_instance + e86ab3574714be100b315003846d433c + 400 + sys_variable_value + admin + 2025-10-05 23:51:03 + 706ab3574714be100b315003846d435c + 0 + admin + 2025-10-05 23:51:03 + 35aa573fd7802200bdbaee5b5e610375 + f5e56d79b3101300176b051a16a8dce4 + + + + annualRate + e86ab3574714be100b315003846d433c + admin + 2025-10-05 23:51:03 + 306ab3574714be100b315003846d435d + 0 + admin + 2025-10-05 23:51:03 + var__m_sys_hub_step_ext_input_e86ab3574714be100b315003846d433c
+ {{action.annual_rate}} +
+ + application + e86ab3574714be100b315003846d433c + admin + 2025-10-05 23:51:03 + 3c6ab3574714be100b315003846d435b + 0 + admin + 2025-10-05 23:51:03 + var__m_sys_flow_step_definition_input_106afb6647032200b4fad7527c9a71e7
+ +
+ + principal + e86ab3574714be100b315003846d433c + admin + 2025-10-05 23:51:03 + 7c6ab3574714be100b315003846d435c + 0 + admin + 2025-10-05 23:51:03 + var__m_sys_hub_step_ext_input_e86ab3574714be100b315003846d433c
+ {{action.principal}} +
+ + script + e86ab3574714be100b315003846d433c + admin + 2025-10-05 23:51:03 + fc6ab3574714be100b315003846d435b + 0 + admin + 2025-10-05 23:51:03 + var__m_sys_flow_step_definition_input_106afb6647032200b4fad7527c9a71e7
+ +
+ + timesCompounded + e86ab3574714be100b315003846d433c + admin + 2025-10-05 23:51:03 + f06ab3574714be100b315003846d435d + 0 + admin + 2025-10-05 23:51:03 + var__m_sys_hub_step_ext_input_e86ab3574714be100b315003846d433c
+ {{action.times_compunded}} +
+ + years + e86ab3574714be100b315003846d433c + admin + 2025-10-05 23:51:03 + b46ab3574714be100b315003846d435d + 0 + admin + 2025-10-05 23:51:03 + var__m_sys_hub_step_ext_input_e86ab3574714be100b315003846d433c
+ {{action.years}} +
+ + + + + + true + false + false + element_mapping_provider=com.glide.flow_design.action.data.FlowDesignVariableMapper,uiType=string,uiTypeLabel=String + false + + + + + + + + + + + + + false + false + + + + years + false + + + + false + + + string + + + true + false + false + element_mapping_provider=com.glide.flow_design.action.data.FlowDesignVariableMapper,uiType=string,uiTypeLabel=String + false + + + + + + + + + + + + + false + false + + + + timesCompounded + false + + + + false + + + string + + + true + false + false + element_mapping_provider=com.glide.flow_design.action.data.FlowDesignVariableMapper,uiType=string,uiTypeLabel=String + false + + + + + + + + + + + + + false + false + + + + principal + false + + + + false + + + string + + + true + false + false + element_mapping_provider=com.glide.flow_design.action.data.FlowDesignVariableMapper,uiType=string,uiTypeLabel=String + false + + + + + + + + + + + + + false + false + + + + annualRate + false + + + + false + + + string + + + + true + false + false + element_mapping_provider=com.glide.flow_design.action.data.FlowDesignVariableMapper,uiType=string,uiTypeLabel=String,uiUniqueId=7de3bde7-6216-4ab4-a3b7-5612277e3c9f + false + + + + + + + + + + + + + false + false + + + + amount + false + + + + false + + + string + + false + 8000 + e86ab3574714be100b315003846d433c + e86ab3574714be100b315003846d433c + sys_hub_step_instance + var__m_sys_hub_step_ext_output_e86ab3574714be100b315003846d433c + + 2 + false + false + + + + false + + + + + + false + false + sys_hub_step_ext_output + admin + 2025-10-05 23:51:03 + 746ab3574714be100b315003846d434f + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-05 23:51:03 + 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=d6b2413b-d426-49ab-8cd9-b75ca41a308f + false + + + + + + + + + + + + + false + false + + + + interest + false + + + + false + + + string + + false + 8000 + e86ab3574714be100b315003846d433c + e86ab3574714be100b315003846d433c + sys_hub_step_instance + var__m_sys_hub_step_ext_output_e86ab3574714be100b315003846d433c + + 3 + false + false + + + + false + + + + + + false + false + sys_hub_step_ext_output + admin + 2025-10-05 23:51:03 + b46ab3574714be100b315003846d4352 + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-05 23:51:03 + 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=232a6d42-5c89-49cb-9190-6f35c1f71144 + false + + + + + + + + + + + + + false + false + + + + principal + false + + + + false + + + string + + false + 8000 + e86ab3574714be100b315003846d433c + e86ab3574714be100b315003846d433c + sys_hub_step_instance + var__m_sys_hub_step_ext_output_e86ab3574714be100b315003846d433c + + 1 + false + false + + + + false + + + + + + false + false + sys_hub_step_ext_output + admin + 2025-10-05 23:51:03 + f86ab3574714be100b315003846d434b + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-05 23:51:03 + false + false + false + false + false + simple + false + script + + + false + + + + interest + + + + en + var__m_sys_hub_step_ext_output_e86ab3574714be100b315003846d433c + + sys_documentation + admin + 2025-10-05 23:51:03 + 3c6ab3574714be100b315003846d4354 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-05 23:51:03 + + + + + principal + + + + en + var__m_sys_hub_step_ext_output_e86ab3574714be100b315003846d433c + + sys_documentation + admin + 2025-10-05 23:51:03 + b86ab3574714be100b315003846d434e + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-05 23:51:03 + + + + + amount + + + + en + var__m_sys_hub_step_ext_output_e86ab3574714be100b315003846d433c + + sys_documentation + admin + 2025-10-05 23:51:03 + f86ab3574714be100b315003846d4351 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-05 23:51:03 + + + + + + true + false + false + element_mapping_provider=com.glide.flow_design.action.data.FlowDesignVariableMapper,uiType=string,uiTypeLabel=String,uiUniqueId=622a7639-9c05-4870-941c-806f0ca995bf + false + + + + + + + + + + + + + false + false + + + + principal + false + + + + false + + + string + + false + 8000 + ab76b3df47d0be100b315003846d43e8 + ab76b3df47d0be100b315003846d43e8 + sys_hub_action_type_definition + var__m_sys_hub_action_input_ab76b3df47d0be100b315003846d43e8 + + 1 + false + false + + + + false + + + + + + false + false + sys_hub_action_input + admin + 2025-10-05 23:51:02 + 2c6a37df47d0be100b315003846d43f9 + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-05 23:51:02 + 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=48d34157-5031-4b31-bc52-248bb9346f75 + false + + + + + + + + + + + + + false + false + + + + times_compunded + false + + + + false + + + string + + false + 8000 + ab76b3df47d0be100b315003846d43e8 + ab76b3df47d0be100b315003846d43e8 + sys_hub_action_type_definition + var__m_sys_hub_action_input_ab76b3df47d0be100b315003846d43e8 + + 3 + false + false + + + + false + + + + + + false + false + sys_hub_action_input + admin + 2025-10-05 23:51:02 + 606ab3574714be100b315003846d4331 + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-05 23:51:02 + 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=8a110ae5-3656-48ee-8213-9be12ece10db + false + + + + + + + + + + + + + false + false + + + + annual_rate + false + + + + false + + + string + + false + 8000 + ab76b3df47d0be100b315003846d43e8 + ab76b3df47d0be100b315003846d43e8 + sys_hub_action_type_definition + var__m_sys_hub_action_input_ab76b3df47d0be100b315003846d43e8 + + 2 + false + false + + + + false + + + + + + false + false + sys_hub_action_input + admin + 2025-10-05 23:51:02 + 646ab3574714be100b315003846d432d + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-05 23:51:02 + 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=195f45b5-717d-48b9-9614-bf7a8cf68db1 + false + + + + + + + + + + + + + false + false + + + + years + false + + + + false + + + string + + false + 8000 + ab76b3df47d0be100b315003846d43e8 + ab76b3df47d0be100b315003846d43e8 + sys_hub_action_type_definition + var__m_sys_hub_action_input_ab76b3df47d0be100b315003846d43e8 + + 4 + false + false + + + + false + + + + + + false + false + sys_hub_action_input + admin + 2025-10-05 23:51:02 + 6c6ab3574714be100b315003846d4334 + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-05 23:51:02 + 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=1b2c13c2-f5ff-4834-90bf-82b8dd53362c + false + + + + + + + + + + + + + false + false + + + + principal + + false + + + + false + + + + string + + false + 8000 + ab76b3df47d0be100b315003846d43e8 + ab76b3df47d0be100b315003846d43e8 + sys_hub_action_type_definition + var__m_sys_hub_action_output_ab76b3df47d0be100b315003846d43e8 + + 2 + false + false + + + + false + + + + + + false + false + sys_hub_action_output + admin + 2025-10-05 23:51:03 + 386ab3574714be100b315003846d4371 + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-05 23:51:03 + 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=efdfeb0c-9f96-4bd8-acab-ae8179128514 + false + + + + + + + + + + + + + false + false + + + + interest + + false + + + + false + + + + string + + false + 8000 + ab76b3df47d0be100b315003846d43e8 + ab76b3df47d0be100b315003846d43e8 + sys_hub_action_type_definition + var__m_sys_hub_action_output_ab76b3df47d0be100b315003846d43e8 + + 5 + false + false + + + + false + + + + + + false + false + sys_hub_action_output + admin + 2025-10-05 23:51:03 + 3c6ab3574714be100b315003846d437e + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-05 23:51:03 + 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=e219a093-da53-435f-9d92-6850e4fdcd01 + false + + + + + + + + + + + + + false + false + + + + __action_status__ + + false + + + + false + + + + string + + false + 65000 + ab76b3df47d0be100b315003846d43e8 + ab76b3df47d0be100b315003846d43e8 + sys_hub_action_type_definition + var__m_sys_hub_action_output_ab76b3df47d0be100b315003846d43e8 + + 1 + false + false + + + + false + + + + + + false + false + sys_hub_action_output + admin + 2025-10-05 23:51:03 + 706ab3574714be100b315003846d436d + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-05 23:51:03 + 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=35b93c75-f290-416e-aa4e-7172f25863ec,visible_in_ui=false + false + + + + + + + + true + + + + + false + false + + + + __dont_treat_as_error__ + + false + + + + false + + + + boolean + + false + 40 + ab76b3df47d0be100b315003846d43e8 + ab76b3df47d0be100b315003846d43e8 + sys_hub_action_type_definition + var__m_sys_hub_action_output_ab76b3df47d0be100b315003846d43e8 + + 3 + false + false + + + + false + + + + + + false + false + sys_hub_action_output + admin + 2025-10-05 23:51:03 + 746ab3574714be100b315003846d4375 + 3 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-05 23:51:33 + 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=4d4cf2fa-6cd3-4007-8e6e-3489a2ac209a + false + + + + + + + + + + + + + false + false + + + + amount + + false + + + + false + + + + string + + false + 8000 + ab76b3df47d0be100b315003846d43e8 + ab76b3df47d0be100b315003846d43e8 + sys_hub_action_type_definition + var__m_sys_hub_action_output_ab76b3df47d0be100b315003846d43e8 + + 4 + false + false + + + + false + + + + + + false + false + sys_hub_action_output + admin + 2025-10-05 23:51:03 + fc6ab3574714be100b315003846d437a + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-05 23:51:03 + false + false + false + false + false + simple + false + script + + + false + + + + + + + ab76b3df47d0be100b315003846d43e8 + admin + 2025-10-05 23:51:03 + fc6ab3574714be100b315003846d4389 + 0 + admin + 2025-10-05 23:51:03 + + + + principal + + + + en + var__m_sys_hub_action_input_ab76b3df47d0be100b315003846d43e8 + + sys_documentation + admin + 2025-10-05 23:51:02 + 286a37df47d0be100b315003846d43fd + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-05 23:51:02 + + + + + times_compunded + + + + en + var__m_sys_hub_action_input_ab76b3df47d0be100b315003846d43e8 + + sys_documentation + admin + 2025-10-05 23:51:02 + a06ab3574714be100b315003846d4334 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-05 23:51:02 + + + + + annual_rate + + + + en + var__m_sys_hub_action_input_ab76b3df47d0be100b315003846d43e8 + + sys_documentation + admin + 2025-10-05 23:51:02 + a46ab3574714be100b315003846d4330 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-05 23:51:02 + + + + + years + + + + en + var__m_sys_hub_action_input_ab76b3df47d0be100b315003846d43e8 + + sys_documentation + admin + 2025-10-05 23:51:02 + ac6ab3574714be100b315003846d4337 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-05 23:51:02 + + + + + + __dont_treat_as_error__ + + + + en + var__m_sys_hub_action_output_ab76b3df47d0be100b315003846d43e8 + + sys_documentation + admin + 2025-10-05 23:51:03 + 346ab3574714be100b315003846d437a + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-05 23:51:03 + + + + + amount + + + + en + var__m_sys_hub_action_output_ab76b3df47d0be100b315003846d43e8 + + sys_documentation + admin + 2025-10-05 23:51:03 + 706ab3574714be100b315003846d437e + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-05 23:51:03 + + + + + __action_status__ + + + + en + var__m_sys_hub_action_output_ab76b3df47d0be100b315003846d43e8 + + sys_documentation + admin + 2025-10-05 23:51:03 + 7c6ab3574714be100b315003846d4370 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-05 23:51:03 + + + + + principal + + + + en + var__m_sys_hub_action_output_ab76b3df47d0be100b315003846d43e8 + + sys_documentation + admin + 2025-10-05 23:51:03 + b86ab3574714be100b315003846d4374 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-05 23:51:03 + + + + + interest + + + + en + var__m_sys_hub_action_output_ab76b3df47d0be100b315003846d43e8 + + sys_documentation + admin + 2025-10-05 23:51:03 + bc6ab3574714be100b315003846d4381 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-05 23:51:03 + + + + + + + ab76b3df47d0be100b315003846d43e8 + {"type":"PlanProxy","persistor":{"@class":".ChunkingPlanPersistor","table":"sys_hub_action_plan","id":"e08af7574714be100b315003846d433c","name":"plan","plan_signature":null}} + 5c8af7574714be100b315003846d4300 + admin + 2025-10-05 23:51:35 + global + / + e08af7574714be100b315003846d433c + 0 + + + admin + 2025-10-05 23:51:35 + + + public + + + + + {labelCacheCleanUpExecuted=true} + 28000 + false + + + + Returns Total Amount of a Compound interest calculation + + compound_interest_calculation + [{"name":"{{action.principal}}","label":"action➛Principal","type":"action","ref":"","reference_display":"","base_type":"string","parent_table_name":"","column_name":"","choices":null,"attributes":{}},{"name":"{{action.interest_rate}}","label":"action➛Interest Rate","type":"action","ref":"","reference_display":"","base_type":"string","parent_table_name":"","column_name":"","choices":null,"attributes":{}},{"name":"{{action.months}}","label":"action➛Months","type":"action","ref":"","reference_display":"","base_type":"string","parent_table_name":"","column_name":"","choices":null,"attributes":{}},{"name":"{{action._}}","label":"action➛","type":"action","ref":"","reference_display":"","base_type":"string","parent_table_name":"","column_name":"","choices":null,"attributes":{}},{"name":"{{action.annualrate}}","label":"action➛annualRate","type":"action","ref":"","reference_display":"","base_type":"string","parent_table_name":"","column_name":"","choices":null,"attributes":{}},{"name":"{{action.times}}","label":"action➛times","type":"action","ref":"","reference_display":"","base_type":"string","parent_table_name":"","column_name":"","choices":null,"attributes":{}},{"name":"{{action.times_compunded}}","label":"action➛Times Compunded","type":"action","ref":"","reference_display":"","base_type":"string","parent_table_name":"","column_name":"","choices":null,"attributes":{}},{"name":"{{action.annual_rate}}","label":"action➛Annual Rate","type":"action","ref":"","reference_display":"","base_type":"string","parent_table_name":"","column_name":"","choices":null,"attributes":{}},{"name":"{{action.years}}","label":"action➛Years","type":"action","ref":"","reference_display":"","base_type":"string","parent_table_name":"","column_name":"","choices":null,"attributes":{}},{"name":"{{step[ec5c2a74-424d-4540-acb0-7c287f1834fb].principal}}","label":"step➛Script step➛Principal","type":"step","ref":"","reference_display":"","base_type":"string","parent_table_name":"","column_name":"","choices":null,"attributes":{"sourceId":"","sourceUiUniqueId":"","sourceType":""}},{"name":"{{step[ec5c2a74-424d-4540-acb0-7c287f1834fb].amount}}","label":"step➛Script step➛Amount","type":"step","ref":"","reference_display":"","base_type":"string","parent_table_name":"","column_name":"","choices":null,"attributes":{"sourceId":"","sourceUiUniqueId":"","sourceType":""}},{"name":"{{step[ec5c2a74-424d-4540-acb0-7c287f1834fb].interest}}","label":"step➛Script step➛Interest","type":"step","ref":"","reference_display":"","base_type":"string","parent_table_name":"","column_name":"","choices":null,"attributes":{"sourceId":"","sourceUiUniqueId":"","sourceType":""}}] + true + Compound interest calculation + + + + ab76b3df47d0be100b315003846d43e8 + sys_hub_action_type_snapshot + admin + 2025-10-05 23:51:33 + global + / + c48ab7574714be100b315003846d4376 + 0 + + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-05 23:51:33 + false + + + + + + sys_hub_action_type_snapshot + c48ab7574714be100b315003846d4376 + 3 + sys_variable_value + admin + 2025-10-05 23:51:34 + 188ab7574714be100b315003846d43fe + 0 + admin + 2025-10-05 23:51:34 + 0 + 5c8ab7574714be100b315003846d43df + + + sys_hub_action_type_snapshot + c48ab7574714be100b315003846d4376 + 1 + sys_variable_value + admin + 2025-10-05 23:51:34 + d88ab7574714be100b315003846d43fe + 0 + admin + 2025-10-05 23:51: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\",\"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\"}"}},"serializationFormat":"JSON"} + d88ab7574714be100b315003846d43d7 + + + + amount + c48ab7574714be100b315003846d4376 + admin + 2025-10-05 23:51:34 + 5c8ab7574714be100b315003846d43fd + 0 + admin + 2025-10-05 23:51:34 + var__m_sys_hub_action_output_c48ab7574714be100b315003846d4376
+ {{step[ec5c2a74-424d-4540-acb0-7c287f1834fb].amount}} +
+ + interest + c48ab7574714be100b315003846d4376 + admin + 2025-10-05 23:51:34 + 108ab7574714be100b315003846d43fe + 0 + admin + 2025-10-05 23:51:34 + var__m_sys_hub_action_output_c48ab7574714be100b315003846d4376
+ {{step[ec5c2a74-424d-4540-acb0-7c287f1834fb].interest}} +
+ + principal + c48ab7574714be100b315003846d4376 + admin + 2025-10-05 23:51:34 + 988ab7574714be100b315003846d43fd + 0 + admin + 2025-10-05 23:51:34 + var__m_sys_hub_action_output_c48ab7574714be100b315003846d4376
+ {{step[ec5c2a74-424d-4540-acb0-7c287f1834fb].principal}} +
+ + __action_status__ + c48ab7574714be100b315003846d4376 + admin + 2025-10-05 23:51:34 + 948ab7574714be100b315003846d43fe + 0 + admin + 2025-10-05 23:51:34 + var__m_sys_hub_action_output_c48ab7574714be100b315003846d4376
+ +
+ + __dont_treat_as_error__ + c48ab7574714be100b315003846d4376 + admin + 2025-10-05 23:51:34 + d08ab7574714be100b315003846d43fe + 0 + admin + 2025-10-05 23:51:34 + var__m_sys_hub_action_output_c48ab7574714be100b315003846d4376
+ +
+ + + c48ab7574714be100b315003846d4376 + ec5c2a74-424d-4540-acb0-7c287f1834fb + 1 + + + + + + + 1 + +
+ 106afb6647032200b4fad7527c9a71e7 + admin + 2025-10-05 23:51:33 + 408ab7574714be100b315003846d43b2 + 1 + b812ceb69337a210633378917cba10bc + admin + 2025-10-05 23:51:34 + + + + sys_hub_step_instance + 408ab7574714be100b315003846d43b2 + 600 + sys_variable_value + admin + 2025-10-05 23:51:34 + 148ab7574714be100b315003846d43d3 + 0 + admin + 2025-10-05 23:51:34 + (function execute(inputs, outputs) { + + // Get input values + let principal = parseFloat(inputs.principal); + let annualRate = parseFloat(inputs.annualRate); + let timesCompounded = parseFloat(inputs.timesCompounded); + let years = parseFloat(inputs.years); + + // Validate inputs + if (isNaN(principal) || isNaN(annualRate) || isNaN(timesCompounded) || isNaN(years)) { + outputs.error = "Invalid input values. Please check all inputs."; + return; + } + + // Convert annual rate percentage to decimal + let rate = annualRate / 100; + + // Compound interest formula + let amount = principal * Math.pow((1 + rate / timesCompounded), timesCompounded * years); + + // Interest earned + let interest = amount - principal; + + // Set outputs + outputs.principal = principal.toFixed(2); + outputs.amount = amount.toFixed(2); + outputs.interest = interest.toFixed(2); + +})(inputs, outputs); + + 71aa7f6647032200b4fad7527c9a719b + + + sys_hub_step_instance + 408ab7574714be100b315003846d43b2 + 400 + sys_variable_value + admin + 2025-10-05 23:51:34 + 508ab7574714be100b315003846d43d3 + 0 + admin + 2025-10-05 23:51:34 + 35aa573fd7802200bdbaee5b5e610375 + f5e56d79b3101300176b051a16a8dce4 + + + + annualRate + 408ab7574714be100b315003846d43b2 + admin + 2025-10-05 23:51:34 + 108ab7574714be100b315003846d43d4 + 0 + admin + 2025-10-05 23:51:34 + var__m_sys_hub_step_ext_input_408ab7574714be100b315003846d43b2
+ {{action.annual_rate}} +
+ + application + 408ab7574714be100b315003846d43b2 + admin + 2025-10-05 23:51:34 + 1c8ab7574714be100b315003846d43d2 + 0 + admin + 2025-10-05 23:51:34 + var__m_sys_flow_step_definition_input_106afb6647032200b4fad7527c9a71e7
+ +
+ + principal + 408ab7574714be100b315003846d43b2 + admin + 2025-10-05 23:51:34 + 5c8ab7574714be100b315003846d43d3 + 0 + admin + 2025-10-05 23:51:34 + var__m_sys_hub_step_ext_input_408ab7574714be100b315003846d43b2
+ {{action.principal}} +
+ + script + 408ab7574714be100b315003846d43b2 + admin + 2025-10-05 23:51:34 + dc8ab7574714be100b315003846d43d2 + 0 + admin + 2025-10-05 23:51:34 + var__m_sys_flow_step_definition_input_106afb6647032200b4fad7527c9a71e7
+ +
+ + timesCompounded + 408ab7574714be100b315003846d43b2 + admin + 2025-10-05 23:51:34 + d08ab7574714be100b315003846d43d4 + 0 + admin + 2025-10-05 23:51:34 + var__m_sys_hub_step_ext_input_408ab7574714be100b315003846d43b2
+ {{action.times_compunded}} +
+ + years + 408ab7574714be100b315003846d43b2 + admin + 2025-10-05 23:51:34 + 948ab7574714be100b315003846d43d4 + 0 + admin + 2025-10-05 23:51:34 + var__m_sys_hub_step_ext_input_408ab7574714be100b315003846d43b2
+ {{action.years}} +
+ + + + + + true + false + false + element_mapping_provider=com.glide.flow_design.action.data.FlowDesignVariableMapper,uiType=string,uiTypeLabel=String + false + + + + + + + + + + + + + false + false + + + + annualRate + false + + + + false + + + string + + true + 8000 + 408ab7574714be100b315003846d43b2 + 408ab7574714be100b315003846d43b2 + sys_hub_step_instance + var__m_sys_hub_step_ext_input_408ab7574714be100b315003846d43b2 + + 100 + false + false + + + + false + + + + + + false + false + sys_hub_step_ext_input + admin + 2025-10-05 23:51:33 + 988ab7574714be100b315003846d43b9 + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-05 23:51: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 + false + + + + + + + + + + + + + false + false + + + + timesCompounded + false + + + + false + + + string + + true + 8000 + 408ab7574714be100b315003846d43b2 + 408ab7574714be100b315003846d43b2 + sys_hub_step_instance + var__m_sys_hub_step_ext_input_408ab7574714be100b315003846d43b2 + + 200 + false + false + + + + false + + + + + + false + false + sys_hub_step_ext_input + admin + 2025-10-05 23:51:33 + 988ab7574714be100b315003846d43bc + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-05 23:51: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 + false + + + + + + + + + + + + + false + false + + + + years + false + + + + false + + + string + + true + 8000 + 408ab7574714be100b315003846d43b2 + 408ab7574714be100b315003846d43b2 + sys_hub_step_instance + var__m_sys_hub_step_ext_input_408ab7574714be100b315003846d43b2 + + 300 + false + false + + + + false + + + + + + false + false + sys_hub_step_ext_input + admin + 2025-10-05 23:51:33 + 988ab7574714be100b315003846d43bf + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-05 23:51: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 + false + + + + + + + + + + + + + false + false + + + + principal + false + + + + false + + + string + + true + 8000 + 408ab7574714be100b315003846d43b2 + 408ab7574714be100b315003846d43b2 + sys_hub_step_instance + var__m_sys_hub_step_ext_input_408ab7574714be100b315003846d43b2 + + 0 + false + false + + + + false + + + + + + false + false + sys_hub_step_ext_input + admin + 2025-10-05 23:51:33 + 9c8ab7574714be100b315003846d43b5 + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-05 23:51: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=7de3bde7-6216-4ab4-a3b7-5612277e3c9f + false + + + + + + + + + + + + + false + false + + + + amount + false + + + + false + + + string + + false + 8000 + 408ab7574714be100b315003846d43b2 + 408ab7574714be100b315003846d43b2 + sys_hub_step_instance + var__m_sys_hub_step_ext_output_408ab7574714be100b315003846d43b2 + + 2 + false + false + + + + false + + + + + + false + false + sys_hub_step_ext_output + admin + 2025-10-05 23:51:34 + 1c8ab7574714be100b315003846d43c6 + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-05 23:51:34 + 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=d6b2413b-d426-49ab-8cd9-b75ca41a308f + false + + + + + + + + + + + + + false + false + + + + interest + false + + + + false + + + string + + false + 8000 + 408ab7574714be100b315003846d43b2 + 408ab7574714be100b315003846d43b2 + sys_hub_step_instance + var__m_sys_hub_step_ext_output_408ab7574714be100b315003846d43b2 + + 3 + false + false + + + + false + + + + + + false + false + sys_hub_step_ext_output + admin + 2025-10-05 23:51:34 + 5c8ab7574714be100b315003846d43c9 + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-05 23:51:34 + 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=232a6d42-5c89-49cb-9190-6f35c1f71144 + false + + + + + + + + + + + + + false + false + + + + principal + false + + + + false + + + string + + false + 8000 + 408ab7574714be100b315003846d43b2 + 408ab7574714be100b315003846d43b2 + sys_hub_step_instance + var__m_sys_hub_step_ext_output_408ab7574714be100b315003846d43b2 + + 1 + false + false + + + + false + + + + + + false + false + sys_hub_step_ext_output + admin + 2025-10-05 23:51:33 + 908ab7574714be100b315003846d43c3 + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-05 23:51:33 + false + false + false + false + false + simple + false + script + + + false + + + + principal + + + + en + var__m_sys_hub_step_ext_output_408ab7574714be100b315003846d43b2 + + sys_documentation + admin + 2025-10-05 23:51:34 + 508ab7574714be100b315003846d43c6 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-05 23:51:34 + + + + + amount + + + + en + var__m_sys_hub_step_ext_output_408ab7574714be100b315003846d43b2 + + sys_documentation + admin + 2025-10-05 23:51:34 + 908ab7574714be100b315003846d43c9 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-05 23:51:34 + + + + + interest + + + + en + var__m_sys_hub_step_ext_output_408ab7574714be100b315003846d43b2 + + sys_documentation + admin + 2025-10-05 23:51:34 + d08ab7574714be100b315003846d43cc + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-05 23:51:34 + + + + + + true + false + false + element_mapping_provider=com.glide.flow_design.action.data.FlowDesignVariableMapper,uiType=string,uiTypeLabel=String,uiUniqueId=195f45b5-717d-48b9-9614-bf7a8cf68db1 + false + + + + + + + + + + + + + false + false + + + + years + false + + + + false + + + string + + false + 8000 + c48ab7574714be100b315003846d4376 + c48ab7574714be100b315003846d4376 + sys_hub_action_type_snapshot + var__m_sys_hub_action_input_c48ab7574714be100b315003846d4376 + + 4 + false + false + + + + false + + + + + + false + false + sys_hub_action_input + admin + 2025-10-05 23:51:33 + 048ab7574714be100b315003846d43aa + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-05 23:51: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=8a110ae5-3656-48ee-8213-9be12ece10db + false + + + + + + + + + + + + + false + false + + + + annual_rate + false + + + + false + + + string + + false + 8000 + c48ab7574714be100b315003846d4376 + c48ab7574714be100b315003846d4376 + sys_hub_action_type_snapshot + var__m_sys_hub_action_input_c48ab7574714be100b315003846d4376 + + 2 + false + false + + + + false + + + + + + false + false + sys_hub_action_input + admin + 2025-10-05 23:51:33 + 488ab7574714be100b315003846d437d + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-05 23:51: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=48d34157-5031-4b31-bc52-248bb9346f75 + false + + + + + + + + + + + + + false + false + + + + times_compunded + false + + + + false + + + string + + false + 8000 + c48ab7574714be100b315003846d4376 + c48ab7574714be100b315003846d4376 + sys_hub_action_type_snapshot + var__m_sys_hub_action_input_c48ab7574714be100b315003846d4376 + + 3 + false + false + + + + false + + + + + + false + false + sys_hub_action_input + admin + 2025-10-05 23:51:33 + 488ab7574714be100b315003846d43a6 + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-05 23:51: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=622a7639-9c05-4870-941c-806f0ca995bf + false + + + + + + + + + + + + + false + false + + + + principal + false + + + + false + + + string + + false + 8000 + c48ab7574714be100b315003846d4376 + c48ab7574714be100b315003846d4376 + sys_hub_action_type_snapshot + var__m_sys_hub_action_input_c48ab7574714be100b315003846d4376 + + 1 + false + false + + + + false + + + + + + false + false + sys_hub_action_input + admin + 2025-10-05 23:51:33 + 808ab7574714be100b315003846d4379 + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-05 23:51:33 + 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=efdfeb0c-9f96-4bd8-acab-ae8179128514 + false + + + + + + + + + + + + + false + false + + + + interest + + false + + + + false + + + + string + + false + 8000 + c48ab7574714be100b315003846d4376 + c48ab7574714be100b315003846d4376 + sys_hub_action_type_snapshot + var__m_sys_hub_action_output_c48ab7574714be100b315003846d4376 + + 5 + false + false + + + + false + + + + + + false + false + sys_hub_action_output + admin + 2025-10-05 23:51:34 + 188ab7574714be100b315003846d43f5 + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-05 23:51:34 + 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=4d4cf2fa-6cd3-4007-8e6e-3489a2ac209a + false + + + + + + + + + + + + + false + false + + + + amount + + false + + + + false + + + + string + + false + 8000 + c48ab7574714be100b315003846d4376 + c48ab7574714be100b315003846d4376 + sys_hub_action_type_snapshot + var__m_sys_hub_action_output_c48ab7574714be100b315003846d4376 + + 4 + false + false + + + + false + + + + + + false + false + sys_hub_action_output + admin + 2025-10-05 23:51:34 + 1c8ab7574714be100b315003846d43f1 + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-05 23:51:34 + 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=1b2c13c2-f5ff-4834-90bf-82b8dd53362c + false + + + + + + + + + + + + + false + false + + + + principal + + false + + + + false + + + + string + + false + 8000 + c48ab7574714be100b315003846d4376 + c48ab7574714be100b315003846d4376 + sys_hub_action_type_snapshot + var__m_sys_hub_action_output_c48ab7574714be100b315003846d4376 + + 2 + false + false + + + + false + + + + + + false + false + sys_hub_action_output + admin + 2025-10-05 23:51:34 + 508ab7574714be100b315003846d43dc + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-05 23:51:34 + 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=35b93c75-f290-416e-aa4e-7172f25863ec,visible_in_ui=false + false + + + + + + + + true + + + + + false + false + + + + __dont_treat_as_error__ + + false + + + + false + + + + boolean + + false + 40 + c48ab7574714be100b315003846d4376 + c48ab7574714be100b315003846d4376 + sys_hub_action_type_snapshot + var__m_sys_hub_action_output_c48ab7574714be100b315003846d4376 + + 3 + false + false + + + + false + + + + + + false + false + sys_hub_action_output + admin + 2025-10-05 23:51:34 + 5c8ab7574714be100b315003846d43df + 1 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-05 23:51:34 + 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=e219a093-da53-435f-9d92-6850e4fdcd01 + false + + + + + + + + + + + + + false + false + + + + __action_status__ + + false + + + + false + + + + string + + false + 65000 + c48ab7574714be100b315003846d4376 + c48ab7574714be100b315003846d4376 + sys_hub_action_type_snapshot + var__m_sys_hub_action_output_c48ab7574714be100b315003846d4376 + + 1 + false + false + + + + false + + + + + + false + false + sys_hub_action_output + admin + 2025-10-05 23:51:34 + d88ab7574714be100b315003846d43d7 + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-05 23:51:34 + false + false + false + false + false + simple + false + script + + + false + + + + + + + c48ab7574714be100b315003846d4376 + admin + 2025-10-05 23:51:34 + 988af7574714be100b315003846d4300 + 0 + admin + 2025-10-05 23:51:34 + + + + years + + + + en + var__m_sys_hub_action_input_c48ab7574714be100b315003846d4376 + + sys_documentation + admin + 2025-10-05 23:51:33 + 048ab7574714be100b315003846d43ad + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-05 23:51:33 + + + + + times_compunded + + + + en + var__m_sys_hub_action_input_c48ab7574714be100b315003846d4376 + + sys_documentation + admin + 2025-10-05 23:51:33 + 488ab7574714be100b315003846d43a9 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-05 23:51:33 + + + + + principal + + + + en + var__m_sys_hub_action_input_c48ab7574714be100b315003846d4376 + + sys_documentation + admin + 2025-10-05 23:51:33 + 8c8ab7574714be100b315003846d437c + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-05 23:51:33 + + + + + annual_rate + + + + en + var__m_sys_hub_action_input_c48ab7574714be100b315003846d4376 + + sys_documentation + admin + 2025-10-05 23:51:33 + 8c8ab7574714be100b315003846d43a5 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-05 23:51:33 + + + + + + __dont_treat_as_error__ + + + + en + var__m_sys_hub_action_output_c48ab7574714be100b315003846d4376 + + sys_documentation + admin + 2025-10-05 23:51:34 + 508ab7574714be100b315003846d43f1 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-05 23:51:34 + + + + + interest + + + + en + var__m_sys_hub_action_output_c48ab7574714be100b315003846d4376 + + sys_documentation + admin + 2025-10-05 23:51:34 + 588ab7574714be100b315003846d43f8 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-05 23:51:34 + + + + + amount + + + + en + var__m_sys_hub_action_output_c48ab7574714be100b315003846d4376 + + sys_documentation + admin + 2025-10-05 23:51:34 + 5c8ab7574714be100b315003846d43f4 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-05 23:51:34 + + + + + principal + + + + en + var__m_sys_hub_action_output_c48ab7574714be100b315003846d4376 + + sys_documentation + admin + 2025-10-05 23:51:34 + 908ab7574714be100b315003846d43df + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-05 23:51:34 + + + + + __action_status__ + + + + en + var__m_sys_hub_action_output_c48ab7574714be100b315003846d4376 + + sys_documentation + admin + 2025-10-05 23:51:34 + 948ab7574714be100b315003846d43db + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-05 23:51:34 + + + + + + ab76b3df47d0be100b315003846d43e8 + c48ab7574714be100b315003846d4376 + glide-zurich-07-01-2025__patch0-07-15-2025_07-23-2025_1759.zip + + From edb2619cd687afb2e404cfd041b391aaed30f09a Mon Sep 17 00:00:00 2001 From: admin Date: Sun, 5 Oct 2025 18:06:34 -0700 Subject: [PATCH 2/3] Calculate a weekly transportation cost given distance and additional riders. --- b812ceb69337a210633378917cba10bc/checksum.txt | 2 +- ...ition_3ee204634754be100b315003846d4346.xml | 3769 +++++++++++++++++ 2 files changed, 3770 insertions(+), 1 deletion(-) create mode 100644 b812ceb69337a210633378917cba10bc/update/sys_hub_action_type_definition_3ee204634754be100b315003846d4346.xml diff --git a/b812ceb69337a210633378917cba10bc/checksum.txt b/b812ceb69337a210633378917cba10bc/checksum.txt index c100f34..ae5d6d5 100644 --- a/b812ceb69337a210633378917cba10bc/checksum.txt +++ b/b812ceb69337a210633378917cba10bc/checksum.txt @@ -1 +1 @@ -ep6qt19DygudbbFxhCNAvqq-WujCTu7s5U8YtKBKDMPRxV42F5UaZquzyLbkIQIy5T9N4moIb2OZQmnlGys982j5csht0RsVoYEfGgwhozRW-hQZXUHlimPeP0UtoyWMl55Xq5W4DI3JRvdxbzNinrk8o7sviXCTNA9fFkdLqmh2yxUXsCw92WuuCr-dSSbu96epx2Qlp0eQJF7H3K63JOnA7XWxBPKW7qi3tXBks-SqDiSl7BQCu5LNO3_AEtvwYSaanTsktz2FVsoyn-OVu9NKZmnwaD6Upe_Wwg6-90h1slGrE3ZtZ2CfhSWgPAwfAeNBpehCEVhWd13qhOGexlQ8jWbtSW5zMuddfRgpcd0jweDANGZ5Z5C-oMmUfhYLywcdeyfaKrWXFRPor5xdNKTDO-vpoEXU_68Rp6Lh2LxFJiNsFvEJ-ncyovJcW54xSw4g38Cm9vDH-I9i8WAydfpUhxsDoKurHviYbVpWEWNSoZ3ndyoE3IvAytBTykuh84RTkTiCkzSVxZF9V3rmpMkY8dG3OKhqTTsRhXgiGlP2lbvQlOtZttMMXL1gLb2LiLFV5dzr0BDU_JRWqZXAt54aw4qxiSHdw2n89aTBQJMyMI5yiPAsN28C33pcKeXVysKb6GHnQF5HAuvDblshOFy7datJmSBlqxSLU-LpLTc \ No newline at end of file +ssbGAIh69v7vgn55e3ZtH1c6etqW9pVrWRLPRY3ZGbb0AvUEYtNpAlcpNdYaeeCIJkWNWga7mvF35QgyfDme8jCobIL1CEfoPWdZL8yVd6-DzLHeaLlNJ9GpPOewOF4kiHyxSujYNNepf8Nf5aYj8-FXV_j1KugpUtNadIhabe-qlf_avgv2lfu_tahHwT7eD-A8Lr2xGS4HOyvO8plqwx3ukMli8nR34drcDvqrD0Uo6_f10e6jqqe-36V7V3Ax8wmzbwXVqcQCw1s5JrbUsE1u7kFmAhNKWU90ESXzSQh0EQEreVCqpBUwyfDbvw1fLKy1pwwb79kVdD0RMwCSf2RGH7qsBJ_GJr2hI4u6qyMY8SvkXX9nRte7aXZyUbvKrn-UIylsV5bnCkf3d4Bw6BR7-kZQsCkVyjrcUzQHySHvHuMxmVHEUvLjK5uf1LlNVKcEz0Icur3bCBddozQAzs2THlc7wjD-R_SBWh9MyKchArDIRpV3UpK7vmsPAVrX7m4m5kFuvXKLBVjgsnAJnCNp0cI_s25awhzCwYySA5aaAVKZvrR-LAPrEixsnAPBLwIybjcrQ8mpl7rhbyNSRPG6LDWSL2n6DJJ_ZBQS2jONBdHjnL1wHgsg_P6dYrTLYsT0dbB-abuYTLgvZLE2XXOHa_5FfpUm2ogyYF_K3jM \ No newline at end of file diff --git a/b812ceb69337a210633378917cba10bc/update/sys_hub_action_type_definition_3ee204634754be100b315003846d4346.xml b/b812ceb69337a210633378917cba10bc/update/sys_hub_action_type_definition_3ee204634754be100b315003846d4346.xml new file mode 100644 index 0000000..a9d4850 --- /dev/null +++ b/b812ceb69337a210633378917cba10bc/update/sys_hub_action_type_definition_3ee204634754be100b315003846d4346.xml @@ -0,0 +1,3769 @@ + + + public + + + + true + + {labelCacheCleanUpExecuted=true} + 28000 + false + + + + Transportation Rate Quote formula + + false + transportation_rate_quote + [{"name":"{{action.distance}}","label":"action➛Distance","type":"action","ref":"","reference_display":"","base_type":"string","parent_table_name":"","column_name":"","choices":null,"attributes":{"sourceId":"","uiTypeLabel":"String","element_mapping_provider":"com.glide.flow_design.action.data.FlowDesignVariableMapper","sourceUiUniqueId":"","sourceType":"","uiType":"string","uiUniqueId":"d600a861-db14-48f2-b773-1a0b4ad64e2b"}},{"name":"{{action.riders}}","label":"action➛Additional Riders","type":"action","ref":"","reference_display":"","base_type":"choice","parent_table_name":"","column_name":"","choices":[],"attributes":{"sourceId":"","uiTypeLabel":"String","element_mapping_provider":"com.glide.flow_design.action.data.FlowDesignVariableMapper","sourceUiUniqueId":"","sourceType":"","uiType":"string","uiUniqueId":"e04d2654-751d-4f33-8496-cb4942017306"}},{"name":"{{action.additional_riders}}","label":"action➛Additional Riders","type":"action","ref":"","reference_display":"","base_type":"choice","parent_table_name":"","column_name":"","choices":[{"label":"1","value":"1","order":1.0},{"label":"2","value":"2","order":2.0},{"label":"3","value":"3","order":3.0}],"attributes":{}},{"name":"{{step[121a59dd-a534-4cdd-8537-e8f987a4591e].totalcost}}","label":"step➛Script step➛Total Cost","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":"fe521569-3a54-4683-9711-d6e55549a125"}},{"name":"{{step[121a59dd-a534-4cdd-8537-e8f987a4591e].average_weekly_rate}}","label":"step➛Script step➛Average Weekly Rate","type":"step","ref":"","reference_display":"","base_type":"string","parent_table_name":"","column_name":"","choices":null,"attributes":{"sourceId":"","sourceUiUniqueId":"","sourceType":""}},{"name":"{{step[121a59dd-a534-4cdd-8537-e8f987a4591e].total_riders}}","label":"step➛Script step➛Total Riders","type":"step","ref":"","reference_display":"","base_type":"string","parent_table_name":"","column_name":"","choices":null,"attributes":{"sourceId":"","sourceUiUniqueId":"","sourceType":""}},{"name":"{{step[121a59dd-a534-4cdd-8537-e8f987a4591e].distance}}","label":"step➛Script step➛Distance","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":"7a7e93f0-076f-4720-b118-a5d63035bd64"}}] + 332b046f4754be100b315003846d4373 + + Transportation Rate Quote + + + + false + published + sys_hub_action_type_definition + admin + 2025-10-06 00:28:20 + global + / + 3ee204634754be100b315003846d4346 + 10 + Transportation Rate Quote + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + sys_hub_action_type_definition_3ee204634754be100b315003846d4346 + admin + 2025-10-06 01:04:27 + false + + + + + + sys_hub_action_type_definition + 3ee204634754be100b315003846d4346 + 1 + sys_variable_value + admin + 2025-10-06 00:37:35 + 6a05c0274754be100b315003846d438a + 0 + admin + 2025-10-06 00:37:35 + {"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\",\"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\"}"}},"serializationFormat":"JSON"} + 5605c0274754be100b315003846d4376 + + + sys_hub_action_type_definition + 3ee204634754be100b315003846d4346 + 3 + sys_variable_value + admin + 2025-10-06 00:37:35 + a605c0274754be100b315003846d438a + 0 + admin + 2025-10-06 00:37:35 + 0 + 5a05c0274754be100b315003846d437f + + + + total_cost + 3ee204634754be100b315003846d4346 + admin + 2025-10-06 00:37:35 + ae05c0274754be100b315003846d4389 + 0 + admin + 2025-10-06 00:37:35 + var__m_sys_hub_action_output_3ee204634754be100b315003846d4346
+ {{step[121a59dd-a534-4cdd-8537-e8f987a4591e].totalcost}} +
+ + total_distance + 3ee204634754be100b315003846d4346 + admin + 2025-10-06 00:59:01 + 50f904eb4754be100b315003846d4369 + 0 + admin + 2025-10-06 00:59:01 + var__m_sys_hub_action_output_3ee204634754be100b315003846d4346
+ {{step[121a59dd-a534-4cdd-8537-e8f987a4591e].distance}} +
+ + total_riders + 3ee204634754be100b315003846d4346 + admin + 2025-10-06 00:59:01 + 14f904eb4754be100b315003846d4369 + 0 + admin + 2025-10-06 00:59:01 + var__m_sys_hub_action_output_3ee204634754be100b315003846d4346
+ {{step[121a59dd-a534-4cdd-8537-e8f987a4591e].total_riders}} +
+ + weekly_rate_average + 3ee204634754be100b315003846d4346 + admin + 2025-10-06 00:59:01 + 9cf904eb4754be100b315003846d4368 + 0 + admin + 2025-10-06 00:59:01 + var__m_sys_hub_action_output_3ee204634754be100b315003846d4346
+ {{step[121a59dd-a534-4cdd-8537-e8f987a4591e].average_weekly_rate}} +
+ + __action_status__ + 3ee204634754be100b315003846d4346 + admin + 2025-10-06 00:37:35 + 2605c0274754be100b315003846d438a + 0 + admin + 2025-10-06 00:37:35 + var__m_sys_hub_action_output_3ee204634754be100b315003846d4346
+ +
+ + __dont_treat_as_error__ + 3ee204634754be100b315003846d4346 + admin + 2025-10-06 00:37:35 + 6205c0274754be100b315003846d438a + 0 + admin + 2025-10-06 00:37:35 + var__m_sys_hub_action_output_3ee204634754be100b315003846d4346
+ +
+ + + 3ee204634754be100b315003846d4346 + 121a59dd-a534-4cdd-8537-e8f987a4591e + 1 + + + + + + + 1 + +
+ 106afb6647032200b4fad7527c9a71e7 + admin + 2025-10-06 00:37:34 + 5205c0274754be100b315003846d4339 + 4 + b812ceb69337a210633378917cba10bc + admin + 2025-10-06 01:01:09 + + + + sys_hub_step_instance + 5205c0274754be100b315003846d4339 + 600 + sys_variable_value + admin + 2025-10-06 00:37:35 + 5605c0274754be100b315003846d4372 + 3 + admin + 2025-10-06 01:01:09 + (function execute(inputs, outputs) { + /** + * Calculates weekly transportation rate based on distance and sibling discount. + * + * Rules: + * - Base flat rate = $65/week for up to 3 miles + * - Additional $5 per mile beyond 3 miles + * - 10% sibling discount applies to additional riders (not the first) + * - Adds total riders and average weekly rate per rider + */ + + // Parse inputs + const distance = parseFloat(inputs.distance); + const siblings = parseInt(inputs.additionalRiders || 0, 10); + + // Validate inputs + if (isNaN(distance) || distance < 0) { + outputs.error = "Invalid distance input."; + return; + } + + if (isNaN(siblings) || siblings < 0) { + outputs.error = "Invalid siblings input."; + return; + } + + // Constants + const BASE_RATE = 65; + const EXTRA_MILE_RATE = 5; + const SIBLING_DISCOUNT = 0.1; // 10% + + // Compute rate + const extraMiles = Math.max(0, distance - 3); + const extraCharge = extraMiles * EXTRA_MILE_RATE; + const weeklyRate = BASE_RATE + extraCharge; + + // Apply sibling discount (first rider full, others 10% off) + const siblingRate = weeklyRate * (1 - SIBLING_DISCOUNT); + const totalCost = weeklyRate + (siblingRate * siblings); + + // New calculations + const totalRiders = siblings + 1; + const averageWeeklyRate = totalCost / totalRiders; + + // Set outputs + outputs.distance = distance.toFixed(2); + outputs.siblings = siblings; + outputs.total_riders = totalRiders; + outputs.weeklyRate = weeklyRate.toFixed(2); + outputs.totalcost = totalCost.toFixed(2); + outputs.average_weekly_rate = averageWeeklyRate.toFixed(2); + +})(inputs, outputs); + + 71aa7f6647032200b4fad7527c9a719b + + + sys_hub_step_instance + 5205c0274754be100b315003846d4339 + 400 + sys_variable_value + admin + 2025-10-06 00:37:35 + 9205c0274754be100b315003846d4372 + 0 + admin + 2025-10-06 00:37:35 + 35aa573fd7802200bdbaee5b5e610375 + f5e56d79b3101300176b051a16a8dce4 + + + + additionalRiders + 5205c0274754be100b315003846d4339 + admin + 2025-10-06 00:59:01 + 54f904eb4754be100b315003846d430e + 0 + admin + 2025-10-06 00:59:01 + var__m_sys_hub_step_ext_input_5205c0274754be100b315003846d4339
+ {{action.additional_riders}} +
+ + application + 5205c0274754be100b315003846d4339 + admin + 2025-10-06 00:37:35 + 9605c0274754be100b315003846d4365 + 0 + admin + 2025-10-06 00:37:35 + var__m_sys_flow_step_definition_input_106afb6647032200b4fad7527c9a71e7
+ +
+ + distance + 5205c0274754be100b315003846d4339 + admin + 2025-10-06 00:37:35 + 9e05c0274754be100b315003846d4372 + 0 + admin + 2025-10-06 00:37:35 + var__m_sys_hub_step_ext_input_5205c0274754be100b315003846d4339
+ {{action.distance}} +
+ + riders + 5205c0274754be100b315003846d4339 + admin + 2025-10-06 00:37:35 + 5205c0274754be100b315003846d4373 + 0 + admin + 2025-10-06 00:37:35 + var__m_sys_hub_step_ext_input_5205c0274754be100b315003846d4339
+ {{action.riders}} +
+ + script + 5205c0274754be100b315003846d4339 + admin + 2025-10-06 00:37:35 + 1205c0274754be100b315003846d4372 + 0 + admin + 2025-10-06 00:37:35 + var__m_sys_flow_step_definition_input_106afb6647032200b4fad7527c9a71e7
+ +
+ + + + + + true + false + false + element_mapping_provider=com.glide.flow_design.action.data.FlowDesignVariableMapper,uiType=string,uiTypeLabel=String + false + + + + + + + + + + + + + false + false + + + + distance + false + + + + false + + + string + + + true + false + false + element_mapping_provider=com.glide.flow_design.action.data.FlowDesignVariableMapper,uiType=string,uiTypeLabel=String + false + + + + + + + + + + + + + false + false + + + + additionalRiders + false + + + + false + + + string + + + + true + false + false + element_mapping_provider=com.glide.flow_design.action.data.FlowDesignVariableMapper,uiType=string,uiTypeLabel=String,uiUniqueId=23d50c22-301b-44cd-9a50-5fb4b71d08ad + false + + + + + + + + + + + + + false + false + + + + total_riders + false + + + + false + + + string + + false + 8000 + 5205c0274754be100b315003846d4339 + 5205c0274754be100b315003846d4339 + sys_hub_step_instance + var__m_sys_hub_step_ext_output_5205c0274754be100b315003846d4339 + + 3 + false + false + + + + false + + + + + + false + false + sys_hub_step_ext_output + admin + 2025-10-06 00:59:00 + 14f9c0eb4754be100b315003846d43d9 + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 00:59:00 + 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=54eca00b-87d8-4904-a520-51ce6bef9b45 + false + + + + + + + + + + + + + false + false + + + + average_weekly_rate + false + + + + false + + + string + + false + 8000 + 5205c0274754be100b315003846d4339 + 5205c0274754be100b315003846d4339 + sys_hub_step_instance + var__m_sys_hub_step_ext_output_5205c0274754be100b315003846d4339 + + 4 + false + false + + + + false + + + + + + false + false + sys_hub_step_ext_output + admin + 2025-10-06 00:59:00 + 5cf9c0eb4754be100b315003846d43dc + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 00:59:00 + 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=fe521569-3a54-4683-9711-d6e55549a125 + false + + + + + + + + + + + + + false + false + + + + totalcost + false + + + + false + + + string + + false + 8000 + 5205c0274754be100b315003846d4339 + 5205c0274754be100b315003846d4339 + sys_hub_step_instance + var__m_sys_hub_step_ext_output_5205c0274754be100b315003846d4339 + + 2 + false + false + + + + false + + + + + + false + false + sys_hub_step_ext_output + admin + 2025-10-06 00:37:35 + 9e05c0274754be100b315003846d435b + 2 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 00:59:00 + 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=7a7e93f0-076f-4720-b118-a5d63035bd64 + false + + + + + + + + + + + + + false + false + + + + distance + false + + + + false + + + string + + false + 8000 + 5205c0274754be100b315003846d4339 + 5205c0274754be100b315003846d4339 + sys_hub_step_instance + var__m_sys_hub_step_ext_output_5205c0274754be100b315003846d4339 + + 1 + false + false + + + + false + + + + + + false + false + sys_hub_step_ext_output + admin + 2025-10-06 00:37:35 + d205c0274754be100b315003846d4344 + 1 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 00:40:49 + false + false + false + false + false + simple + false + script + + + false + + + + totalcost + + + + en + var__m_sys_hub_step_ext_output_5205c0274754be100b315003846d4339 + + sys_documentation + admin + 2025-10-06 00:37:35 + 1a05c0274754be100b315003846d435e + 1 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 00:40:49 + + + + + distance + + + + en + var__m_sys_hub_step_ext_output_5205c0274754be100b315003846d4339 + + sys_documentation + admin + 2025-10-06 00:37:35 + 9605c0274754be100b315003846d4347 + 1 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 00:40:49 + + + + + total_riders + + + + en + var__m_sys_hub_step_ext_output_5205c0274754be100b315003846d4339 + + sys_documentation + admin + 2025-10-06 00:59:00 + 9cf9c0eb4754be100b315003846d43db + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 00:59:00 + + + + + average_weekly_rate + + + + en + var__m_sys_hub_step_ext_output_5205c0274754be100b315003846d4339 + + sys_documentation + admin + 2025-10-06 00:59:00 + 9cf9c0eb4754be100b315003846d43eb + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 00:59:00 + + + + + + true + false + false + element_mapping_provider=com.glide.flow_design.action.data.FlowDesignVariableMapper,uiType=string,uiTypeLabel=String,uiUniqueId=d600a861-db14-48f2-b773-1a0b4ad64e2b + false + + + + + + + + + + + + + false + false + + + + distance + false + + + + false + + + string + + false + 8000 + 3ee204634754be100b315003846d4346 + 3ee204634754be100b315003846d4346 + sys_hub_action_type_definition + var__m_sys_hub_action_input_3ee204634754be100b315003846d4346 + + 1 + false + false + + + + false + + + + + + false + false + sys_hub_action_input + admin + 2025-10-06 00:37:34 + 9e05c0274754be100b315003846d432b + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 00:37:34 + false + false + false + false + false + simple + false + script + + + false + + + + true + false + false + element_mapping_provider=com.glide.flow_design.action.data.FlowDesignVariableMapper,uiType=choice,uiTypeLabel=Choice,uiUniqueId=55826536-f36c-42d6-8625-619f48fde20a + false + + 1 + + + + + + + + + + + false + false + + + + additional_riders + false + + + + false + + + choice + + false + 32 + 3ee204634754be100b315003846d4346 + 3ee204634754be100b315003846d4346 + sys_hub_action_type_definition + var__m_sys_hub_action_input_3ee204634754be100b315003846d4346 + + 2 + false + false + + + + false + + + + + + false + false + sys_hub_action_input + admin + 2025-10-06 00:58:59 + c8f9c0eb4754be100b315003846d43a0 + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 00:58:59 + 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=ed273e4a-48db-4b1c-9dbe-d5db72598816 + false + + + + + + + + + + + + + false + false + + + + weekly_rate_average + + false + + + + false + + + + string + + false + 8000 + 3ee204634754be100b315003846d4346 + 3ee204634754be100b315003846d4346 + sys_hub_action_type_definition + var__m_sys_hub_action_output_3ee204634754be100b315003846d4346 + + 4 + false + false + + + + false + + + + + + false + false + sys_hub_action_output + admin + 2025-10-06 00:59:01 + 10f904eb4754be100b315003846d4332 + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 00:59:01 + 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=c41ee979-2f03-4b85-885a-2ed638696c76 + false + + + + + + + + + + + + + false + false + + + + total_cost + + false + + + + false + + + + string + + false + 8000 + 3ee204634754be100b315003846d4346 + 3ee204634754be100b315003846d4346 + sys_hub_action_type_definition + var__m_sys_hub_action_output_3ee204634754be100b315003846d4346 + + 2 + false + false + + + + false + + + + + + false + false + sys_hub_action_output + admin + 2025-10-06 00:37:35 + 1605c0274754be100b315003846d437b + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 00:37:35 + 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=7d1a69e0-bc2a-4ed7-a8fe-c1989c964c37 + false + + + + + + + + + + + + + false + false + + + + total_riders + + false + + + + false + + + + string + + false + 8000 + 3ee204634754be100b315003846d4346 + 3ee204634754be100b315003846d4346 + sys_hub_action_type_definition + var__m_sys_hub_action_output_3ee204634754be100b315003846d4346 + + 5 + false + false + + + + false + + + + + + false + false + sys_hub_action_output + admin + 2025-10-06 00:59:01 + 1cf904eb4754be100b315003846d4342 + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 00:59:01 + 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=37bfb827-c834-4ad0-9e98-7330c9c50740 + false + + + + + + + + + + + + + false + false + + + + total_distance + + false + + + + false + + + + string + + false + 8000 + 3ee204634754be100b315003846d4346 + 3ee204634754be100b315003846d4346 + sys_hub_action_type_definition + var__m_sys_hub_action_output_3ee204634754be100b315003846d4346 + + 6 + false + false + + + + false + + + + + + false + false + sys_hub_action_output + admin + 2025-10-06 00:59:01 + 50f904eb4754be100b315003846d4347 + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 00:59:01 + 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=b503f259-518e-456c-a6ba-64f7c8a5835f + false + + + + + + + + + + + + + false + false + + + + __action_status__ + + false + + + + false + + + + string + + false + 65000 + 3ee204634754be100b315003846d4346 + 3ee204634754be100b315003846d4346 + sys_hub_action_type_definition + var__m_sys_hub_action_output_3ee204634754be100b315003846d4346 + + 1 + false + false + + + + false + + + + + + false + false + sys_hub_action_output + admin + 2025-10-06 00:37:35 + 5605c0274754be100b315003846d4376 + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 00:37:35 + 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=3ad0405f-d805-41e7-9c2a-e811d075888e,visible_in_ui=false + false + + + + + + + + true + + + + + false + false + + + + __dont_treat_as_error__ + + false + + + + false + + + + boolean + + false + 40 + 3ee204634754be100b315003846d4346 + 3ee204634754be100b315003846d4346 + sys_hub_action_type_definition + var__m_sys_hub_action_output_3ee204634754be100b315003846d4346 + + 3 + false + false + + + + false + + + + + + false + false + sys_hub_action_output + admin + 2025-10-06 00:37:35 + 5a05c0274754be100b315003846d437f + 9 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:04:25 + false + false + false + false + false + simple + false + script + + + false + + + + + + + 3ee204634754be100b315003846d4346 + admin + 2025-10-06 00:37:35 + a205c0274754be100b315003846d438c + 0 + admin + 2025-10-06 00:37:35 + + + + distance + + + + en + var__m_sys_hub_action_input_3ee204634754be100b315003846d4346 + + sys_documentation + admin + 2025-10-06 00:37:34 + 9e05c0274754be100b315003846d432f + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 00:37:34 + + + + + additional_riders + + + + en + var__m_sys_hub_action_input_3ee204634754be100b315003846d4346 + + sys_documentation + admin + 2025-10-06 00:59:00 + ccf9c0eb4754be100b315003846d43a5 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 00:59:00 + + + + + + + + additional_riders + + false + + en + var__m_sys_hub_action_input_3ee204634754be100b315003846d4346 + 3 + + admin + 2025-10-06 00:59:00 + global + / + 0cf9c0eb4754be100b315003846d43a4 + 0 + admin + 2025-10-06 00:59:00 + 3 + + + + additional_riders + + false + + en + var__m_sys_hub_action_input_3ee204634754be100b315003846d4346 + 2 + + admin + 2025-10-06 00:59:00 + global + / + 44f9c0eb4754be100b315003846d43a4 + 0 + admin + 2025-10-06 00:59:00 + 2 + + + + additional_riders + + false + + en + var__m_sys_hub_action_input_3ee204634754be100b315003846d4346 + 1 + + admin + 2025-10-06 00:59:00 + global + / + 8cf9c0eb4754be100b315003846d43a3 + 0 + admin + 2025-10-06 00:59:00 + 1 + + + + additional_riders + + false + + en + var__m_sys_hub_action_input_3ee204634754be100b315003846d4346 + 0 + + admin + 2025-10-06 00:59:00 + global + / + c4f9c0eb4754be100b315003846d43a3 + 1 + admin + 2025-10-06 01:01:09 + + + + + __dont_treat_as_error__ + + + + en + var__m_sys_hub_action_output_3ee204634754be100b315003846d4346 + + sys_documentation + admin + 2025-10-06 00:37:35 + 1205c0274754be100b315003846d4385 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 00:37:35 + + + + + __action_status__ + + + + en + var__m_sys_hub_action_output_3ee204634754be100b315003846d4346 + + sys_documentation + admin + 2025-10-06 00:37:35 + 5605c0274754be100b315003846d437a + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 00:37:35 + + + + + weekly_rate_average + + + + en + var__m_sys_hub_action_output_3ee204634754be100b315003846d4346 + + sys_documentation + admin + 2025-10-06 00:59:01 + 5cf904eb4754be100b315003846d4341 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 00:59:01 + + + + + total_riders + + + + en + var__m_sys_hub_action_output_3ee204634754be100b315003846d4346 + + sys_documentation + admin + 2025-10-06 00:59:01 + 90f904eb4754be100b315003846d4346 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 00:59:01 + + + + + total_cost + + + + en + var__m_sys_hub_action_output_3ee204634754be100b315003846d4346 + + sys_documentation + admin + 2025-10-06 00:37:35 + 9a05c0274754be100b315003846d437e + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 00:37:35 + + + + + total_distance + + + + en + var__m_sys_hub_action_output_3ee204634754be100b315003846d4346 + + sys_documentation + admin + 2025-10-06 00:59:01 + d4f904eb4754be100b315003846d434a + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 00:59:01 + + + + + + + 3ee204634754be100b315003846d4346 + {"type":"PlanProxy","persistor":{"@class":".ChunkingPlanPersistor","table":"sys_hub_action_plan","id":"003b446f4754be100b315003846d433b","name":"plan","plan_signature":null}} + 843b446f4754be100b315003846d430c + admin + 2025-10-06 01:04:28 + global + / + 003b446f4754be100b315003846d433b + 0 + + + admin + 2025-10-06 01:04:28 + + + public + + + + + {labelCacheCleanUpExecuted=true} + 28000 + false + + + + Transportation Rate Quote formula + + transportation_rate_quote + [{"name":"{{action.distance}}","label":"action➛Distance","type":"action","ref":"","reference_display":"","base_type":"string","parent_table_name":"","column_name":"","choices":null,"attributes":{"sourceId":"","uiTypeLabel":"String","element_mapping_provider":"com.glide.flow_design.action.data.FlowDesignVariableMapper","sourceUiUniqueId":"","sourceType":"","uiType":"string","uiUniqueId":"d600a861-db14-48f2-b773-1a0b4ad64e2b"}},{"name":"{{action.riders}}","label":"action➛Additional Riders","type":"action","ref":"","reference_display":"","base_type":"choice","parent_table_name":"","column_name":"","choices":[],"attributes":{"sourceId":"","uiTypeLabel":"String","element_mapping_provider":"com.glide.flow_design.action.data.FlowDesignVariableMapper","sourceUiUniqueId":"","sourceType":"","uiType":"string","uiUniqueId":"e04d2654-751d-4f33-8496-cb4942017306"}},{"name":"{{action.additional_riders}}","label":"action➛Additional Riders","type":"action","ref":"","reference_display":"","base_type":"choice","parent_table_name":"","column_name":"","choices":[{"label":"1","value":"1","order":1.0},{"label":"2","value":"2","order":2.0},{"label":"3","value":"3","order":3.0}],"attributes":{}},{"name":"{{step[121a59dd-a534-4cdd-8537-e8f987a4591e].totalcost}}","label":"step➛Script step➛Total Cost","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":"fe521569-3a54-4683-9711-d6e55549a125"}},{"name":"{{step[121a59dd-a534-4cdd-8537-e8f987a4591e].average_weekly_rate}}","label":"step➛Script step➛Average Weekly Rate","type":"step","ref":"","reference_display":"","base_type":"string","parent_table_name":"","column_name":"","choices":null,"attributes":{"sourceId":"","sourceUiUniqueId":"","sourceType":""}},{"name":"{{step[121a59dd-a534-4cdd-8537-e8f987a4591e].total_riders}}","label":"step➛Script step➛Total Riders","type":"step","ref":"","reference_display":"","base_type":"string","parent_table_name":"","column_name":"","choices":null,"attributes":{"sourceId":"","sourceUiUniqueId":"","sourceType":""}},{"name":"{{step[121a59dd-a534-4cdd-8537-e8f987a4591e].distance}}","label":"step➛Script step➛Distance","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":"7a7e93f0-076f-4720-b118-a5d63035bd64"}}] + true + Transportation Rate Quote + + + + 3ee204634754be100b315003846d4346 + sys_hub_action_type_snapshot + admin + 2025-10-06 01:04:26 + global + / + 332b046f4754be100b315003846d4373 + 0 + + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:04:26 + false + + + + + + sys_hub_action_type_snapshot + 332b046f4754be100b315003846d4373 + 1 + sys_variable_value + admin + 2025-10-06 01:04:27 + 403b446f4754be100b315003846d430a + 0 + admin + 2025-10-06 01:04:27 + {"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\",\"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\"}"}},"serializationFormat":"JSON"} + fb2b046f4754be100b315003846d43c2 + + + sys_hub_action_type_snapshot + 332b046f4754be100b315003846d4373 + 3 + sys_variable_value + admin + 2025-10-06 01:04:27 + 8c3b446f4754be100b315003846d4309 + 0 + admin + 2025-10-06 01:04:27 + 0 + 7f2b046f4754be100b315003846d43cb + + + + total_cost + 332b046f4754be100b315003846d4373 + admin + 2025-10-06 01:04:27 + 4c3b446f4754be100b315003846d4308 + 0 + admin + 2025-10-06 01:04:27 + var__m_sys_hub_action_output_332b046f4754be100b315003846d4373
+ {{step[121a59dd-a534-4cdd-8537-e8f987a4591e].totalcost}} +
+ + total_distance + 332b046f4754be100b315003846d4373 + admin + 2025-10-06 01:04:27 + 843b446f4754be100b315003846d4309 + 0 + admin + 2025-10-06 01:04:27 + var__m_sys_hub_action_output_332b046f4754be100b315003846d4373
+ {{step[121a59dd-a534-4cdd-8537-e8f987a4591e].distance}} +
+ + total_riders + 332b046f4754be100b315003846d4373 + admin + 2025-10-06 01:04:27 + 0c3b446f4754be100b315003846d4309 + 0 + admin + 2025-10-06 01:04:27 + var__m_sys_hub_action_output_332b046f4754be100b315003846d4373
+ {{step[121a59dd-a534-4cdd-8537-e8f987a4591e].total_riders}} +
+ + weekly_rate_average + 332b046f4754be100b315003846d4373 + admin + 2025-10-06 01:04:27 + 003b446f4754be100b315003846d4309 + 0 + admin + 2025-10-06 01:04:27 + var__m_sys_hub_action_output_332b046f4754be100b315003846d4373
+ {{step[121a59dd-a534-4cdd-8537-e8f987a4591e].average_weekly_rate}} +
+ + __action_status__ + 332b046f4754be100b315003846d4373 + admin + 2025-10-06 01:04:27 + 483b446f4754be100b315003846d4309 + 0 + admin + 2025-10-06 01:04:27 + var__m_sys_hub_action_output_332b046f4754be100b315003846d4373
+ +
+ + __dont_treat_as_error__ + 332b046f4754be100b315003846d4373 + admin + 2025-10-06 01:04:27 + c03b446f4754be100b315003846d4309 + 0 + admin + 2025-10-06 01:04:27 + var__m_sys_hub_action_output_332b046f4754be100b315003846d4373
+ +
+ + + 332b046f4754be100b315003846d4373 + 121a59dd-a534-4cdd-8537-e8f987a4591e + 1 + + + + + + + 1 + +
+ 106afb6647032200b4fad7527c9a71e7 + admin + 2025-10-06 01:04:26 + 372b046f4754be100b315003846d4391 + 1 + b812ceb69337a210633378917cba10bc + admin + 2025-10-06 01:04:26 + + + + sys_hub_step_instance + 372b046f4754be100b315003846d4391 + 400 + sys_variable_value + admin + 2025-10-06 01:04:26 + 3b2b046f4754be100b315003846d43be + 0 + admin + 2025-10-06 01:04:26 + 35aa573fd7802200bdbaee5b5e610375 + f5e56d79b3101300176b051a16a8dce4 + + + sys_hub_step_instance + 372b046f4754be100b315003846d4391 + 600 + sys_variable_value + admin + 2025-10-06 01:04:26 + fb2b046f4754be100b315003846d43be + 0 + admin + 2025-10-06 01:04:26 + (function execute(inputs, outputs) { + /** + * Calculates weekly transportation rate based on distance and sibling discount. + * + * Rules: + * - Base flat rate = $65/week for up to 3 miles + * - Additional $5 per mile beyond 3 miles + * - 10% sibling discount applies to additional riders (not the first) + * - Adds total riders and average weekly rate per rider + */ + + // Parse inputs + const distance = parseFloat(inputs.distance); + const siblings = parseInt(inputs.additionalRiders || 0, 10); + + // Validate inputs + if (isNaN(distance) || distance < 0) { + outputs.error = "Invalid distance input."; + return; + } + + if (isNaN(siblings) || siblings < 0) { + outputs.error = "Invalid siblings input."; + return; + } + + // Constants + const BASE_RATE = 65; + const EXTRA_MILE_RATE = 5; + const SIBLING_DISCOUNT = 0.1; // 10% + + // Compute rate + const extraMiles = Math.max(0, distance - 3); + const extraCharge = extraMiles * EXTRA_MILE_RATE; + const weeklyRate = BASE_RATE + extraCharge; + + // Apply sibling discount (first rider full, others 10% off) + const siblingRate = weeklyRate * (1 - SIBLING_DISCOUNT); + const totalCost = weeklyRate + (siblingRate * siblings); + + // New calculations + const totalRiders = siblings + 1; + const averageWeeklyRate = totalCost / totalRiders; + + // Set outputs + outputs.distance = distance.toFixed(2); + outputs.siblings = siblings; + outputs.total_riders = totalRiders; + outputs.weeklyRate = weeklyRate.toFixed(2); + outputs.totalcost = totalCost.toFixed(2); + outputs.average_weekly_rate = averageWeeklyRate.toFixed(2); + +})(inputs, outputs); + + 71aa7f6647032200b4fad7527c9a719b + + + + additionalRiders + 372b046f4754be100b315003846d4391 + admin + 2025-10-06 01:04:26 + f72b046f4754be100b315003846d43bf + 0 + admin + 2025-10-06 01:04:26 + var__m_sys_hub_step_ext_input_372b046f4754be100b315003846d4391
+ {{action.additional_riders}} +
+ + application + 372b046f4754be100b315003846d4391 + admin + 2025-10-06 01:04:26 + f32b046f4754be100b315003846d43be + 0 + admin + 2025-10-06 01:04:26 + var__m_sys_flow_step_definition_input_106afb6647032200b4fad7527c9a71e7
+ +
+ + distance + 372b046f4754be100b315003846d4391 + admin + 2025-10-06 01:04:26 + 372b046f4754be100b315003846d43bf + 0 + admin + 2025-10-06 01:04:26 + var__m_sys_hub_step_ext_input_372b046f4754be100b315003846d4391
+ {{action.distance}} +
+ + script + 372b046f4754be100b315003846d4391 + admin + 2025-10-06 01:04:26 + b72b046f4754be100b315003846d43be + 0 + admin + 2025-10-06 01:04:26 + var__m_sys_flow_step_definition_input_106afb6647032200b4fad7527c9a71e7
+ +
+ + + + + + true + false + false + element_mapping_provider=com.glide.flow_design.action.data.FlowDesignVariableMapper,uiType=string,uiTypeLabel=String + false + + + + + + + + + + + + + false + false + + + + distance + false + + + + false + + + string + + true + 8000 + 372b046f4754be100b315003846d4391 + 372b046f4754be100b315003846d4391 + sys_hub_step_instance + var__m_sys_hub_step_ext_input_372b046f4754be100b315003846d4391 + + 0 + false + false + + + + false + + + + + + false + false + sys_hub_step_ext_input + admin + 2025-10-06 01:04:26 + f32b046f4754be100b315003846d4395 + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:04:26 + 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 + false + + + + + + + + + + + + + false + false + + + + additionalRiders + false + + + + false + + + string + + true + 8000 + 372b046f4754be100b315003846d4391 + 372b046f4754be100b315003846d4391 + sys_hub_step_instance + var__m_sys_hub_step_ext_input_372b046f4754be100b315003846d4391 + + 100 + false + false + + + + false + + + + + + false + false + sys_hub_step_ext_input + admin + 2025-10-06 01:04:26 + f72b046f4754be100b315003846d4399 + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:04:26 + 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=fe521569-3a54-4683-9711-d6e55549a125 + false + + + + + + + + + + + + + false + false + + + + totalcost + false + + + + false + + + string + + false + 8000 + 372b046f4754be100b315003846d4391 + 372b046f4754be100b315003846d4391 + sys_hub_step_instance + var__m_sys_hub_step_ext_output_372b046f4754be100b315003846d4391 + + 2 + false + false + + + + false + + + + + + false + false + sys_hub_step_ext_output + admin + 2025-10-06 01:04:26 + 7b2b046f4754be100b315003846d43a1 + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:04:26 + 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=23d50c22-301b-44cd-9a50-5fb4b71d08ad + false + + + + + + + + + + + + + false + false + + + + total_riders + false + + + + false + + + string + + false + 8000 + 372b046f4754be100b315003846d4391 + 372b046f4754be100b315003846d4391 + sys_hub_step_instance + var__m_sys_hub_step_ext_output_372b046f4754be100b315003846d4391 + + 3 + false + false + + + + false + + + + + + false + false + sys_hub_step_ext_output + admin + 2025-10-06 01:04:26 + b32b046f4754be100b315003846d43a5 + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:04:26 + 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=7a7e93f0-076f-4720-b118-a5d63035bd64 + false + + + + + + + + + + + + + false + false + + + + distance + false + + + + false + + + string + + false + 8000 + 372b046f4754be100b315003846d4391 + 372b046f4754be100b315003846d4391 + sys_hub_step_instance + var__m_sys_hub_step_ext_output_372b046f4754be100b315003846d4391 + + 1 + false + false + + + + false + + + + + + false + false + sys_hub_step_ext_output + admin + 2025-10-06 01:04:26 + f72b046f4754be100b315003846d439d + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:04:26 + 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=54eca00b-87d8-4904-a520-51ce6bef9b45 + false + + + + + + + + + + + + + false + false + + + + average_weekly_rate + false + + + + false + + + string + + false + 8000 + 372b046f4754be100b315003846d4391 + 372b046f4754be100b315003846d4391 + sys_hub_step_instance + var__m_sys_hub_step_ext_output_372b046f4754be100b315003846d4391 + + 4 + false + false + + + + false + + + + + + false + false + sys_hub_step_ext_output + admin + 2025-10-06 01:04:26 + fb2b046f4754be100b315003846d43a8 + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:04:26 + false + false + false + false + false + simple + false + script + + + false + + + + total_riders + + + + en + var__m_sys_hub_step_ext_output_372b046f4754be100b315003846d4391 + + sys_documentation + admin + 2025-10-06 01:04:26 + 3f2b046f4754be100b315003846d43a7 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:04:26 + + + + + average_weekly_rate + + + + en + var__m_sys_hub_step_ext_output_372b046f4754be100b315003846d4391 + + sys_documentation + admin + 2025-10-06 01:04:26 + 3f2b046f4754be100b315003846d43b7 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:04:26 + + + + + distance + + + + en + var__m_sys_hub_step_ext_output_372b046f4754be100b315003846d4391 + + sys_documentation + admin + 2025-10-06 01:04:26 + bb2b046f4754be100b315003846d43a0 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:04:26 + + + + + totalcost + + + + en + var__m_sys_hub_step_ext_output_372b046f4754be100b315003846d4391 + + sys_documentation + admin + 2025-10-06 01:04:26 + f32b046f4754be100b315003846d43a4 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:04:26 + + + + + + true + false + false + element_mapping_provider=com.glide.flow_design.action.data.FlowDesignVariableMapper,uiType=choice,uiTypeLabel=Choice,uiUniqueId=55826536-f36c-42d6-8625-619f48fde20a + false + + 1 + + + + + + + + + + + false + false + + + + additional_riders + false + + + + false + + + choice + + false + 32 + 332b046f4754be100b315003846d4373 + 332b046f4754be100b315003846d4373 + sys_hub_action_type_snapshot + var__m_sys_hub_action_input_332b046f4754be100b315003846d4373 + + 2 + false + false + + + + false + + + + + + false + false + sys_hub_action_input + admin + 2025-10-06 01:04:26 + 732b046f4754be100b315003846d4387 + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:04:26 + 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=d600a861-db14-48f2-b773-1a0b4ad64e2b + false + + + + + + + + + + + + + false + false + + + + distance + false + + + + false + + + string + + false + 8000 + 332b046f4754be100b315003846d4373 + 332b046f4754be100b315003846d4373 + sys_hub_action_type_snapshot + var__m_sys_hub_action_input_332b046f4754be100b315003846d4373 + + 1 + false + false + + + + false + + + + + + false + false + sys_hub_action_input + admin + 2025-10-06 01:04:26 + fb2b046f4754be100b315003846d4375 + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:04:26 + 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=c41ee979-2f03-4b85-885a-2ed638696c76 + false + + + + + + + + + + + + + false + false + + + + total_cost + + false + + + + false + + + + string + + false + 8000 + 332b046f4754be100b315003846d4373 + 332b046f4754be100b315003846d4373 + sys_hub_action_type_snapshot + var__m_sys_hub_action_output_332b046f4754be100b315003846d4373 + + 2 + false + false + + + + false + + + + + + false + false + sys_hub_action_output + admin + 2025-10-06 01:04:27 + 7b2b046f4754be100b315003846d43c7 + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:04:27 + 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=3ad0405f-d805-41e7-9c2a-e811d075888e,visible_in_ui=false + false + + + + + + + + true + + + + + false + false + + + + __dont_treat_as_error__ + + false + + + + false + + + + boolean + + false + 40 + 332b046f4754be100b315003846d4373 + 332b046f4754be100b315003846d4373 + sys_hub_action_type_snapshot + var__m_sys_hub_action_output_332b046f4754be100b315003846d4373 + + 3 + false + false + + + + false + + + + + + false + false + sys_hub_action_output + admin + 2025-10-06 01:04:27 + 7f2b046f4754be100b315003846d43cb + 1 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:04:27 + 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=ed273e4a-48db-4b1c-9dbe-d5db72598816 + false + + + + + + + + + + + + + false + false + + + + weekly_rate_average + + false + + + + false + + + + string + + false + 8000 + 332b046f4754be100b315003846d4373 + 332b046f4754be100b315003846d4373 + sys_hub_action_type_snapshot + var__m_sys_hub_action_output_332b046f4754be100b315003846d4373 + + 4 + false + false + + + + false + + + + + + false + false + sys_hub_action_output + admin + 2025-10-06 01:04:27 + b32b046f4754be100b315003846d43d2 + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:04:27 + 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=7d1a69e0-bc2a-4ed7-a8fe-c1989c964c37 + false + + + + + + + + + + + + + false + false + + + + total_riders + + false + + + + false + + + + string + + false + 8000 + 332b046f4754be100b315003846d4373 + 332b046f4754be100b315003846d4373 + sys_hub_action_type_snapshot + var__m_sys_hub_action_output_332b046f4754be100b315003846d4373 + + 5 + false + false + + + + false + + + + + + false + false + sys_hub_action_output + admin + 2025-10-06 01:04:27 + b72b046f4754be100b315003846d43d6 + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:04:27 + 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=37bfb827-c834-4ad0-9e98-7330c9c50740 + false + + + + + + + + + + + + + false + false + + + + total_distance + + false + + + + false + + + + string + + false + 8000 + 332b046f4754be100b315003846d4373 + 332b046f4754be100b315003846d4373 + sys_hub_action_type_snapshot + var__m_sys_hub_action_output_332b046f4754be100b315003846d4373 + + 6 + false + false + + + + false + + + + + + false + false + sys_hub_action_output + admin + 2025-10-06 01:04:27 + bb2b046f4754be100b315003846d43da + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:04:27 + 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=b503f259-518e-456c-a6ba-64f7c8a5835f + false + + + + + + + + + + + + + false + false + + + + __action_status__ + + false + + + + false + + + + string + + false + 65000 + 332b046f4754be100b315003846d4373 + 332b046f4754be100b315003846d4373 + sys_hub_action_type_snapshot + var__m_sys_hub_action_output_332b046f4754be100b315003846d4373 + + 1 + false + false + + + + false + + + + + + false + false + sys_hub_action_output + admin + 2025-10-06 01:04:26 + fb2b046f4754be100b315003846d43c2 + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:04:26 + false + false + false + false + false + simple + false + script + + + false + + + + + + + 332b046f4754be100b315003846d4373 + admin + 2025-10-06 01:04:27 + c03b446f4754be100b315003846d430c + 0 + admin + 2025-10-06 01:04:27 + + + + distance + + + + en + var__m_sys_hub_action_input_332b046f4754be100b315003846d4373 + + sys_documentation + admin + 2025-10-06 01:04:26 + b32b046f4754be100b315003846d4386 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:04:26 + + + + + additional_riders + + + + en + var__m_sys_hub_action_input_332b046f4754be100b315003846d4373 + + sys_documentation + admin + 2025-10-06 01:04:26 + b32b046f4754be100b315003846d438c + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:04:26 + + + + + + + + additional_riders + + false + + en + var__m_sys_hub_action_input_332b046f4754be100b315003846d4373 + 3 + + admin + 2025-10-06 01:04:26 + global + / + 332b046f4754be100b315003846d438b + 0 + admin + 2025-10-06 01:04:26 + 3 + + + + additional_riders + + false + + en + var__m_sys_hub_action_input_332b046f4754be100b315003846d4373 + 2 + + admin + 2025-10-06 01:04:26 + global + / + 7b2b046f4754be100b315003846d438a + 0 + admin + 2025-10-06 01:04:26 + 2 + + + + additional_riders + + false + + en + var__m_sys_hub_action_input_332b046f4754be100b315003846d4373 + 1 + + admin + 2025-10-06 01:04:26 + global + / + b32b046f4754be100b315003846d438a + 0 + admin + 2025-10-06 01:04:26 + 1 + + + + additional_riders + + false + + en + var__m_sys_hub_action_input_332b046f4754be100b315003846d4373 + 0 + + admin + 2025-10-06 01:04:26 + global + / + fb2b046f4754be100b315003846d4389 + 0 + admin + 2025-10-06 01:04:26 + + + + + total_distance + + + + en + var__m_sys_hub_action_output_332b046f4754be100b315003846d4373 + + sys_documentation + admin + 2025-10-06 01:04:27 + 043b446f4754be100b315003846d4303 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:04:27 + + + + + __action_status__ + + + + en + var__m_sys_hub_action_output_332b046f4754be100b315003846d4373 + + sys_documentation + admin + 2025-10-06 01:04:27 + bb2b046f4754be100b315003846d43c6 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:04:27 + + + + + total_cost + + + + en + var__m_sys_hub_action_output_332b046f4754be100b315003846d4373 + + sys_documentation + admin + 2025-10-06 01:04:27 + bf2b046f4754be100b315003846d43ca + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:04:27 + + + + + __dont_treat_as_error__ + + + + en + var__m_sys_hub_action_output_332b046f4754be100b315003846d4373 + + sys_documentation + admin + 2025-10-06 01:04:27 + f32b046f4754be100b315003846d43d1 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:04:27 + + + + + weekly_rate_average + + + + en + var__m_sys_hub_action_output_332b046f4754be100b315003846d4373 + + sys_documentation + admin + 2025-10-06 01:04:27 + f72b046f4754be100b315003846d43d5 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:04:27 + + + + + total_riders + + + + en + var__m_sys_hub_action_output_332b046f4754be100b315003846d4373 + + sys_documentation + admin + 2025-10-06 01:04:27 + fb2b046f4754be100b315003846d43d9 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:04:27 + + + + + + 3ee204634754be100b315003846d4346 + 332b046f4754be100b315003846d4373 + glide-zurich-07-01-2025__patch0-07-15-2025_07-23-2025_1759.zip + + From f970af8500738af0944e3d84aef4d9f53a1a3da1 Mon Sep 17 00:00:00 2001 From: admin Date: Sun, 5 Oct 2025 18:24:50 -0700 Subject: [PATCH 3/3] =?UTF-8?q?Calculates=20a=20salesperson=E2=80=99s=20co?= =?UTF-8?q?mmission=20and=20total=20pay=20from=20their=20sales=20and=20com?= =?UTF-8?q?mission=20rate.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- b812ceb69337a210633378917cba10bc/checksum.txt | 2 +- ...ition_601ec4634794be100b315003846d4379.xml | 3945 +++++++++++++++++ 2 files changed, 3946 insertions(+), 1 deletion(-) create mode 100644 b812ceb69337a210633378917cba10bc/update/sys_hub_action_type_definition_601ec4634794be100b315003846d4379.xml diff --git a/b812ceb69337a210633378917cba10bc/checksum.txt b/b812ceb69337a210633378917cba10bc/checksum.txt index ae5d6d5..6846667 100644 --- a/b812ceb69337a210633378917cba10bc/checksum.txt +++ b/b812ceb69337a210633378917cba10bc/checksum.txt @@ -1 +1 @@ -ssbGAIh69v7vgn55e3ZtH1c6etqW9pVrWRLPRY3ZGbb0AvUEYtNpAlcpNdYaeeCIJkWNWga7mvF35QgyfDme8jCobIL1CEfoPWdZL8yVd6-DzLHeaLlNJ9GpPOewOF4kiHyxSujYNNepf8Nf5aYj8-FXV_j1KugpUtNadIhabe-qlf_avgv2lfu_tahHwT7eD-A8Lr2xGS4HOyvO8plqwx3ukMli8nR34drcDvqrD0Uo6_f10e6jqqe-36V7V3Ax8wmzbwXVqcQCw1s5JrbUsE1u7kFmAhNKWU90ESXzSQh0EQEreVCqpBUwyfDbvw1fLKy1pwwb79kVdD0RMwCSf2RGH7qsBJ_GJr2hI4u6qyMY8SvkXX9nRte7aXZyUbvKrn-UIylsV5bnCkf3d4Bw6BR7-kZQsCkVyjrcUzQHySHvHuMxmVHEUvLjK5uf1LlNVKcEz0Icur3bCBddozQAzs2THlc7wjD-R_SBWh9MyKchArDIRpV3UpK7vmsPAVrX7m4m5kFuvXKLBVjgsnAJnCNp0cI_s25awhzCwYySA5aaAVKZvrR-LAPrEixsnAPBLwIybjcrQ8mpl7rhbyNSRPG6LDWSL2n6DJJ_ZBQS2jONBdHjnL1wHgsg_P6dYrTLYsT0dbB-abuYTLgvZLE2XXOHa_5FfpUm2ogyYF_K3jM \ No newline at end of file +NeXygXE0RwoB0gUdgyGNY2WFgi_Di1QQGyQLz3PiSF3lluFQV1FEmmNAMz1LQ_WGgHaeWR55bW1i7it9lgmeICV3pmEzmFLxk4jHrnanP9pfxbXUOcPnBUUT1qc6Kc3FBJwEmaO7ARQQd3ccZnyV7bJHmZuDciFeJkITHk3m7KqU6hwofKd-FaZsvFqS__Q3p2m1omubKiftuOQYC0tsgrNkAnA-WzYLg8XLLOtcuoM-riQDuxRPmnDOEPPIxRClOgX59B_1VBr1D_lYHyXBMg3m5GcStVKuShNphYXacq77ul1NYQVE7e7aa243yOwex0R5NeWvzS-7DwVYBVysL1cuiDS3qvga4YGTx99FqIOWZgBWPwQ0-r8KRG3GyrWT8saHyCav3RbLPIvYfkw0s69E5f5AWAh7x6onZqLAFDNQ9oYiofg7hpDPj2crs5ejG7h5qVopbUxRkVNaRwRwqwmubNWQK-AzoQ44H2FCj7sIXTQG5ob5ZO4_tOnmZqP_toypZBKa-0vZiKFuzNBkifQj2aUhLNXUNBeUqi4TOvZoh444ZsgeHmwqDSKm_LSrctIHTwF7SpSDnuP14s5_TGqaIQV4eEEIpHOj8t48XfQiruBGVOFsm4w1_uvxL2820-u01hEtoIBFrgs8SeYV1VB64jWBqwVyyHXnwibTqqQ \ No newline at end of file diff --git a/b812ceb69337a210633378917cba10bc/update/sys_hub_action_type_definition_601ec4634794be100b315003846d4379.xml b/b812ceb69337a210633378917cba10bc/update/sys_hub_action_type_definition_601ec4634794be100b315003846d4379.xml new file mode 100644 index 0000000..c30e27b --- /dev/null +++ b/b812ceb69337a210633378917cba10bc/update/sys_hub_action_type_definition_601ec4634794be100b315003846d4379.xml @@ -0,0 +1,3945 @@ + + + public + + + + true + + {labelCacheCleanUpExecuted=true} + 28000 + false + + + + Get Total Estimate Commission amount + + false + commission_formula + [{"name":"{{action.sales_amount}}","label":"action➛Sales Amount","type":"action","ref":"","reference_display":"","base_type":"string","parent_table_name":"","column_name":"","choices":null,"attributes":{}},{"name":"{{action.commission_rate}}","label":"action➛Commission Rate","type":"action","ref":"","reference_display":"","base_type":"string","parent_table_name":"","column_name":"","choices":null,"attributes":{}},{"name":"{{action.base_salary}}","label":"action➛Base Salary","type":"action","ref":"","reference_display":"","base_type":"string","parent_table_name":"","column_name":"","choices":null,"attributes":{}},{"name":"{{step[ad11d46e-7001-42ca-9b29-6a06cdb51acf].sales_amount}}","label":"step➛Script step➛Sales Amount","type":"step","ref":"","reference_display":"","base_type":"string","parent_table_name":"","column_name":"","choices":null,"attributes":{"sourceId":"","sourceUiUniqueId":"","sourceType":""}},{"name":"{{step[ad11d46e-7001-42ca-9b29-6a06cdb51acf].commission_rate}}","label":"step➛Script step➛Commission Rate","type":"step","ref":"","reference_display":"","base_type":"string","parent_table_name":"","column_name":"","choices":null,"attributes":{"sourceId":"","sourceUiUniqueId":"","sourceType":""}},{"name":"{{step[ad11d46e-7001-42ca-9b29-6a06cdb51acf].commission}}","label":"step➛Script step➛Commission","type":"step","ref":"","reference_display":"","base_type":"string","parent_table_name":"","column_name":"","choices":null,"attributes":{"sourceId":"","sourceUiUniqueId":"","sourceType":""}},{"name":"{{step[ad11d46e-7001-42ca-9b29-6a06cdb51acf].total_pay}}","label":"step➛Script step➛Total Pay","type":"step","ref":"","reference_display":"","base_type":"string","parent_table_name":"","column_name":"","choices":null,"attributes":{"sourceId":"","sourceUiUniqueId":"","sourceType":""}}] + 798f88e34794be100b315003846d43cb + + Commission Formula + + + + false + published + sys_hub_action_type_definition + admin + 2025-10-06 01:17:03 + global + / + 601ec4634794be100b315003846d4379 + 5 + Commission Formula + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + sys_hub_action_type_definition_601ec4634794be100b315003846d4379 + admin + 2025-10-06 01:23:26 + false + + + + + + sys_hub_action_type_definition + 601ec4634794be100b315003846d4379 + 3 + sys_variable_value + admin + 2025-10-06 01:22:06 + 2a3f40e34794be100b315003846d4363 + 0 + admin + 2025-10-06 01:22:06 + 0 + 9a3f40e34794be100b315003846d4331 + + + sys_hub_action_type_definition + 601ec4634794be100b315003846d4379 + 1 + sys_variable_value + admin + 2025-10-06 01:22:06 + ea3f40e34794be100b315003846d4363 + 0 + admin + 2025-10-06 01:22:06 + {"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\",\"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\"}"}},"serializationFormat":"JSON"} + 963f40e34794be100b315003846d4328 + + + + commission + 601ec4634794be100b315003846d4379 + admin + 2025-10-06 01:22:06 + 6e3f40e34794be100b315003846d4362 + 0 + admin + 2025-10-06 01:22:06 + var__m_sys_hub_action_output_601ec4634794be100b315003846d4379
+ {{step[ad11d46e-7001-42ca-9b29-6a06cdb51acf].commission}} +
+ + commission_rate + 601ec4634794be100b315003846d4379 + admin + 2025-10-06 01:22:06 + e23f40e34794be100b315003846d4363 + 0 + admin + 2025-10-06 01:22:06 + var__m_sys_hub_action_output_601ec4634794be100b315003846d4379
+ {{step[ad11d46e-7001-42ca-9b29-6a06cdb51acf].commission_rate}} +
+ + sales_amount + 601ec4634794be100b315003846d4379 + admin + 2025-10-06 01:22:06 + 223f40e34794be100b315003846d4363 + 0 + admin + 2025-10-06 01:22:06 + var__m_sys_hub_action_output_601ec4634794be100b315003846d4379
+ {{step[ad11d46e-7001-42ca-9b29-6a06cdb51acf].sales_amount}} +
+ + total_pay + 601ec4634794be100b315003846d4379 + admin + 2025-10-06 01:22:06 + e63f40e34794be100b315003846d4362 + 0 + admin + 2025-10-06 01:22:06 + var__m_sys_hub_action_output_601ec4634794be100b315003846d4379
+ {{step[ad11d46e-7001-42ca-9b29-6a06cdb51acf].total_pay}} +
+ + __action_status__ + 601ec4634794be100b315003846d4379 + admin + 2025-10-06 01:22:06 + a63f40e34794be100b315003846d4363 + 0 + admin + 2025-10-06 01:22:06 + var__m_sys_hub_action_output_601ec4634794be100b315003846d4379
+ +
+ + __dont_treat_as_error__ + 601ec4634794be100b315003846d4379 + admin + 2025-10-06 01:22:06 + aa3f40e34794be100b315003846d4362 + 0 + admin + 2025-10-06 01:22:06 + var__m_sys_hub_action_output_601ec4634794be100b315003846d4379
+ +
+ + + 601ec4634794be100b315003846d4379 + ad11d46e-7001-42ca-9b29-6a06cdb51acf + 1 + + + + + + + 1 + +
+ 106afb6647032200b4fad7527c9a71e7 + admin + 2025-10-06 01:22:05 + da3f00e34794be100b315003846d43f4 + 1 + b812ceb69337a210633378917cba10bc + admin + 2025-10-06 01:22:05 + + + + sys_hub_step_instance + da3f00e34794be100b315003846d43f4 + 600 + sys_variable_value + admin + 2025-10-06 01:22:05 + 923f40e34794be100b315003846d4324 + 0 + admin + 2025-10-06 01:22:05 + (function execute(inputs, outputs) { + /** + * Calculates sales commission based on total sales and commission rate. + * Formula: commission = (salesAmount * commissionRate) / 100 + */ + + // Get and parse inputs + var salesAmount = parseFloat(inputs.salesAmount); + var commissionRate = parseFloat(inputs.commissionRate); + var baseSalary = parseFloat(inputs.baseSalary || 0); // optional + + // Validate inputs + if (isNaN(salesAmount) || isNaN(commissionRate)) { + outputs.error = "Invalid input values. Please check sales amount and commission rate."; + return; + } + + // Calculate commission and total pay + var commission = (salesAmount * commissionRate) / 100; + var totalPay = baseSalary + commission; + + // Set outputs + outputs.sales_amount = salesAmount.toFixed(2); + outputs.commission_rate = commissionRate.toFixed(2); + outputs.commission = commission.toFixed(2); + outputs.total_pay = totalPay.toFixed(2); +})(inputs, outputs); + + 71aa7f6647032200b4fad7527c9a719b + + + sys_hub_step_instance + da3f00e34794be100b315003846d43f4 + 400 + sys_variable_value + admin + 2025-10-06 01:22:05 + de3f40e34794be100b315003846d4323 + 0 + admin + 2025-10-06 01:22:05 + 35aa573fd7802200bdbaee5b5e610375 + f5e56d79b3101300176b051a16a8dce4 + + + + application + da3f00e34794be100b315003846d43f4 + admin + 2025-10-06 01:22:05 + 9a3f40e34794be100b315003846d4323 + 0 + admin + 2025-10-06 01:22:05 + var__m_sys_flow_step_definition_input_106afb6647032200b4fad7527c9a71e7
+ +
+ + baseSalary + da3f00e34794be100b315003846d43f4 + admin + 2025-10-06 01:22:05 + da3f40e34794be100b315003846d4324 + 0 + admin + 2025-10-06 01:22:05 + var__m_sys_hub_step_ext_input_da3f00e34794be100b315003846d43f4
+ {{action.base_salary}} +
+ + commissionRate + da3f00e34794be100b315003846d43f4 + admin + 2025-10-06 01:22:05 + 9e3f40e34794be100b315003846d4324 + 0 + admin + 2025-10-06 01:22:05 + var__m_sys_hub_step_ext_input_da3f00e34794be100b315003846d43f4
+ {{action.commission_rate}} +
+ + salesAmount + da3f00e34794be100b315003846d43f4 + admin + 2025-10-06 01:22:05 + 523f40e34794be100b315003846d4325 + 0 + admin + 2025-10-06 01:22:05 + var__m_sys_hub_step_ext_input_da3f00e34794be100b315003846d43f4
+ {{action.sales_amount}} +
+ + script + da3f00e34794be100b315003846d43f4 + admin + 2025-10-06 01:22:05 + 5e3f40e34794be100b315003846d4323 + 0 + admin + 2025-10-06 01:22:05 + var__m_sys_flow_step_definition_input_106afb6647032200b4fad7527c9a71e7
+ +
+ + + + + + true + false + false + element_mapping_provider=com.glide.flow_design.action.data.FlowDesignVariableMapper,uiType=string,uiTypeLabel=String + false + + + + + + + + + + + + + false + false + + + + baseSalary + false + + + + false + + + string + + + true + false + false + element_mapping_provider=com.glide.flow_design.action.data.FlowDesignVariableMapper,uiType=string,uiTypeLabel=String + false + + + + + + + + + + + + + false + false + + + + salesAmount + false + + + + false + + + string + + + true + false + false + element_mapping_provider=com.glide.flow_design.action.data.FlowDesignVariableMapper,uiType=string,uiTypeLabel=String + false + + + + + + + + + + + + + false + false + + + + commissionRate + false + + + + false + + + string + + + + true + false + false + element_mapping_provider=com.glide.flow_design.action.data.FlowDesignVariableMapper,uiType=string,uiTypeLabel=String,uiUniqueId=29e34b00-28de-409f-b727-ced9209c5e5d + false + + + + + + + + + + + + + false + false + + + + commission_rate + false + + + + false + + + string + + false + 8000 + da3f00e34794be100b315003846d43f4 + da3f00e34794be100b315003846d43f4 + sys_hub_step_instance + var__m_sys_hub_step_ext_output_da3f00e34794be100b315003846d43f4 + + 2 + false + false + + + + false + + + + + + false + false + sys_hub_step_ext_output + admin + 2025-10-06 01:22:05 + 5e3f40e34794be100b315003846d4312 + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:22:05 + 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=52565aa1-5a3a-4ddb-ae43-b5e817f0ee69 + false + + + + + + + + + + + + + false + false + + + + commission + false + + + + false + + + string + + false + 8000 + da3f00e34794be100b315003846d43f4 + da3f00e34794be100b315003846d43f4 + sys_hub_step_instance + var__m_sys_hub_step_ext_output_da3f00e34794be100b315003846d43f4 + + 3 + false + false + + + + false + + + + + + false + false + sys_hub_step_ext_output + admin + 2025-10-06 01:22:05 + 963f40e34794be100b315003846d4316 + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:22:05 + 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=7e7772a3-5468-42af-bbcd-7a9194ddace9 + false + + + + + + + + + + + + + false + false + + + + sales_amount + false + + + + false + + + string + + false + 8000 + da3f00e34794be100b315003846d43f4 + da3f00e34794be100b315003846d43f4 + sys_hub_step_instance + var__m_sys_hub_step_ext_output_da3f00e34794be100b315003846d43f4 + + 1 + false + false + + + + false + + + + + + false + false + sys_hub_step_ext_output + admin + 2025-10-06 01:22:05 + da3f40e34794be100b315003846d430e + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:22:05 + 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=507d03ee-0d13-44ea-95eb-27eb979a3187 + false + + + + + + + + + + + + + false + false + + + + total_pay + false + + + + false + + + string + + false + 8000 + da3f00e34794be100b315003846d43f4 + da3f00e34794be100b315003846d43f4 + sys_hub_step_instance + var__m_sys_hub_step_ext_output_da3f00e34794be100b315003846d43f4 + + 4 + false + false + + + + false + + + + + + false + false + sys_hub_step_ext_output + admin + 2025-10-06 01:22:05 + de3f40e34794be100b315003846d4319 + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:22:05 + false + false + false + false + false + simple + false + script + + + false + + + + commission + + + + en + var__m_sys_hub_step_ext_output_da3f00e34794be100b315003846d43f4 + + sys_documentation + admin + 2025-10-06 01:22:05 + 123f40e34794be100b315003846d4319 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:22:05 + + + + + total_pay + + + + en + var__m_sys_hub_step_ext_output_da3f00e34794be100b315003846d43f4 + + sys_documentation + admin + 2025-10-06 01:22:05 + 5a3f40e34794be100b315003846d431c + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:22:05 + + + + + sales_amount + + + + en + var__m_sys_hub_step_ext_output_da3f00e34794be100b315003846d43f4 + + sys_documentation + admin + 2025-10-06 01:22:05 + 9e3f40e34794be100b315003846d4311 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:22:05 + + + + + commission_rate + + + + en + var__m_sys_hub_step_ext_output_da3f00e34794be100b315003846d43f4 + + sys_documentation + admin + 2025-10-06 01:22:05 + d63f40e34794be100b315003846d4315 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:22:05 + + + + + + true + false + false + element_mapping_provider=com.glide.flow_design.action.data.FlowDesignVariableMapper,uiType=string,uiTypeLabel=String,uiUniqueId=5a3ad6c9-1be6-418a-8156-c2bc6aac5338 + false + + + + + + + + + + + + + false + false + + + + sales_amount + false + + + + false + + + string + + true + 8000 + 601ec4634794be100b315003846d4379 + 601ec4634794be100b315003846d4379 + sys_hub_action_type_definition + var__m_sys_hub_action_input_601ec4634794be100b315003846d4379 + + 1 + false + false + + + + false + + + + + + false + false + sys_hub_action_input + admin + 2025-10-06 01:22:04 + 0e3fc86f4754be100b315003846d4376 + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:22:04 + 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=2d509fec-17c8-4aca-a6b6-3c1122a297d7 + false + + + + + + + + + + + + + false + false + + + + commission_rate + false + + + + false + + + string + + true + 8000 + 601ec4634794be100b315003846d4379 + 601ec4634794be100b315003846d4379 + sys_hub_action_type_definition + var__m_sys_hub_action_input_601ec4634794be100b315003846d4379 + + 2 + false + false + + + + false + + + + + + false + false + sys_hub_action_input + admin + 2025-10-06 01:22:05 + 563f00e34794be100b315003846d43d8 + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:22:05 + 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=7e222207-7ca9-4cc9-a4bb-2d4a420f379d + false + + + + + + + + + + + + + false + false + + + + base_salary + false + + + + false + + + string + + false + 8000 + 601ec4634794be100b315003846d4379 + 601ec4634794be100b315003846d4379 + sys_hub_action_type_definition + var__m_sys_hub_action_input_601ec4634794be100b315003846d4379 + + 3 + false + false + + + + false + + + + + + false + false + sys_hub_action_input + admin + 2025-10-06 01:22:05 + 5a3f00e34794be100b315003846d43dc + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:22:05 + 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=02b74116-8876-4a55-9179-653963411ea2 + false + + + + + + + + + + + + + false + false + + + + commission + + false + + + + false + + + + string + + false + 8000 + 601ec4634794be100b315003846d4379 + 601ec4634794be100b315003846d4379 + sys_hub_action_type_definition + var__m_sys_hub_action_output_601ec4634794be100b315003846d4379 + + 5 + false + false + + + + false + + + + + + false + false + sys_hub_action_output + admin + 2025-10-06 01:22:05 + 1e3f40e34794be100b315003846d4348 + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:22:05 + 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=b17518a6-d137-44bb-a473-d5f31fd56f0a + false + + + + + + + + + + + + + false + false + + + + total_pay + + false + + + + false + + + + string + + false + 8000 + 601ec4634794be100b315003846d4379 + 601ec4634794be100b315003846d4379 + sys_hub_action_type_definition + var__m_sys_hub_action_output_601ec4634794be100b315003846d4379 + + 6 + false + false + + + + false + + + + + + false + false + sys_hub_action_output + admin + 2025-10-06 01:22:06 + 523f40e34794be100b315003846d434d + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:22:06 + 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=1bd243bb-2152-4991-9276-5527bccc95ec + false + + + + + + + + + + + + + false + false + + + + sales_amount + + false + + + + false + + + + string + + false + 8000 + 601ec4634794be100b315003846d4379 + 601ec4634794be100b315003846d4379 + sys_hub_action_type_definition + var__m_sys_hub_action_output_601ec4634794be100b315003846d4379 + + 2 + false + false + + + + false + + + + + + false + false + sys_hub_action_output + admin + 2025-10-06 01:22:05 + 563f40e34794be100b315003846d432d + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:22:05 + 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=9d624fac-19dc-4c76-a7ed-72ddd79ee62d + false + + + + + + + + + + + + + false + false + + + + __action_status__ + + false + + + + false + + + + string + + false + 65000 + 601ec4634794be100b315003846d4379 + 601ec4634794be100b315003846d4379 + sys_hub_action_type_definition + var__m_sys_hub_action_output_601ec4634794be100b315003846d4379 + + 1 + false + false + + + + false + + + + + + false + false + sys_hub_action_output + admin + 2025-10-06 01:22:05 + 963f40e34794be100b315003846d4328 + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:22:05 + 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=69a81945-5fee-4621-85d1-c1275b6c7f57,visible_in_ui=false + false + + + + + + + + true + + + + + false + false + + + + __dont_treat_as_error__ + + false + + + + false + + + + boolean + + false + 40 + 601ec4634794be100b315003846d4379 + 601ec4634794be100b315003846d4379 + sys_hub_action_type_definition + var__m_sys_hub_action_output_601ec4634794be100b315003846d4379 + + 3 + false + false + + + + false + + + + + + false + false + sys_hub_action_output + admin + 2025-10-06 01:22:05 + 9a3f40e34794be100b315003846d4331 + 3 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:23:25 + 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=dd23ad9c-b982-4583-89cf-b0d961cfad0b + false + + + + + + + + + + + + + false + false + + + + commission_rate + + false + + + + false + + + + string + + false + 8000 + 601ec4634794be100b315003846d4379 + 601ec4634794be100b315003846d4379 + sys_hub_action_type_definition + var__m_sys_hub_action_output_601ec4634794be100b315003846d4379 + + 4 + false + false + + + + false + + + + + + false + false + sys_hub_action_output + admin + 2025-10-06 01:22:05 + d63f40e34794be100b315003846d4344 + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:22:05 + false + false + false + false + false + simple + false + script + + + false + + + + + + + 601ec4634794be100b315003846d4379 + admin + 2025-10-06 01:22:06 + 6e3f40e34794be100b315003846d4365 + 0 + admin + 2025-10-06 01:22:06 + + + + sales_amount + + + + en + var__m_sys_hub_action_input_601ec4634794be100b315003846d4379 + + sys_documentation + admin + 2025-10-06 01:22:05 + 863f00e34794be100b315003846d43d7 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:22:05 + + + + + commission_rate + + + + en + var__m_sys_hub_action_input_601ec4634794be100b315003846d4379 + + sys_documentation + admin + 2025-10-06 01:22:05 + 9a3f00e34794be100b315003846d43db + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:22:05 + + + + + base_salary + + + + en + var__m_sys_hub_action_input_601ec4634794be100b315003846d4379 + + sys_documentation + admin + 2025-10-06 01:22:05 + 9e3f00e34794be100b315003846d43df + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:22:05 + + + + + + __dont_treat_as_error__ + + + + en + var__m_sys_hub_action_output_601ec4634794be100b315003846d4379 + + sys_documentation + admin + 2025-10-06 01:22:05 + 1a3f40e34794be100b315003846d4343 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:22:05 + + + + + commission_rate + + + + en + var__m_sys_hub_action_output_601ec4634794be100b315003846d4379 + + sys_documentation + admin + 2025-10-06 01:22:05 + 5e3f40e34794be100b315003846d4347 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:22:05 + + + + + commission + + + + en + var__m_sys_hub_action_output_601ec4634794be100b315003846d4379 + + sys_documentation + admin + 2025-10-06 01:22:06 + 923f40e34794be100b315003846d434c + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:22:06 + + + + + __action_status__ + + + + en + var__m_sys_hub_action_output_601ec4634794be100b315003846d4379 + + sys_documentation + admin + 2025-10-06 01:22:05 + 963f40e34794be100b315003846d432c + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:22:05 + + + + + total_pay + + + + en + var__m_sys_hub_action_output_601ec4634794be100b315003846d4379 + + sys_documentation + admin + 2025-10-06 01:22:06 + 9e3f40e34794be100b315003846d435c + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:22:06 + + + + + sales_amount + + + + en + var__m_sys_hub_action_output_601ec4634794be100b315003846d4379 + + sys_documentation + admin + 2025-10-06 01:22:05 + da3f40e34794be100b315003846d4330 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:22:05 + + + + + + + 601ec4634794be100b315003846d4379 + {"type":"PlanProxy","persistor":{"@class":".ChunkingPlanPersistor","table":"sys_hub_action_plan","id":"928fc8e34794be100b315003846d43b2","name":"plan","plan_signature":null}} + 8e8fc8e34794be100b315003846d436a + admin + 2025-10-06 01:23:27 + global + / + 928fc8e34794be100b315003846d43b2 + 0 + + + admin + 2025-10-06 01:23:27 + + + public + + + + + {labelCacheCleanUpExecuted=true} + 28000 + false + + + + Get Total Estimate Commission amount + + commission_formula + [{"name":"{{action.sales_amount}}","label":"action➛Sales Amount","type":"action","ref":"","reference_display":"","base_type":"string","parent_table_name":"","column_name":"","choices":null,"attributes":{}},{"name":"{{action.commission_rate}}","label":"action➛Commission Rate","type":"action","ref":"","reference_display":"","base_type":"string","parent_table_name":"","column_name":"","choices":null,"attributes":{}},{"name":"{{action.base_salary}}","label":"action➛Base Salary","type":"action","ref":"","reference_display":"","base_type":"string","parent_table_name":"","column_name":"","choices":null,"attributes":{}},{"name":"{{step[ad11d46e-7001-42ca-9b29-6a06cdb51acf].sales_amount}}","label":"step➛Script step➛Sales Amount","type":"step","ref":"","reference_display":"","base_type":"string","parent_table_name":"","column_name":"","choices":null,"attributes":{"sourceId":"","sourceUiUniqueId":"","sourceType":""}},{"name":"{{step[ad11d46e-7001-42ca-9b29-6a06cdb51acf].commission_rate}}","label":"step➛Script step➛Commission Rate","type":"step","ref":"","reference_display":"","base_type":"string","parent_table_name":"","column_name":"","choices":null,"attributes":{"sourceId":"","sourceUiUniqueId":"","sourceType":""}},{"name":"{{step[ad11d46e-7001-42ca-9b29-6a06cdb51acf].commission}}","label":"step➛Script step➛Commission","type":"step","ref":"","reference_display":"","base_type":"string","parent_table_name":"","column_name":"","choices":null,"attributes":{"sourceId":"","sourceUiUniqueId":"","sourceType":""}},{"name":"{{step[ad11d46e-7001-42ca-9b29-6a06cdb51acf].total_pay}}","label":"step➛Script step➛Total Pay","type":"step","ref":"","reference_display":"","base_type":"string","parent_table_name":"","column_name":"","choices":null,"attributes":{"sourceId":"","sourceUiUniqueId":"","sourceType":""}}] + true + Commission Formula + + + + 601ec4634794be100b315003846d4379 + sys_hub_action_type_snapshot + admin + 2025-10-06 01:23:25 + global + / + 798f88e34794be100b315003846d43cb + 0 + + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:23:25 + false + + + + + + sys_hub_action_type_snapshot + 798f88e34794be100b315003846d43cb + 1 + sys_variable_value + admin + 2025-10-06 01:23:26 + 4a8fc8e34794be100b315003846d4368 + 0 + admin + 2025-10-06 01:23:26 + {"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\",\"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\"}"}},"serializationFormat":"JSON"} + c28fc8e34794be100b315003846d4321 + + + sys_hub_action_type_snapshot + 798f88e34794be100b315003846d43cb + 3 + sys_variable_value + admin + 2025-10-06 01:23:26 + 868fc8e34794be100b315003846d4368 + 0 + admin + 2025-10-06 01:23:26 + 0 + 468fc8e34794be100b315003846d432a + + + + commission + 798f88e34794be100b315003846d43cb + admin + 2025-10-06 01:23:26 + 428fc8e34794be100b315003846d4368 + 0 + admin + 2025-10-06 01:23:26 + var__m_sys_hub_action_output_798f88e34794be100b315003846d43cb
+ {{step[ad11d46e-7001-42ca-9b29-6a06cdb51acf].commission}} +
+ + commission_rate + 798f88e34794be100b315003846d43cb + admin + 2025-10-06 01:23:26 + 8e8fc8e34794be100b315003846d4367 + 0 + admin + 2025-10-06 01:23:26 + var__m_sys_hub_action_output_798f88e34794be100b315003846d43cb
+ {{step[ad11d46e-7001-42ca-9b29-6a06cdb51acf].commission_rate}} +
+ + sales_amount + 798f88e34794be100b315003846d43cb + admin + 2025-10-06 01:23:26 + ca8fc8e34794be100b315003846d4367 + 0 + admin + 2025-10-06 01:23:26 + var__m_sys_hub_action_output_798f88e34794be100b315003846d43cb
+ {{step[ad11d46e-7001-42ca-9b29-6a06cdb51acf].sales_amount}} +
+ + total_pay + 798f88e34794be100b315003846d43cb + admin + 2025-10-06 01:23:26 + 468fc8e34794be100b315003846d4367 + 0 + admin + 2025-10-06 01:23:26 + var__m_sys_hub_action_output_798f88e34794be100b315003846d43cb
+ {{step[ad11d46e-7001-42ca-9b29-6a06cdb51acf].total_pay}} +
+ + __action_status__ + 798f88e34794be100b315003846d43cb + admin + 2025-10-06 01:23:26 + 068fc8e34794be100b315003846d4368 + 0 + admin + 2025-10-06 01:23:26 + var__m_sys_hub_action_output_798f88e34794be100b315003846d43cb
+ +
+ + __dont_treat_as_error__ + 798f88e34794be100b315003846d43cb + admin + 2025-10-06 01:23:26 + 0a8fc8e34794be100b315003846d4367 + 0 + admin + 2025-10-06 01:23:26 + var__m_sys_hub_action_output_798f88e34794be100b315003846d43cb
+ +
+ + + 798f88e34794be100b315003846d43cb + ad11d46e-7001-42ca-9b29-6a06cdb51acf + 1 + + + + + + + 1 + +
+ 106afb6647032200b4fad7527c9a71e7 + admin + 2025-10-06 01:23:25 + 318f88e34794be100b315003846d43ec + 1 + b812ceb69337a210633378917cba10bc + admin + 2025-10-06 01:23:26 + + + + sys_hub_step_instance + 318f88e34794be100b315003846d43ec + 400 + sys_variable_value + admin + 2025-10-06 01:23:26 + 0e8fc8e34794be100b315003846d431c + 0 + admin + 2025-10-06 01:23:26 + 35aa573fd7802200bdbaee5b5e610375 + f5e56d79b3101300176b051a16a8dce4 + + + sys_hub_step_instance + 318f88e34794be100b315003846d43ec + 600 + sys_variable_value + admin + 2025-10-06 01:23:26 + ce8fc8e34794be100b315003846d431c + 0 + admin + 2025-10-06 01:23:26 + (function execute(inputs, outputs) { + /** + * Calculates sales commission based on total sales and commission rate. + * Formula: commission = (salesAmount * commissionRate) / 100 + */ + + // Get and parse inputs + var salesAmount = parseFloat(inputs.salesAmount); + var commissionRate = parseFloat(inputs.commissionRate); + var baseSalary = parseFloat(inputs.baseSalary || 0); // optional + + // Validate inputs + if (isNaN(salesAmount) || isNaN(commissionRate)) { + outputs.error = "Invalid input values. Please check sales amount and commission rate."; + return; + } + + // Calculate commission and total pay + var commission = (salesAmount * commissionRate) / 100; + var totalPay = baseSalary + commission; + + // Set outputs + outputs.sales_amount = salesAmount.toFixed(2); + outputs.commission_rate = commissionRate.toFixed(2); + outputs.commission = commission.toFixed(2); + outputs.total_pay = totalPay.toFixed(2); +})(inputs, outputs); + + 71aa7f6647032200b4fad7527c9a719b + + + + application + 318f88e34794be100b315003846d43ec + admin + 2025-10-06 01:23:26 + c68fc8e34794be100b315003846d431c + 0 + admin + 2025-10-06 01:23:26 + var__m_sys_flow_step_definition_input_106afb6647032200b4fad7527c9a71e7
+ +
+ + baseSalary + 318f88e34794be100b315003846d43ec + admin + 2025-10-06 01:23:26 + 0a8fc8e34794be100b315003846d431d + 0 + admin + 2025-10-06 01:23:26 + var__m_sys_hub_step_ext_input_318f88e34794be100b315003846d43ec
+ {{action.base_salary}} +
+ + commissionRate + 318f88e34794be100b315003846d43ec + admin + 2025-10-06 01:23:26 + ca8fc8e34794be100b315003846d431d + 0 + admin + 2025-10-06 01:23:26 + var__m_sys_hub_step_ext_input_318f88e34794be100b315003846d43ec
+ {{action.commission_rate}} +
+ + salesAmount + 318f88e34794be100b315003846d43ec + admin + 2025-10-06 01:23:26 + 8e8fc8e34794be100b315003846d431d + 0 + admin + 2025-10-06 01:23:26 + var__m_sys_hub_step_ext_input_318f88e34794be100b315003846d43ec
+ {{action.sales_amount}} +
+ + script + 318f88e34794be100b315003846d43ec + admin + 2025-10-06 01:23:26 + 8a8fc8e34794be100b315003846d431c + 0 + admin + 2025-10-06 01:23:26 + var__m_sys_flow_step_definition_input_106afb6647032200b4fad7527c9a71e7
+ +
+ + + + + + true + false + false + element_mapping_provider=com.glide.flow_design.action.data.FlowDesignVariableMapper,uiType=string,uiTypeLabel=String + false + + + + + + + + + + + + + false + false + + + + baseSalary + false + + + + false + + + string + + true + 8000 + 318f88e34794be100b315003846d43ec + 318f88e34794be100b315003846d43ec + sys_hub_step_instance + var__m_sys_hub_step_ext_input_318f88e34794be100b315003846d43ec + + 200 + false + false + + + + false + + + + + + false + false + sys_hub_step_ext_input + admin + 2025-10-06 01:23:25 + 4a8f88e34794be100b315003846d43f7 + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:23:25 + 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 + false + + + + + + + + + + + + + false + false + + + + commissionRate + false + + + + false + + + string + + true + 8000 + 318f88e34794be100b315003846d43ec + 318f88e34794be100b315003846d43ec + sys_hub_step_instance + var__m_sys_hub_step_ext_input_318f88e34794be100b315003846d43ec + + 100 + false + false + + + + false + + + + + + false + false + sys_hub_step_ext_input + admin + 2025-10-06 01:23:25 + 718f88e34794be100b315003846d43f4 + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:23:25 + 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 + false + + + + + + + + + + + + + false + false + + + + salesAmount + false + + + + false + + + string + + true + 8000 + 318f88e34794be100b315003846d43ec + 318f88e34794be100b315003846d43ec + sys_hub_step_instance + var__m_sys_hub_step_ext_input_318f88e34794be100b315003846d43ec + + 0 + false + false + + + + false + + + + + + false + false + sys_hub_step_ext_input + admin + 2025-10-06 01:23:25 + 7d8f88e34794be100b315003846d43ef + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:23:25 + 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=7e7772a3-5468-42af-bbcd-7a9194ddace9 + false + + + + + + + + + + + + + false + false + + + + sales_amount + false + + + + false + + + string + + false + 8000 + 318f88e34794be100b315003846d43ec + 318f88e34794be100b315003846d43ec + sys_hub_step_instance + var__m_sys_hub_step_ext_output_318f88e34794be100b315003846d43ec + + 1 + false + false + + + + false + + + + + + false + false + sys_hub_step_ext_output + admin + 2025-10-06 01:23:26 + 028fc8e34794be100b315003846d4308 + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:23:26 + 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=507d03ee-0d13-44ea-95eb-27eb979a3187 + false + + + + + + + + + + + + + false + false + + + + total_pay + false + + + + false + + + string + + false + 8000 + 318f88e34794be100b315003846d43ec + 318f88e34794be100b315003846d43ec + sys_hub_step_instance + var__m_sys_hub_step_ext_output_318f88e34794be100b315003846d43ec + + 4 + false + false + + + + false + + + + + + false + false + sys_hub_step_ext_output + admin + 2025-10-06 01:23:26 + 068fc8e34794be100b315003846d4313 + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:23:26 + 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=29e34b00-28de-409f-b727-ced9209c5e5d + false + + + + + + + + + + + + + false + false + + + + commission_rate + false + + + + false + + + string + + false + 8000 + 318f88e34794be100b315003846d43ec + 318f88e34794be100b315003846d43ec + sys_hub_step_instance + var__m_sys_hub_step_ext_output_318f88e34794be100b315003846d43ec + + 2 + false + false + + + + false + + + + + + false + false + sys_hub_step_ext_output + admin + 2025-10-06 01:23:26 + 828fc8e34794be100b315003846d430c + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:23:26 + 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=52565aa1-5a3a-4ddb-ae43-b5e817f0ee69 + false + + + + + + + + + + + + + false + false + + + + commission + false + + + + false + + + string + + false + 8000 + 318f88e34794be100b315003846d43ec + 318f88e34794be100b315003846d43ec + sys_hub_step_instance + var__m_sys_hub_step_ext_output_318f88e34794be100b315003846d43ec + + 3 + false + false + + + + false + + + + + + false + false + sys_hub_step_ext_output + admin + 2025-10-06 01:23:26 + ca8fc8e34794be100b315003846d430f + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:23:26 + false + false + false + false + false + simple + false + script + + + false + + + + commission_rate + + + + en + var__m_sys_hub_step_ext_output_318f88e34794be100b315003846d43ec + + sys_documentation + admin + 2025-10-06 01:23:26 + 0e8fc8e34794be100b315003846d430e + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:23:26 + + + + + commission + + + + en + var__m_sys_hub_step_ext_output_318f88e34794be100b315003846d43ec + + sys_documentation + admin + 2025-10-06 01:23:26 + 468fc8e34794be100b315003846d4312 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:23:26 + + + + + total_pay + + + + en + var__m_sys_hub_step_ext_output_318f88e34794be100b315003846d43ec + + sys_documentation + admin + 2025-10-06 01:23:26 + 8e8fc8e34794be100b315003846d4315 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:23:26 + + + + + sales_amount + + + + en + var__m_sys_hub_step_ext_output_318f88e34794be100b315003846d43ec + + sys_documentation + admin + 2025-10-06 01:23:26 + c28fc8e34794be100b315003846d430b + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:23:26 + + + + + + true + false + false + element_mapping_provider=com.glide.flow_design.action.data.FlowDesignVariableMapper,uiType=string,uiTypeLabel=String,uiUniqueId=5a3ad6c9-1be6-418a-8156-c2bc6aac5338 + false + + + + + + + + + + + + + false + false + + + + sales_amount + false + + + + false + + + string + + true + 8000 + 798f88e34794be100b315003846d43cb + 798f88e34794be100b315003846d43cb + sys_hub_action_type_snapshot + var__m_sys_hub_action_input_798f88e34794be100b315003846d43cb + + 1 + false + false + + + + false + + + + + + false + false + sys_hub_action_input + admin + 2025-10-06 01:23:25 + 358f88e34794be100b315003846d43ce + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:23:25 + 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=7e222207-7ca9-4cc9-a4bb-2d4a420f379d + false + + + + + + + + + + + + + false + false + + + + base_salary + false + + + + false + + + string + + false + 8000 + 798f88e34794be100b315003846d43cb + 798f88e34794be100b315003846d43cb + sys_hub_action_type_snapshot + var__m_sys_hub_action_input_798f88e34794be100b315003846d43cb + + 3 + false + false + + + + false + + + + + + false + false + sys_hub_action_input + admin + 2025-10-06 01:23:25 + 3d8f88e34794be100b315003846d43e3 + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:23:25 + 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=2d509fec-17c8-4aca-a6b6-3c1122a297d7 + false + + + + + + + + + + + + + false + false + + + + commission_rate + false + + + + false + + + string + + true + 8000 + 798f88e34794be100b315003846d43cb + 798f88e34794be100b315003846d43cb + sys_hub_action_type_snapshot + var__m_sys_hub_action_input_798f88e34794be100b315003846d43cb + + 2 + false + false + + + + false + + + + + + false + false + sys_hub_action_input + admin + 2025-10-06 01:23:25 + b18f88e34794be100b315003846d43d3 + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:23:25 + 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=1bd243bb-2152-4991-9276-5527bccc95ec + false + + + + + + + + + + + + + false + false + + + + sales_amount + + false + + + + false + + + + string + + false + 8000 + 798f88e34794be100b315003846d43cb + 798f88e34794be100b315003846d43cb + sys_hub_action_type_snapshot + var__m_sys_hub_action_output_798f88e34794be100b315003846d43cb + + 2 + false + false + + + + false + + + + + + false + false + sys_hub_action_output + admin + 2025-10-06 01:23:26 + 428fc8e34794be100b315003846d4326 + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:23:26 + 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=dd23ad9c-b982-4583-89cf-b0d961cfad0b + false + + + + + + + + + + + + + false + false + + + + commission_rate + + false + + + + false + + + + string + + false + 8000 + 798f88e34794be100b315003846d43cb + 798f88e34794be100b315003846d43cb + sys_hub_action_type_snapshot + var__m_sys_hub_action_output_798f88e34794be100b315003846d43cb + + 4 + false + false + + + + false + + + + + + false + false + sys_hub_action_output + admin + 2025-10-06 01:23:26 + 428fc8e34794be100b315003846d433d + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:23:26 + 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=69a81945-5fee-4621-85d1-c1275b6c7f57,visible_in_ui=false + false + + + + + + + + true + + + + + false + false + + + + __dont_treat_as_error__ + + false + + + + false + + + + boolean + + false + 40 + 798f88e34794be100b315003846d43cb + 798f88e34794be100b315003846d43cb + sys_hub_action_type_snapshot + var__m_sys_hub_action_output_798f88e34794be100b315003846d43cb + + 3 + false + false + + + + false + + + + + + false + false + sys_hub_action_output + admin + 2025-10-06 01:23:26 + 468fc8e34794be100b315003846d432a + 1 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:23:26 + 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=02b74116-8876-4a55-9179-653963411ea2 + false + + + + + + + + + + + + + false + false + + + + commission + + false + + + + false + + + + string + + false + 8000 + 798f88e34794be100b315003846d43cb + 798f88e34794be100b315003846d43cb + sys_hub_action_type_snapshot + var__m_sys_hub_action_output_798f88e34794be100b315003846d43cb + + 5 + false + false + + + + false + + + + + + false + false + sys_hub_action_output + admin + 2025-10-06 01:23:26 + 468fc8e34794be100b315003846d4341 + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:23:26 + 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=b17518a6-d137-44bb-a473-d5f31fd56f0a + false + + + + + + + + + + + + + false + false + + + + total_pay + + false + + + + false + + + + string + + false + 8000 + 798f88e34794be100b315003846d43cb + 798f88e34794be100b315003846d43cb + sys_hub_action_type_snapshot + var__m_sys_hub_action_output_798f88e34794be100b315003846d43cb + + 6 + false + false + + + + false + + + + + + false + false + sys_hub_action_output + admin + 2025-10-06 01:23:26 + 4a8fc8e34794be100b315003846d4345 + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:23:26 + 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=9d624fac-19dc-4c76-a7ed-72ddd79ee62d + false + + + + + + + + + + + + + false + false + + + + __action_status__ + + false + + + + false + + + + string + + false + 65000 + 798f88e34794be100b315003846d43cb + 798f88e34794be100b315003846d43cb + sys_hub_action_type_snapshot + var__m_sys_hub_action_output_798f88e34794be100b315003846d43cb + + 1 + false + false + + + + false + + + + + + false + false + sys_hub_action_output + admin + 2025-10-06 01:23:26 + c28fc8e34794be100b315003846d4321 + 0 + + + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:23:26 + false + false + false + false + false + simple + false + script + + + false + + + + + + + 798f88e34794be100b315003846d43cb + admin + 2025-10-06 01:23:26 + ca8fc8e34794be100b315003846d436a + 0 + admin + 2025-10-06 01:23:26 + + + + base_salary + + + + en + var__m_sys_hub_action_input_798f88e34794be100b315003846d43cb + + sys_documentation + admin + 2025-10-06 01:23:25 + 318f88e34794be100b315003846d43e7 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:23:25 + + + + + commission_rate + + + + en + var__m_sys_hub_action_input_798f88e34794be100b315003846d43cb + + sys_documentation + admin + 2025-10-06 01:23:25 + 7d8f88e34794be100b315003846d43e2 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:23:25 + + + + + sales_amount + + + + en + var__m_sys_hub_action_input_798f88e34794be100b315003846d43cb + + sys_documentation + admin + 2025-10-06 01:23:25 + f18f88e34794be100b315003846d43d2 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:23:25 + + + + + + total_pay + + + + en + var__m_sys_hub_action_output_798f88e34794be100b315003846d43cb + + sys_documentation + admin + 2025-10-06 01:23:26 + 0e8fc8e34794be100b315003846d4361 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:23:26 + + + + + __action_status__ + + + + en + var__m_sys_hub_action_output_798f88e34794be100b315003846d43cb + + sys_documentation + admin + 2025-10-06 01:23:26 + 828fc8e34794be100b315003846d4325 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:23:26 + + + + + __dont_treat_as_error__ + + + + en + var__m_sys_hub_action_output_798f88e34794be100b315003846d43cb + + sys_documentation + admin + 2025-10-06 01:23:26 + 828fc8e34794be100b315003846d433c + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:23:26 + + + + + sales_amount + + + + en + var__m_sys_hub_action_output_798f88e34794be100b315003846d43cb + + sys_documentation + admin + 2025-10-06 01:23:26 + 868fc8e34794be100b315003846d4329 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:23:26 + + + + + commission_rate + + + + en + var__m_sys_hub_action_output_798f88e34794be100b315003846d43cb + + sys_documentation + admin + 2025-10-06 01:23:26 + 868fc8e34794be100b315003846d4340 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:23:26 + + + + + commission + + + + en + var__m_sys_hub_action_output_798f88e34794be100b315003846d43cb + + sys_documentation + admin + 2025-10-06 01:23:26 + 8a8fc8e34794be100b315003846d4344 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + admin + 2025-10-06 01:23:26 + + + + + + 601ec4634794be100b315003846d4379 + 798f88e34794be100b315003846d43cb + glide-zurich-07-01-2025__patch0-07-15-2025_07-23-2025_1759.zip + +