2025-04-07 20:31:30 +03:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2024-10-16 10:38:29 +03:00
|
|
|
<pipeline>
|
|
|
|
|
<info>
|
|
|
|
|
<name>select_recruitments_region(reg)</name>
|
|
|
|
|
<name_sync_with_filename>Y</name_sync_with_filename>
|
|
|
|
|
<description/>
|
|
|
|
|
<extended_description/>
|
|
|
|
|
<pipeline_version/>
|
|
|
|
|
<pipeline_type>Normal</pipeline_type>
|
|
|
|
|
<pipeline_status>0</pipeline_status>
|
|
|
|
|
<parameters>
|
2025-04-07 20:31:30 +03:00
|
|
|
<parameter>
|
|
|
|
|
<name>ORG_ROW</name>
|
|
|
|
|
<default_value/>
|
|
|
|
|
<description/>
|
|
|
|
|
</parameter>
|
|
|
|
|
<parameter>
|
|
|
|
|
<name>SCM</name>
|
|
|
|
|
<default_value/>
|
|
|
|
|
<description/>
|
|
|
|
|
</parameter>
|
2024-10-16 10:38:29 +03:00
|
|
|
</parameters>
|
|
|
|
|
<capture_transform_performance>N</capture_transform_performance>
|
|
|
|
|
<transform_performance_capturing_delay>1000</transform_performance_capturing_delay>
|
|
|
|
|
<transform_performance_capturing_size_limit>100</transform_performance_capturing_size_limit>
|
|
|
|
|
<created_user>-</created_user>
|
|
|
|
|
<created_date>2024/08/15 14:58:19.728</created_date>
|
|
|
|
|
<modified_user>-</modified_user>
|
|
|
|
|
<modified_date>2024/08/15 14:58:19.728</modified_date>
|
|
|
|
|
</info>
|
|
|
|
|
<notepads>
|
|
|
|
|
</notepads>
|
|
|
|
|
<order>
|
2025-04-07 20:31:30 +03:00
|
|
|
<hop>
|
|
|
|
|
<from>Get variables 3 2</from>
|
|
|
|
|
<to>Select values 3 2</to>
|
|
|
|
|
<enabled>Y</enabled>
|
|
|
|
|
</hop>
|
2024-10-16 10:38:29 +03:00
|
|
|
<hop>
|
|
|
|
|
<from>Table input/регион</from>
|
2025-04-07 20:31:30 +03:00
|
|
|
<to>Get variables 3 2</to>
|
|
|
|
|
<enabled>Y</enabled>
|
|
|
|
|
</hop>
|
|
|
|
|
<hop>
|
|
|
|
|
<from>Select values 3 2</from>
|
|
|
|
|
<to>Insert / update</to>
|
2024-10-16 10:38:29 +03:00
|
|
|
<enabled>Y</enabled>
|
|
|
|
|
</hop>
|
|
|
|
|
</order>
|
|
|
|
|
<transform>
|
2025-04-07 20:31:30 +03:00
|
|
|
<name>Get variables 3 2</name>
|
|
|
|
|
<type>GetVariable</type>
|
|
|
|
|
<description/>
|
|
|
|
|
<distribute>Y</distribute>
|
|
|
|
|
<custom_distribution/>
|
|
|
|
|
<copies>1</copies>
|
|
|
|
|
<partitioning>
|
|
|
|
|
<method>none</method>
|
|
|
|
|
<schema_name/>
|
|
|
|
|
</partitioning>
|
|
|
|
|
<fields>
|
|
|
|
|
<field>
|
|
|
|
|
<currency/>
|
|
|
|
|
<decimal/>
|
|
|
|
|
<format/>
|
|
|
|
|
<group/>
|
|
|
|
|
<length>-1</length>
|
|
|
|
|
<name>ORG_ROW</name>
|
|
|
|
|
<precision>-1</precision>
|
|
|
|
|
<trim_type>none</trim_type>
|
|
|
|
|
<type>String</type>
|
|
|
|
|
<variable/>
|
|
|
|
|
</field>
|
|
|
|
|
</fields>
|
|
|
|
|
<attributes/>
|
|
|
|
|
<GUI>
|
|
|
|
|
<xloc>656</xloc>
|
|
|
|
|
<yloc>208</yloc>
|
|
|
|
|
</GUI>
|
|
|
|
|
</transform>
|
|
|
|
|
<transform>
|
|
|
|
|
<name>Insert / update</name>
|
|
|
|
|
<type>InsertUpdate</type>
|
|
|
|
|
<description/>
|
|
|
|
|
<distribute>Y</distribute>
|
|
|
|
|
<custom_distribution/>
|
|
|
|
|
<copies>1</copies>
|
|
|
|
|
<partitioning>
|
|
|
|
|
<method>none</method>
|
|
|
|
|
<schema_name/>
|
|
|
|
|
</partitioning>
|
|
|
|
|
<commit>100</commit>
|
|
|
|
|
<connection>ervu-dashboard</connection>
|
|
|
|
|
<lookup>
|
|
|
|
|
<key>
|
|
|
|
|
<condition>=</condition>
|
|
|
|
|
<field>recruitment_reg_id</field>
|
|
|
|
|
<name>ORG_ROW</name>
|
|
|
|
|
<name2/>
|
|
|
|
|
</key>
|
|
|
|
|
<schema>ervu_dashboard</schema>
|
|
|
|
|
<table>array_reg</table>
|
|
|
|
|
<value>
|
|
|
|
|
<name>vk_array_id</name>
|
|
|
|
|
<rename>vk_array_id</rename>
|
|
|
|
|
<update>Y</update>
|
|
|
|
|
</value>
|
|
|
|
|
<value>
|
|
|
|
|
<name>recruitment_reg_id</name>
|
|
|
|
|
<rename>recruitment_reg_id</rename>
|
|
|
|
|
<update>Y</update>
|
|
|
|
|
</value>
|
|
|
|
|
</lookup>
|
|
|
|
|
<update_bypassed>N</update_bypassed>
|
|
|
|
|
<attributes/>
|
|
|
|
|
<GUI>
|
|
|
|
|
<xloc>992</xloc>
|
|
|
|
|
<yloc>208</yloc>
|
|
|
|
|
</GUI>
|
|
|
|
|
</transform>
|
|
|
|
|
<transform>
|
|
|
|
|
<name>Select values 3 2</name>
|
|
|
|
|
<type>SelectValues</type>
|
2024-10-16 10:38:29 +03:00
|
|
|
<description/>
|
|
|
|
|
<distribute>Y</distribute>
|
|
|
|
|
<custom_distribution/>
|
|
|
|
|
<copies>1</copies>
|
|
|
|
|
<partitioning>
|
|
|
|
|
<method>none</method>
|
|
|
|
|
<schema_name/>
|
|
|
|
|
</partitioning>
|
2025-04-07 20:31:30 +03:00
|
|
|
<fields>
|
|
|
|
|
<select_unspecified>N</select_unspecified>
|
|
|
|
|
<meta>
|
|
|
|
|
<name>ORG_ROW</name>
|
|
|
|
|
<rename>ORG_ROW</rename>
|
|
|
|
|
<type>String</type>
|
|
|
|
|
<length>-2</length>
|
|
|
|
|
<precision>-2</precision>
|
|
|
|
|
<conversion_mask/>
|
|
|
|
|
<date_format_lenient>false</date_format_lenient>
|
|
|
|
|
<date_format_locale/>
|
|
|
|
|
<date_format_timezone/>
|
|
|
|
|
<lenient_string_to_number>false</lenient_string_to_number>
|
|
|
|
|
<encoding/>
|
|
|
|
|
<decimal_symbol/>
|
|
|
|
|
<grouping_symbol/>
|
|
|
|
|
<currency_symbol/>
|
|
|
|
|
<storage_type/>
|
|
|
|
|
</meta>
|
|
|
|
|
</fields>
|
2024-10-16 10:38:29 +03:00
|
|
|
<attributes/>
|
|
|
|
|
<GUI>
|
2025-04-07 20:31:30 +03:00
|
|
|
<xloc>800</xloc>
|
2024-10-16 10:38:29 +03:00
|
|
|
<yloc>208</yloc>
|
|
|
|
|
</GUI>
|
|
|
|
|
</transform>
|
|
|
|
|
<transform>
|
|
|
|
|
<name>Table input/регион</name>
|
|
|
|
|
<type>TableInput</type>
|
|
|
|
|
<description/>
|
|
|
|
|
<distribute>Y</distribute>
|
|
|
|
|
<custom_distribution/>
|
|
|
|
|
<copies>1</copies>
|
|
|
|
|
<partitioning>
|
|
|
|
|
<method>none</method>
|
|
|
|
|
<schema_name/>
|
|
|
|
|
</partitioning>
|
|
|
|
|
<connection>ervu-dashboard</connection>
|
|
|
|
|
<execute_each_row>N</execute_each_row>
|
2025-04-07 20:31:30 +03:00
|
|
|
<limit/>
|
|
|
|
|
<sql>SELECT
|
|
|
|
|
'${ORG_ROW}' AS recruitment_reg_id,
|
|
|
|
|
ARRAY(
|
|
|
|
|
SELECT idm_id
|
|
|
|
|
FROM (
|
|
|
|
|
SELECT idm_id
|
|
|
|
|
FROM ervu_dashboard.recruitment
|
|
|
|
|
WHERE schema = 'Department' AND parent_id = '${ORG_ROW}'
|
|
|
|
|
UNION ALL
|
|
|
|
|
SELECT idm_id
|
|
|
|
|
FROM ervu_dashboard.recruitment
|
|
|
|
|
WHERE idm_id = '${ORG_ROW}'
|
|
|
|
|
) subquery
|
|
|
|
|
) AS vk_array_id
|
|
|
|
|
FROM ervu_dashboard.recruitment
|
|
|
|
|
WHERE idm_id = '${ORG_ROW}'; </sql>
|
|
|
|
|
<variables_active>Y</variables_active>
|
2024-10-16 10:38:29 +03:00
|
|
|
<attributes/>
|
|
|
|
|
<GUI>
|
2025-04-07 20:31:30 +03:00
|
|
|
<xloc>528</xloc>
|
2024-10-16 10:38:29 +03:00
|
|
|
<yloc>208</yloc>
|
|
|
|
|
</GUI>
|
|
|
|
|
</transform>
|
|
|
|
|
<transform_error_handling>
|
|
|
|
|
</transform_error_handling>
|
|
|
|
|
<attributes/>
|
|
|
|
|
</pipeline>
|