diff --git a/b812ceb69337a210633378917cba10bc/checksum.txt b/b812ceb69337a210633378917cba10bc/checksum.txt index b0328c2..53ac488 100644 --- a/b812ceb69337a210633378917cba10bc/checksum.txt +++ b/b812ceb69337a210633378917cba10bc/checksum.txt @@ -1 +1 @@ -095KrXNXmFSNJ9E_U1T3UzF6ZjWZiWGnuUjViTmVBuS1TxuVZTqTn6qiRHklUvRmyuJW40CfRw6LcmHxGZyOXo5vE9mXBfMzrE3MGyv2yQzfdEhF_8ZzQPXQyxzikWK6zmwoJ2El87X29StDRnQ3NuF2hhE9wDSpUa6TVzPya7UMAUJVx26LkVq2qnY_MgDSt-iZLFesgn3QfiGY6HadRSKVYr1MaXPZ6uGKUOV91Foi_RxWh_fV4PhR4NwM025Hwi0sRCy0Lsy3trTdPKB0gih4kCOzlmZbphio9eex1loNEsE8Sgc8JlKnFYKhJ9XkaOe0r1RUjn6x_Un4q3QlFDPzT6FOvhlmG0GFnsRil2D0C0qmdr8DMnKNSYTGZvTsowutP6SM6Pvtj_i9nCbtFZlVdqEbk08UnRssEt1BVqBHw0MymPn-JW1ZbKrswtuuBg44WZigEP6vc40Vaqc7K-5JA3XD4NN69-Z3iC8J2ahp_UUF8H-pU3wmCRhJQuFFQPSVE8Hnt-OinnQy8YKfHe39UHHtGXjKndc-vqhC1_oQeMowOFuatKF1_38CEVcrIBA9ByMYDV9beQdi8V4YXUigCFtTk8EDRjOIfH_b2Bm7dFHAHbKTvcvd8sgGCV8bYY4uGg7d6wRO7M1WbhWZ63o_P-4xX4lvei5AqaJBpSQ \ No newline at end of file +095KrXNXmFSNJ9E_U1T3UzF6ZjWZiWGnuUjViTmVBuS1TxuVZTqTn6qiRHklUvRmyuJW40CfRw6LcmHxGZyOXo5vE9mXBfMzrE3MGyv2yQzfdEhF_8ZzQPXQyxzikWK6zmwoJ2El87X29StDRnQ3NuF2hhE9wDSpUa6TVzPya7UMAUJVx26LkVq2qnY_MgDSt-iZLFesgn3QfiGY6HadRSKVYr1MaXPZ6uGKUOV91Foi_RxWh_fV4PhR4NwM025Hwi0sRCy0Lsy3trTdPKB0gih4kCOzlmZbphio9eex1loNEsE8Sgc8JlKnFYKhJ9XkaOe0r1RUjn6x_Un4q3QlFDPzT6FOvhlmG0GFnsRil2D0C0qmdr8DMnKNSYTGZvTsowutP6SM6Pvtj_i9nCbtFZlVdqEbk08UnRssEt1BVqBHw0MymPn-JW1ZbKrswtuuBg44WZigEP6vc40Vaqc7K-5JA3XD4NN69-Z3iC8J2ahp_UUF8H-pU3wmCRhJQuFFQPSVE8Hnt-OinnQy8YKfHe39UHHtGXjKndc-vqhC1_oQeMowOFuatKF1_38CEVcrIBA9ByMYDV9beQdi8V4YXUigCFtTk8EDRjOIfH_b2Bm7dFHAHbKTvcvd8sgGCV8bYY4uGg7d6wRO7M1WbhWZ63o_P-4xX4lvei5AqaJBpSQ diff --git a/b812ceb69337a210633378917cba10bc/update/sys_hub_action_type_definition_2fa73b0c836c72500283b955eeaad322.xml b/b812ceb69337a210633378917cba10bc/update/sys_hub_action_type_definition_2fa73b0c836c72500283b955eeaad322.xml new file mode 100644 index 0000000..b6eef41 --- /dev/null +++ b/b812ceb69337a210633378917cba10bc/update/sys_hub_action_type_definition_2fa73b0c836c72500283b955eeaad322.xml @@ -0,0 +1,2129 @@ + + + public + + + + true + + {labelCacheCleanUpExecuted=true} + 28000 + false + + + + + + false + get_encoded_attachment_file + [{"name":"{{action.source_table}}","label":"action➛Source Table","type":"action","ref":"","reference_display":"","base_type":"string","parent_table_name":"","column_name":"","choices":null,"attributes":{}},{"name":"{{action.source_record_sys_id_}}","label":"action➛Source Record (sys_id)","type":"action","ref":"","reference_display":"","base_type":"string","parent_table_name":"","column_name":"","choices":null,"attributes":{}},{"name":"{{step[1cc2202f-4167-43c0-9cae-58dae30e2eba].file_encoded}}","label":"step➛ base64 encode➛file_encoded","type":"step","ref":"","reference_display":"","base_type":"string","parent_table_name":"","column_name":"","choices":null,"attributes":{"sourceId":"","sourceUiUniqueId":"","sourceType":""}},{"name":"{{step[1cc2202f-4167-43c0-9cae-58dae30e2eba].__step_status__.message}}","label":"step➛ base64 encode➛Step Status➛Message","type":"step","ref":"","reference_display":"","base_type":"string","parent_table_name":"","column_name":"","choices":null,"attributes":{}},{"name":"{{step[1cc2202f-4167-43c0-9cae-58dae30e2eba].__step_status__}}","label":"step➛ base64 encode➛Step Status","type":"step","ref":"","reference_display":"","base_type":"object","parent_table_name":"","column_name":"","choices":null,"attributes":{}},{"name":"{{step[1cc2202f-4167-43c0-9cae-58dae30e2eba].__step_status__.code}}","label":"step➛ base64 encode➛Step Status➛Code","type":"step","ref":"","reference_display":"","base_type":"integer","parent_table_name":"","column_name":"","choices":null,"attributes":{}}] + 22d8f38c836c72500283b955eeaad327 + + Get Encoded Attachment File + + + + false + published + sys_hub_action_type_definition + a.pandey + 2025-10-08 07:34:40 + global + / + 2fa73b0c836c72500283b955eeaad322 + 5 + Get Encoded Attachment File + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + sys_hub_action_type_definition_2fa73b0c836c72500283b955eeaad322 + a.pandey + 2025-10-08 10:22:31 + false + + + + + + sys_hub_action_type_definition + 2fa73b0c836c72500283b955eeaad322 + 3 + sys_variable_value + a.pandey + 2025-10-08 07:39:02 + 23a8bf4c836c72500283b955eeaad382 + 0 + a.pandey + 2025-10-08 07:39:02 + 0 + aba8bf4c836c72500283b955eeaad376 + + + sys_hub_action_type_definition + 2fa73b0c836c72500283b955eeaad322 + 1 + sys_variable_value + a.pandey + 2025-10-08 07:39:02 + e3a8bf4c836c72500283b955eeaad382 + 0 + a.pandey + 2025-10-08 07:39:02 + {"version":"1.0","complexObjectSchema":{"FlowDesigner:FDACTIONSTATUS":{"code":"Integer","code.$field_facets":{"SimpleMapFacet":"{\"uiTypeLabel\":\"Integer\",\"read_only\":\"false\",\"hint\":\"\",\"uiType\":\"integer\",\"default_value\":\"\",\"label\":\"Code\",\"action_error_output\":\"true\",\"mandatory\":\"false\",\"order\":\"1\",\"max_length\":\"40\"}"},"message":"String","message.$field_facets":{"SimpleMapFacet":"{\"uiTypeLabel\":\"String\",\"read_only\":\"false\",\"hint\":\"\",\"uiType\":\"string\",\"default_value\":\"\",\"label\":\"Message\",\"action_error_output\":\"true\",\"mandatory\":\"false\",\"order\":\"2\",\"max_length\":\"4000\"}"}},"FlowDesigner:FDACTIONSTATUS.$type_facets":{"SimpleMapFacet":"{\"default_value\":\"\",\"label\":\"Action Status\",\"action_error_output\":\"true\",\"mandatory\":\"false\",\"uiUniqueId\":\"4adfb7bc-9d67-498d-88d0-8d6c3d584fed\",\"uiTypeLabel\":\"Object\",\"co_type_name\":\"FDACTIONSTATUS\",\"element_mapping_provider\":\"com.glide.flow_design.action.data.FlowDesignVariableMapper\",\"read_only\":\"false\",\"hint\":null,\"uiType\":\"object\",\"order\":\"1\",\"max_length\":\"65000\"}"}},"serializationFormat":"JSON","complexObject":{"code":{"$cv":{"$c":"java.lang.String","$v":""}},"message":{"$cv":{"$c":"java.lang.String","$v":""}}}} + 9fa8bf4c836c72500283b955eeaad36c + + + + encoded_file + 2fa73b0c836c72500283b955eeaad322 + a.pandey + 2025-10-08 07:39:02 + 2ba8bf4c836c72500283b955eeaad381 + 0 + a.pandey + 2025-10-08 07:39:02 + var__m_sys_hub_action_output_2fa73b0c836c72500283b955eeaad322
+ {{step[1cc2202f-4167-43c0-9cae-58dae30e2eba].file_encoded}} +
+ + __action_status__ + 2fa73b0c836c72500283b955eeaad322 + a.pandey + 2025-10-08 07:39:02 + afa8bf4c836c72500283b955eeaad381 + 0 + a.pandey + 2025-10-08 07:39:02 + var__m_sys_hub_action_output_2fa73b0c836c72500283b955eeaad322
+ +
+ + __dont_treat_as_error__ + 2fa73b0c836c72500283b955eeaad322 + a.pandey + 2025-10-08 07:39:02 + eba8bf4c836c72500283b955eeaad381 + 0 + a.pandey + 2025-10-08 07:39:02 + var__m_sys_hub_action_output_2fa73b0c836c72500283b955eeaad322
+ +
+ + + 2fa73b0c836c72500283b955eeaad322 + 1cc2202f-4167-43c0-9cae-58dae30e2eba + 2 + + + + + + + 1 + +
+ 106afb6647032200b4fad7527c9a71e7 + a.pandey + 2025-10-08 07:39:01 + 97a8bf4c836c72500283b955eeaad350 + 3 + b812ceb69337a210633378917cba10bc + a.pandey + 2025-10-08 10:22:21 + + + + sys_hub_step_instance + 97a8bf4c836c72500283b955eeaad350 + 400 + sys_variable_value + a.pandey + 2025-10-08 07:39:02 + 17a8bf4c836c72500283b955eeaad368 + 0 + a.pandey + 2025-10-08 07:39:02 + 35aa573fd7802200bdbaee5b5e610375 + f5e56d79b3101300176b051a16a8dce4 + + + sys_hub_step_instance + 97a8bf4c836c72500283b955eeaad350 + 600 + sys_variable_value + a.pandey + 2025-10-08 07:39:02 + 5fa8bf4c836c72500283b955eeaad368 + 0 + a.pandey + 2025-10-08 07:39:02 + (function execute(inputs, outputs) { +// Query attachments from table record supplied +var getAttachment = new GlideRecord('sys_attachment'); +getAttachment.addQuery('table_name', inputs.sTable ); +getAttachment.addQuery('table_sys_id', inputs.sSysID ); +getAttachment.query(); +// Return base64 encoded string of file contents +if (getAttachment.next()) { + var sa = new GlideSysAttachment(); + var base64Str = sa.getContentBase64(getAttachment); +} +gs.info('Attachment content base64 encoded: ' +base64Str); +// Note this only returns the last attachment if there are multiple +outputs.file_encoded = base64Str; + +})(inputs, outputs); + 71aa7f6647032200b4fad7527c9a719b + + + + sSysID + 97a8bf4c836c72500283b955eeaad350 + a.pandey + 2025-10-08 07:39:02 + dba8bf4c836c72500283b955eeaad369 + 0 + a.pandey + 2025-10-08 07:39:02 + var__m_sys_hub_step_ext_input_97a8bf4c836c72500283b955eeaad350
+ {{action.source_record_sys_id_}} +
+ + sTable + 97a8bf4c836c72500283b955eeaad350 + a.pandey + 2025-10-08 07:39:02 + 1ba8bf4c836c72500283b955eeaad369 + 0 + a.pandey + 2025-10-08 07:39:02 + var__m_sys_hub_step_ext_input_97a8bf4c836c72500283b955eeaad350
+ {{action.source_table}} +
+ + + + + + true + false + false + element_mapping_provider=com.glide.flow_design.action.data.FlowDesignVariableMapper,uiType=string,uiTypeLabel=String + false + + + + + + + + + + + + + false + false + + + + sTable + false + + + + false + + + string + + + true + false + false + element_mapping_provider=com.glide.flow_design.action.data.FlowDesignVariableMapper,uiType=string,uiTypeLabel=String + false + + + + + + + + + + + + + false + false + + + + sSysID + false + + + + false + + + string + + + + true + false + false + element_mapping_provider=com.glide.flow_design.action.data.FlowDesignVariableMapper,uiType=string,uiTypeLabel=String,uiUniqueId=17d1f1d2-2ede-413e-9145-f3720793e6b0 + false + + + + + + + + + + + + + false + false + + + + file_encoded + false + + + + false + + + string + + false + 8000 + 97a8bf4c836c72500283b955eeaad350 + 97a8bf4c836c72500283b955eeaad350 + sys_hub_step_instance + var__m_sys_hub_step_ext_output_97a8bf4c836c72500283b955eeaad350 + + 1 + false + false + + + + false + + + + + + false + false + sys_hub_step_ext_output + a.pandey + 2025-10-08 07:39:02 + d7a8bf4c836c72500283b955eeaad35c + 0 + + + + b812ceb69337a210633378917cba10bc + + a.pandey + 2025-10-08 07:39:02 + false + false + false + false + false + simple + false + script + + + false + + + + file_encoded + + + + en + var__m_sys_hub_step_ext_output_97a8bf4c836c72500283b955eeaad350 + + sys_documentation + a.pandey + 2025-10-08 07:39:02 + dfa8bf4c836c72500283b955eeaad35f + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + a.pandey + 2025-10-08 07:39:02 + + + + + + true + false + false + element_mapping_provider=com.glide.flow_design.action.data.FlowDesignVariableMapper,uiType=string,uiTypeLabel=String,uiUniqueId=744892b2-4b98-47c9-81c2-72f4f15728ca + false + + + + + + + + + + + + + false + false + + + + source_record_sys_id_ + false + + + + false + + + string + + true + 8000 + 2fa73b0c836c72500283b955eeaad322 + 2fa73b0c836c72500283b955eeaad322 + sys_hub_action_type_definition + var__m_sys_hub_action_input_2fa73b0c836c72500283b955eeaad322 + + 2 + false + false + + + + false + + + + + + false + false + sys_hub_action_input + a.pandey + 2025-10-08 07:39:01 + 5fa8bf4c836c72500283b955eeaad322 + 0 + + + + b812ceb69337a210633378917cba10bc + + a.pandey + 2025-10-08 07:39:01 + 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=0a5b5481-2ba2-4913-937c-63a306d93cd2 + false + + + + + + + + + + + + + false + false + + + + source_table + false + + + + false + + + string + + true + 8000 + 2fa73b0c836c72500283b955eeaad322 + 2fa73b0c836c72500283b955eeaad322 + sys_hub_action_type_definition + var__m_sys_hub_action_input_2fa73b0c836c72500283b955eeaad322 + + 1 + false + false + + + + false + + + + + + false + false + sys_hub_action_input + a.pandey + 2025-10-08 07:39:01 + 97a8bf4c836c72500283b955eeaad31d + 0 + + + + b812ceb69337a210633378917cba10bc + + a.pandey + 2025-10-08 07:39: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=c46f1305-ee87-46ca-8d71-edc4342b5470 + false + + + + + + + + + + + + + false + false + + + + encoded_file + + false + + + + false + + + + string + + false + 8000 + 2fa73b0c836c72500283b955eeaad322 + 2fa73b0c836c72500283b955eeaad322 + sys_hub_action_type_definition + var__m_sys_hub_action_output_2fa73b0c836c72500283b955eeaad322 + + 2 + false + false + + + + false + + + + + + false + false + sys_hub_action_output + a.pandey + 2025-10-08 07:39:02 + 27a8bf4c836c72500283b955eeaad372 + 0 + + + + b812ceb69337a210633378917cba10bc + + a.pandey + 2025-10-08 07:39:02 + 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=fe16cd1f-c93b-40a1-87f6-1b326763554e + false + + + + + + + + + + + + + false + false + + + + __action_status__ + + false + + + + false + + + + string + + false + 65000 + 2fa73b0c836c72500283b955eeaad322 + 2fa73b0c836c72500283b955eeaad322 + sys_hub_action_type_definition + var__m_sys_hub_action_output_2fa73b0c836c72500283b955eeaad322 + + 1 + false + false + + + + false + + + + + + false + false + sys_hub_action_output + a.pandey + 2025-10-08 07:39:02 + 9fa8bf4c836c72500283b955eeaad36c + 0 + + + + b812ceb69337a210633378917cba10bc + + a.pandey + 2025-10-08 07:39:02 + 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=859778d1-520a-4183-9c3a-f419ddc727fc,visible_in_ui=false + false + + + + + + + + true + + + + + false + false + + + + __dont_treat_as_error__ + + false + + + + false + + + + boolean + + false + 40 + 2fa73b0c836c72500283b955eeaad322 + 2fa73b0c836c72500283b955eeaad322 + sys_hub_action_type_definition + var__m_sys_hub_action_output_2fa73b0c836c72500283b955eeaad322 + + 3 + false + false + + + + false + + + + + + false + false + sys_hub_action_output + a.pandey + 2025-10-08 07:39:02 + aba8bf4c836c72500283b955eeaad376 + 9 + + + + b812ceb69337a210633378917cba10bc + + a.pandey + 2025-10-08 10:22:30 + false + false + false + false + false + simple + false + script + + + false + + + + + + + 2fa73b0c836c72500283b955eeaad322 + a.pandey + 2025-10-08 07:39:02 + eba8bf4c836c72500283b955eeaad383 + 0 + a.pandey + 2025-10-08 07:39:02 + + + + eba8bf4c836c72500283b955eeaad383 + {{step[1cc2202f-4167-43c0-9cae-58dae30e2eba].__step_status__.code}}=1 + false + + + source_table + + + + en + var__m_sys_hub_action_input_2fa73b0c836c72500283b955eeaad322 + + sys_documentation + a.pandey + 2025-10-08 07:39:01 + 1fa8bf4c836c72500283b955eeaad321 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + a.pandey + 2025-10-08 07:39:01 + + + + + source_record_sys_id_ + + + + en + var__m_sys_hub_action_input_2fa73b0c836c72500283b955eeaad322 + + sys_documentation + a.pandey + 2025-10-08 07:39:01 + 53a8bf4c836c72500283b955eeaad326 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + a.pandey + 2025-10-08 07:39:01 + + + + + + __dont_treat_as_error__ + + + + en + var__m_sys_hub_action_output_2fa73b0c836c72500283b955eeaad322 + + sys_documentation + a.pandey + 2025-10-08 07:39:02 + 2ba8bf4c836c72500283b955eeaad37c + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + a.pandey + 2025-10-08 07:39:02 + + + + + encoded_file + + + + en + var__m_sys_hub_action_output_2fa73b0c836c72500283b955eeaad322 + + sys_documentation + a.pandey + 2025-10-08 07:39:02 + 6ba8bf4c836c72500283b955eeaad375 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + a.pandey + 2025-10-08 07:39:02 + + + + + __action_status__ + + + + en + var__m_sys_hub_action_output_2fa73b0c836c72500283b955eeaad322 + + sys_documentation + a.pandey + 2025-10-08 07:39:02 + e3a8bf4c836c72500283b955eeaad371 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + a.pandey + 2025-10-08 07:39:02 + + + + + + + 2fa73b0c836c72500283b955eeaad322 + {"type":"PlanProxy","persistor":{"@class":".ChunkingPlanPersistor","table":"sys_hub_action_plan","id":"fed8f38c836c72500283b955eeaad3e2","name":"plan","plan_signature":null}} + 521ed0508360b2500283b955eeaad35f + a.pandey + 2025-10-08 07:39:48 + global + / + fed8f38c836c72500283b955eeaad3e2 + 1 + + + a.pandey + 2025-10-08 10:22:32 + + + public + + + + + {labelCacheCleanUpExecuted=true} + 28000 + false + + + + + + get_encoded_attachment_file + [{"name":"{{action.source_table}}","label":"action➛Source Table","type":"action","ref":"","reference_display":"","base_type":"string","parent_table_name":"","column_name":"","choices":null,"attributes":{}},{"name":"{{action.source_record_sys_id_}}","label":"action➛Source Record (sys_id)","type":"action","ref":"","reference_display":"","base_type":"string","parent_table_name":"","column_name":"","choices":null,"attributes":{}},{"name":"{{step[1cc2202f-4167-43c0-9cae-58dae30e2eba].file_encoded}}","label":"step➛ base64 encode➛file_encoded","type":"step","ref":"","reference_display":"","base_type":"string","parent_table_name":"","column_name":"","choices":null,"attributes":{"sourceId":"","sourceUiUniqueId":"","sourceType":""}},{"name":"{{step[1cc2202f-4167-43c0-9cae-58dae30e2eba].__step_status__.message}}","label":"step➛ base64 encode➛Step Status➛Message","type":"step","ref":"","reference_display":"","base_type":"string","parent_table_name":"","column_name":"","choices":null,"attributes":{}},{"name":"{{step[1cc2202f-4167-43c0-9cae-58dae30e2eba].__step_status__}}","label":"step➛ base64 encode➛Step Status","type":"step","ref":"","reference_display":"","base_type":"object","parent_table_name":"","column_name":"","choices":null,"attributes":{}},{"name":"{{step[1cc2202f-4167-43c0-9cae-58dae30e2eba].__step_status__.code}}","label":"step➛ base64 encode➛Step Status➛Code","type":"step","ref":"","reference_display":"","base_type":"integer","parent_table_name":"","column_name":"","choices":null,"attributes":{}}] + true + Get Encoded Attachment File + + + + 2fa73b0c836c72500283b955eeaad322 + sys_hub_action_type_snapshot + a.pandey + 2025-10-08 07:39:47 + global + / + 22d8f38c836c72500283b955eeaad327 + 1 + + + + + b812ceb69337a210633378917cba10bc + + a.pandey + 2025-10-08 10:22:30 + false + + + + + + sys_hub_action_type_snapshot + 22d8f38c836c72500283b955eeaad327 + 3 + sys_variable_value + a.pandey + 2025-10-08 07:39:48 + 2ad8f38c836c72500283b955eeaad371 + 0 + a.pandey + 2025-10-08 07:39:48 + 0 + aed8f38c836c72500283b955eeaad366 + + + sys_hub_action_type_snapshot + 22d8f38c836c72500283b955eeaad327 + 1 + sys_variable_value + a.pandey + 2025-10-08 07:39:48 + ead8f38c836c72500283b955eeaad371 + 0 + a.pandey + 2025-10-08 07:39:48 + {"version":"1.0","complexObjectSchema":{"FlowDesigner:FDACTIONSTATUS":{"code":"Integer","code.$field_facets":{"SimpleMapFacet":"{\"uiTypeLabel\":\"Integer\",\"read_only\":\"false\",\"hint\":\"\",\"uiType\":\"integer\",\"default_value\":\"\",\"label\":\"Code\",\"action_error_output\":\"true\",\"mandatory\":\"false\",\"order\":\"1\",\"max_length\":\"40\"}"},"message":"String","message.$field_facets":{"SimpleMapFacet":"{\"uiTypeLabel\":\"String\",\"read_only\":\"false\",\"hint\":\"\",\"uiType\":\"string\",\"default_value\":\"\",\"label\":\"Message\",\"action_error_output\":\"true\",\"mandatory\":\"false\",\"order\":\"2\",\"max_length\":\"4000\"}"}},"FlowDesigner:FDACTIONSTATUS.$type_facets":{"SimpleMapFacet":"{\"default_value\":\"\",\"label\":\"Action Status\",\"action_error_output\":\"true\",\"mandatory\":\"false\",\"uiUniqueId\":\"4adfb7bc-9d67-498d-88d0-8d6c3d584fed\",\"uiTypeLabel\":\"Object\",\"co_type_name\":\"FDACTIONSTATUS\",\"element_mapping_provider\":\"com.glide.flow_design.action.data.FlowDesignVariableMapper\",\"read_only\":\"false\",\"hint\":null,\"uiType\":\"object\",\"order\":\"1\",\"max_length\":\"65000\"}"}},"serializationFormat":"JSON","complexObject":{"code":{"$cv":{"$c":"java.lang.String","$v":""}},"message":{"$cv":{"$c":"java.lang.String","$v":""}}}} + ead8f38c836c72500283b955eeaad35d + + + + encoded_file + 22d8f38c836c72500283b955eeaad327 + a.pandey + 2025-10-08 07:39:48 + 22d8f38c836c72500283b955eeaad371 + 0 + a.pandey + 2025-10-08 07:39:48 + var__m_sys_hub_action_output_22d8f38c836c72500283b955eeaad327
+ {{step[1cc2202f-4167-43c0-9cae-58dae30e2eba].file_encoded}} +
+ + __action_status__ + 22d8f38c836c72500283b955eeaad327 + a.pandey + 2025-10-08 07:39:48 + a6d8f38c836c72500283b955eeaad371 + 0 + a.pandey + 2025-10-08 07:39:48 + var__m_sys_hub_action_output_22d8f38c836c72500283b955eeaad327
+ +
+ + __dont_treat_as_error__ + 22d8f38c836c72500283b955eeaad327 + a.pandey + 2025-10-08 07:39:48 + e2d8f38c836c72500283b955eeaad371 + 0 + a.pandey + 2025-10-08 07:39:48 + var__m_sys_hub_action_output_22d8f38c836c72500283b955eeaad327
+ +
+ + + 22d8f38c836c72500283b955eeaad327 + 1cc2202f-4167-43c0-9cae-58dae30e2eba + 2 + + + + + + + 1 + +
+ 106afb6647032200b4fad7527c9a71e7 + a.pandey + 2025-10-08 07:39:47 + a2d8f38c836c72500283b955eeaad337 + 2 + b812ceb69337a210633378917cba10bc + a.pandey + 2025-10-08 10:22:31 + + + + sys_hub_step_instance + a2d8f38c836c72500283b955eeaad337 + 400 + sys_variable_value + a.pandey + 2025-10-08 07:39:47 + 2ed8f38c836c72500283b955eeaad359 + 0 + a.pandey + 2025-10-08 07:39:47 + 35aa573fd7802200bdbaee5b5e610375 + f5e56d79b3101300176b051a16a8dce4 + + + sys_hub_step_instance + a2d8f38c836c72500283b955eeaad337 + 600 + sys_variable_value + a.pandey + 2025-10-08 07:39:47 + eed8f38c836c72500283b955eeaad359 + 0 + a.pandey + 2025-10-08 07:39:47 + (function execute(inputs, outputs) { +// Query attachments from table record supplied +var getAttachment = new GlideRecord('sys_attachment'); +getAttachment.addQuery('table_name', inputs.sTable ); +getAttachment.addQuery('table_sys_id', inputs.sSysID ); +getAttachment.query(); +// Return base64 encoded string of file contents +if (getAttachment.next()) { + var sa = new GlideSysAttachment(); + var base64Str = sa.getContentBase64(getAttachment); +} +gs.info('Attachment content base64 encoded: ' +base64Str); +// Note this only returns the last attachment if there are multiple +outputs.file_encoded = base64Str; + +})(inputs, outputs); + 71aa7f6647032200b4fad7527c9a719b + + + + sSysID + a2d8f38c836c72500283b955eeaad337 + a.pandey + 2025-10-08 07:39:47 + ead8f38c836c72500283b955eeaad35a + 0 + a.pandey + 2025-10-08 07:39:47 + var__m_sys_hub_step_ext_input_a2d8f38c836c72500283b955eeaad337
+ {{action.source_record_sys_id_}} +
+ + sTable + a2d8f38c836c72500283b955eeaad337 + a.pandey + 2025-10-08 07:39:47 + 2ad8f38c836c72500283b955eeaad35a + 0 + a.pandey + 2025-10-08 07:39:47 + var__m_sys_hub_step_ext_input_a2d8f38c836c72500283b955eeaad337
+ {{action.source_table}} +
+ + + + + + true + false + false + element_mapping_provider=com.glide.flow_design.action.data.FlowDesignVariableMapper,uiType=string,uiTypeLabel=String + false + + + + + + + + + + + + + false + false + + + + sTable + false + + + + false + + + string + + true + 8000 + a2d8f38c836c72500283b955eeaad337 + a2d8f38c836c72500283b955eeaad337 + sys_hub_step_instance + var__m_sys_hub_step_ext_input_a2d8f38c836c72500283b955eeaad337 + + 0 + false + false + + + + false + + + + + + false + false + sys_hub_step_ext_input + a.pandey + 2025-10-08 07:39:47 + a2d8f38c836c72500283b955eeaad33b + 0 + + + + b812ceb69337a210633378917cba10bc + + a.pandey + 2025-10-08 07:39:47 + 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 + + + + sSysID + false + + + + false + + + string + + true + 8000 + a2d8f38c836c72500283b955eeaad337 + a2d8f38c836c72500283b955eeaad337 + sys_hub_step_instance + var__m_sys_hub_step_ext_input_a2d8f38c836c72500283b955eeaad337 + + 100 + false + false + + + + false + + + + + + false + false + sys_hub_step_ext_input + a.pandey + 2025-10-08 07:39:47 + a6d8f38c836c72500283b955eeaad33f + 0 + + + + b812ceb69337a210633378917cba10bc + + a.pandey + 2025-10-08 07:39:47 + 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=17d1f1d2-2ede-413e-9145-f3720793e6b0 + false + + + + + + + + + + + + + false + false + + + + file_encoded + false + + + + false + + + string + + false + 8000 + a2d8f38c836c72500283b955eeaad337 + a2d8f38c836c72500283b955eeaad337 + sys_hub_step_instance + var__m_sys_hub_step_ext_output_a2d8f38c836c72500283b955eeaad337 + + 1 + false + false + + + + false + + + + + + false + false + sys_hub_step_ext_output + a.pandey + 2025-10-08 07:39:47 + aed8f38c836c72500283b955eeaad34f + 0 + + + + b812ceb69337a210633378917cba10bc + + a.pandey + 2025-10-08 07:39:47 + false + false + false + false + false + simple + false + script + + + false + + + + file_encoded + + + + en + var__m_sys_hub_step_ext_output_a2d8f38c836c72500283b955eeaad337 + + sys_documentation + a.pandey + 2025-10-08 07:39:47 + eed8f38c836c72500283b955eeaad352 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + a.pandey + 2025-10-08 07:39:47 + + + + + + true + false + false + element_mapping_provider=com.glide.flow_design.action.data.FlowDesignVariableMapper,uiType=string,uiTypeLabel=String,uiUniqueId=744892b2-4b98-47c9-81c2-72f4f15728ca + false + + + + + + + + + + + + + false + false + + + + source_record_sys_id_ + false + + + + false + + + string + + true + 8000 + 22d8f38c836c72500283b955eeaad327 + 22d8f38c836c72500283b955eeaad327 + sys_hub_action_type_snapshot + var__m_sys_hub_action_input_22d8f38c836c72500283b955eeaad327 + + 2 + false + false + + + + false + + + + + + false + false + sys_hub_action_input + a.pandey + 2025-10-08 07:39:47 + 22d8f38c836c72500283b955eeaad32f + 0 + + + + b812ceb69337a210633378917cba10bc + + a.pandey + 2025-10-08 07:39:47 + 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=0a5b5481-2ba2-4913-937c-63a306d93cd2 + false + + + + + + + + + + + + + false + false + + + + source_table + false + + + + false + + + string + + true + 8000 + 22d8f38c836c72500283b955eeaad327 + 22d8f38c836c72500283b955eeaad327 + sys_hub_action_type_snapshot + var__m_sys_hub_action_input_22d8f38c836c72500283b955eeaad327 + + 1 + false + false + + + + false + + + + + + false + false + sys_hub_action_input + a.pandey + 2025-10-08 07:39:47 + 62d8f38c836c72500283b955eeaad32a + 0 + + + + b812ceb69337a210633378917cba10bc + + a.pandey + 2025-10-08 07:39:47 + 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=c46f1305-ee87-46ca-8d71-edc4342b5470 + false + + + + + + + + + + + + + false + false + + + + encoded_file + + false + + + + false + + + + string + + false + 8000 + 22d8f38c836c72500283b955eeaad327 + 22d8f38c836c72500283b955eeaad327 + sys_hub_action_type_snapshot + var__m_sys_hub_action_output_22d8f38c836c72500283b955eeaad327 + + 2 + false + false + + + + false + + + + + + false + false + sys_hub_action_output + a.pandey + 2025-10-08 07:39:48 + 6ad8f38c836c72500283b955eeaad362 + 0 + + + + b812ceb69337a210633378917cba10bc + + a.pandey + 2025-10-08 07:39:48 + 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=859778d1-520a-4183-9c3a-f419ddc727fc,visible_in_ui=false + false + + + + + + + + true + + + + + false + false + + + + __dont_treat_as_error__ + + false + + + + false + + + + boolean + + false + 40 + 22d8f38c836c72500283b955eeaad327 + 22d8f38c836c72500283b955eeaad327 + sys_hub_action_type_snapshot + var__m_sys_hub_action_output_22d8f38c836c72500283b955eeaad327 + + 3 + false + false + + + + false + + + + + + false + false + sys_hub_action_output + a.pandey + 2025-10-08 07:39:48 + aed8f38c836c72500283b955eeaad366 + 3 + + + + b812ceb69337a210633378917cba10bc + + a.pandey + 2025-10-08 10:22:31 + 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=fe16cd1f-c93b-40a1-87f6-1b326763554e + false + + + + + + + + + + + + + false + false + + + + __action_status__ + + false + + + + false + + + + string + + false + 65000 + 22d8f38c836c72500283b955eeaad327 + 22d8f38c836c72500283b955eeaad327 + sys_hub_action_type_snapshot + var__m_sys_hub_action_output_22d8f38c836c72500283b955eeaad327 + + 1 + false + false + + + + false + + + + + + false + false + sys_hub_action_output + a.pandey + 2025-10-08 07:39:47 + ead8f38c836c72500283b955eeaad35d + 0 + + + + b812ceb69337a210633378917cba10bc + + a.pandey + 2025-10-08 07:39:47 + false + false + false + false + false + simple + false + script + + + false + + + + + + + 22d8f38c836c72500283b955eeaad327 + a.pandey + 2025-10-08 07:39:48 + aad8f38c836c72500283b955eeaad37f + 0 + a.pandey + 2025-10-08 07:39:48 + + + + aad8f38c836c72500283b955eeaad37f + {{step[1cc2202f-4167-43c0-9cae-58dae30e2eba].__step_status__.code}}=1 + false + + + source_record_sys_id_ + + + + en + var__m_sys_hub_action_input_22d8f38c836c72500283b955eeaad327 + + sys_documentation + a.pandey + 2025-10-08 07:39:47 + e2d8f38c836c72500283b955eeaad332 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + a.pandey + 2025-10-08 07:39:47 + + + + + source_table + + + + en + var__m_sys_hub_action_input_22d8f38c836c72500283b955eeaad327 + + sys_documentation + a.pandey + 2025-10-08 07:39:47 + eed8f38c836c72500283b955eeaad32d + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + a.pandey + 2025-10-08 07:39:47 + + + + + + __action_status__ + + + + en + var__m_sys_hub_action_output_22d8f38c836c72500283b955eeaad327 + + sys_documentation + a.pandey + 2025-10-08 07:39:48 + 2ad8f38c836c72500283b955eeaad361 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + a.pandey + 2025-10-08 07:39:48 + + + + + encoded_file + + + + en + var__m_sys_hub_action_output_22d8f38c836c72500283b955eeaad327 + + sys_documentation + a.pandey + 2025-10-08 07:39:48 + 6ed8f38c836c72500283b955eeaad365 + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + a.pandey + 2025-10-08 07:39:48 + + + + + __dont_treat_as_error__ + + + + en + var__m_sys_hub_action_output_22d8f38c836c72500283b955eeaad327 + + sys_documentation + a.pandey + 2025-10-08 07:39:48 + a2d8f38c836c72500283b955eeaad36c + 0 + + b812ceb69337a210633378917cba10bc + + b812ceb69337a210633378917cba10bc + + a.pandey + 2025-10-08 07:39:48 + + + + + + 2fa73b0c836c72500283b955eeaad322 + 22d8f38c836c72500283b955eeaad327 + glide-zurich-07-01-2025__patch0-07-15-2025_07-23-2025_1759.zip + +