<?xml version="1.0" encoding="UTF-8"?>
<pipeline>
  <info>
    <name>individual_entrepreneur_flow_delta</name>
    <name_sync_with_filename>Y</name_sync_with_filename>
    <description/>
    <extended_description/>
    <pipeline_version/>
    <pipeline_type>Normal</pipeline_type>
    <parameters>
    </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>2025/08/19 09:17:38.141</created_date>
    <modified_user>-</modified_user>
    <modified_date>2025/08/19 09:17:38.141</modified_date>
  </info>
  <notepads>
  </notepads>
  <order>
    <hop>
      <from>Change job status on error</from>
      <to>Abort</to>
      <enabled>Y</enabled>
    </hop>
    <hop>
      <from>Create job execution record</from>
      <to>ip_input</to>
      <enabled>Y</enabled>
    </hop>
    <hop>
      <from>Detect empty stream</from>
      <to>delete_akt_become_null</to>
      <enabled>Y</enabled>
    </hop>
    <hop>
      <from>Detect empty stream 2</from>
      <to>upsert_akt</to>
      <enabled>Y</enabled>
    </hop>
    <hop>
      <from>Detect empty stream 3</from>
      <to>upsert_pred</to>
      <enabled>Y</enabled>
    </hop>
    <hop>
      <from>delete_akt_become_null</from>
      <to>Change job status on error</to>
      <enabled>Y</enabled>
    </hop>
    <hop>
      <from>delete_akt_become_null</from>
      <to>update_akt_flag_on_delete</to>
      <enabled>Y</enabled>
    </hop>
    <hop>
      <from>filter_akt_rows_for_delete</from>
      <to>Detect empty stream</to>
      <enabled>Y</enabled>
    </hop>
    <hop>
      <from>filter_akt_rows_for_update</from>
      <to>Detect empty stream 2</to>
      <enabled>Y</enabled>
    </hop>
    <hop>
      <from>filter_pred_rows_for_update</from>
      <to>Detect empty stream 3</to>
      <enabled>Y</enabled>
    </hop>
    <hop>
      <from>ip_input</from>
      <to>filter_akt_rows_for_delete</to>
      <enabled>Y</enabled>
    </hop>
    <hop>
      <from>ip_input</from>
      <to>filter_akt_rows_for_update</to>
      <enabled>Y</enabled>
    </hop>
    <hop>
      <from>ip_input</from>
      <to>filter_pred_rows_for_update</to>
      <enabled>Y</enabled>
    </hop>
    <hop>
      <from>update_akt_flag</from>
      <to>Change job status on error</to>
      <enabled>Y</enabled>
    </hop>
    <hop>
      <from>update_akt_flag</from>
      <to>Filter rows</to>
      <enabled>Y</enabled>
    </hop>
    <hop>
      <from>update_akt_flag_on_delete</from>
      <to>Change job status on error</to>
      <enabled>Y</enabled>
    </hop>
    <hop>
      <from>update_akt_flag_on_delete</from>
      <to>Filter rows</to>
      <enabled>Y</enabled>
    </hop>
    <hop>
      <from>upsert_akt</from>
      <to>Change job status on error</to>
      <enabled>Y</enabled>
    </hop>
    <hop>
      <from>upsert_akt</from>
      <to>update_akt_flag</to>
      <enabled>Y</enabled>
    </hop>
    <hop>
      <from>upsert_pred</from>
      <to>Change job status on error</to>
      <enabled>Y</enabled>
    </hop>
    <hop>
      <from>upsert_pred</from>
      <to>Filter rows</to>
      <enabled>Y</enabled>
    </hop>
    <hop>
      <from>filter_null_npd_dates</from>
      <to>unique_by_rec_id</to>
      <enabled>Y</enabled>
    </hop>
    <hop>
      <from>ip_input</from>
      <to>filter_null_npd_dates</to>
      <enabled>Y</enabled>
    </hop>
    <hop>
      <from>unique_by_rec_id</from>
      <to>individual_entrepreneur_npd_upsert</to>
      <enabled>Y</enabled>
    </hop>
    <hop>
      <from>individual_entrepreneur_npd_upsert</from>
      <to>Change job status on error</to>
      <enabled>Y</enabled>
    </hop>
    <hop>
      <from>Filter rows</from>
      <to>Change job status on success</to>
      <enabled>Y</enabled>
    </hop>
  </order>
  <transform>
    <name>Abort</name>
    <type>Abort</type>
    <description/>
    <distribute>Y</distribute>
    <custom_distribution/>
    <copies>1</copies>
    <partitioning>
      <method>none</method>
      <schema_name/>
    </partitioning>
    <abort_option>ABORT</abort_option>
    <always_log_rows>Y</always_log_rows>
    <row_threshold>0</row_threshold>
    <attributes/>
    <GUI>
      <xloc>1856</xloc>
      <yloc>656</yloc>
    </GUI>
  </transform>
  <transform>
    <name>Change job status on error</name>
    <type>ExecSql</type>
    <description/>
    <distribute>Y</distribute>
    <custom_distribution/>
    <copies>1</copies>
    <partitioning>
      <method>none</method>
      <schema_name/>
    </partitioning>
    <arguments>
      <argument>
        <name>error_description</name>
      </argument>
    </arguments>
    <connection>ervu-dashboard</connection>
    <execute_each_row>Y</execute_each_row>
    <quoteString>N</quoteString>
    <replace_variables>Y</replace_variables>
    <set_params>Y</set_params>
    <single_statement>N</single_statement>
    <sql>UPDATE etl.job_execution
SET status = 'ERROR',
    error_description = ?,
    execution_end_datetime = current_timestamp
WHERE job_name = '${JOB_NAME}' 
and recruitment_id = '${IDM_ID}';

</sql>
    <attributes/>
    <GUI>
      <xloc>1648</xloc>
      <yloc>656</yloc>
    </GUI>
  </transform>
  <transform>
    <name>Change job status on success</name>
    <type>ExecSql</type>
    <description/>
    <distribute>Y</distribute>
    <custom_distribution/>
    <copies>1</copies>
    <partitioning>
      <method>none</method>
      <schema_name/>
    </partitioning>
    <arguments>
</arguments>
    <connection>ervu-dashboard</connection>
    <execute_each_row>N</execute_each_row>
    <quoteString>N</quoteString>
    <replace_variables>Y</replace_variables>
    <set_params>N</set_params>
    <single_statement>N</single_statement>
    <sql>UPDATE etl.job_execution
SET status = 'DELTA_SUCCESS',
    execution_end_datetime = current_timestamp
WHERE job_name = '${JOB_NAME}'
and recruitment_id = '${IDM_ID}';

</sql>
    <attributes/>
    <GUI>
      <xloc>1920</xloc>
      <yloc>400</yloc>
    </GUI>
  </transform>
  <transform>
    <name>Create job execution record</name>
    <type>ExecSql</type>
    <description/>
    <distribute>Y</distribute>
    <custom_distribution/>
    <copies>1</copies>
    <partitioning>
      <method>none</method>
      <schema_name/>
    </partitioning>
    <arguments>
</arguments>
    <connection>ervu-dashboard</connection>
    <execute_each_row>N</execute_each_row>
    <quoteString>N</quoteString>
    <replace_variables>Y</replace_variables>
    <set_params>N</set_params>
    <single_statement>N</single_statement>
    <sql>UPDATE etl.job_execution  
SET
    status = 'DELTA_PROCESSING',
    execution_datetime = current_timestamp,
    error_description = NULL
where job_name = '${JOB_NAME}'
and recruitment_id = '${IDM_ID}';</sql>
    <attributes/>
    <GUI>
      <xloc>384</xloc>
      <yloc>432</yloc>
    </GUI>
  </transform>
  <transform>
    <name>Detect empty stream</name>
    <type>DetectEmptyStream</type>
    <description/>
    <distribute>Y</distribute>
    <custom_distribution/>
    <copies>1</copies>
    <partitioning>
      <method>none</method>
      <schema_name/>
    </partitioning>
    <attributes/>
    <GUI>
      <xloc>1024</xloc>
      <yloc>320</yloc>
    </GUI>
  </transform>
  <transform>
    <name>Detect empty stream 2</name>
    <type>DetectEmptyStream</type>
    <description/>
    <distribute>Y</distribute>
    <custom_distribution/>
    <copies>1</copies>
    <partitioning>
      <method>none</method>
      <schema_name/>
    </partitioning>
    <attributes/>
    <GUI>
      <xloc>1024</xloc>
      <yloc>432</yloc>
    </GUI>
  </transform>
  <transform>
    <name>Detect empty stream 3</name>
    <type>DetectEmptyStream</type>
    <description/>
    <distribute>Y</distribute>
    <custom_distribution/>
    <copies>1</copies>
    <partitioning>
      <method>none</method>
      <schema_name/>
    </partitioning>
    <attributes/>
    <GUI>
      <xloc>1024</xloc>
      <yloc>544</yloc>
    </GUI>
  </transform>
  <transform>
    <name>Filter rows</name>
    <type>FilterRows</type>
    <description/>
    <distribute>Y</distribute>
    <custom_distribution/>
    <copies>1</copies>
    <partitioning>
      <method>none</method>
      <schema_name/>
    </partitioning>
    <compare>
      <condition>
        <conditions>
</conditions>
        <function>=</function>
        <leftvalue>last_row</leftvalue>
        <negated>N</negated>
        <operator>-</operator>
        <value>
          <isnull>N</isnull>
          <length>-1</length>
          <name>constant</name>
          <precision>-1</precision>
          <text>Y</text>
          <type>Boolean</type>
        </value>
      </condition>
    </compare>
    <send_true_to>Change job status on success</send_true_to>
    <attributes/>
    <GUI>
      <xloc>1696</xloc>
      <yloc>400</yloc>
    </GUI>
  </transform>
  <transform>
    <name>delete_akt_become_null</name>
    <type>Delete</type>
    <description/>
    <distribute>Y</distribute>
    <custom_distribution/>
    <copies>1</copies>
    <partitioning>
      <method>none</method>
      <schema_name/>
    </partitioning>
    <commit>10000</commit>
    <connection>ervu-dashboard</connection>
    <lookup>
      <key>
        <condition>=</condition>
        <field>source_id</field>
        <name>source_id</name>
      </key>
      <key>
        <condition>=</condition>
        <field>actual</field>
        <name>delete_akt</name>
      </key>
      <schema>ervu_dashboard</schema>
      <table>individual_entrepreneur</table>
    </lookup>
    <attributes/>
    <GUI>
      <xloc>1200</xloc>
      <yloc>320</yloc>
    </GUI>
  </transform>
  <transform>
    <name>filter_akt_rows_for_delete</name>
    <type>FilterRows</type>
    <description/>
    <distribute>Y</distribute>
    <custom_distribution/>
    <copies>1</copies>
    <partitioning>
      <method>none</method>
      <schema_name/>
    </partitioning>
    <compare>
      <condition>
        <conditions>
</conditions>
        <function>=</function>
        <leftvalue>delete_akt</leftvalue>
        <negated>N</negated>
        <operator>-</operator>
        <value>
          <isnull>N</isnull>
          <length>-1</length>
          <name>constant</name>
          <precision>-1</precision>
          <text>Y</text>
          <type>Boolean</type>
        </value>
      </condition>
    </compare>
    <send_true_to>Detect empty stream</send_true_to>
    <attributes/>
    <GUI>
      <xloc>848</xloc>
      <yloc>320</yloc>
    </GUI>
  </transform>
  <transform>
    <name>filter_akt_rows_for_update</name>
    <type>FilterRows</type>
    <description/>
    <distribute>Y</distribute>
    <custom_distribution/>
    <copies>1</copies>
    <partitioning>
      <method>none</method>
      <schema_name/>
    </partitioning>
    <compare>
      <condition>
        <conditions>
</conditions>
        <function>=</function>
        <leftvalue>akt_need_update</leftvalue>
        <negated>N</negated>
        <operator>-</operator>
        <value>
          <isnull>N</isnull>
          <length>-1</length>
          <name>constant</name>
          <precision>-1</precision>
          <text>Y</text>
          <type>Boolean</type>
        </value>
      </condition>
    </compare>
    <send_true_to>Detect empty stream 2</send_true_to>
    <attributes/>
    <GUI>
      <xloc>848</xloc>
      <yloc>432</yloc>
    </GUI>
  </transform>
  <transform>
    <name>filter_null_npd_dates</name>
    <type>FilterRows</type>
    <description/>
    <distribute>Y</distribute>
    <custom_distribution/>
    <copies>1</copies>
    <partitioning>
      <method>none</method>
      <schema_name/>
    </partitioning>
    <compare>
      <condition>
        <conditions>
</conditions>
        <function>IS NOT NULL</function>
        <leftvalue>reg_npd_date</leftvalue>
        <negated>N</negated>
        <operator>-</operator>
      </condition>
    </compare>
    <send_true_to>unique_by_rec_id</send_true_to>
    <attributes/>
    <GUI>
      <xloc>848</xloc>
      <yloc>656</yloc>
    </GUI>
  </transform>
  <transform>
    <name>filter_pred_rows_for_update</name>
    <type>FilterRows</type>
    <description/>
    <distribute>Y</distribute>
    <custom_distribution/>
    <copies>1</copies>
    <partitioning>
      <method>none</method>
      <schema_name/>
    </partitioning>
    <compare>
      <condition>
        <conditions>
</conditions>
        <function>=</function>
        <leftvalue>pred_need_update</leftvalue>
        <negated>N</negated>
        <operator>-</operator>
        <value>
          <isnull>N</isnull>
          <length>-1</length>
          <name>constant</name>
          <precision>-1</precision>
          <text>Y</text>
          <type>Boolean</type>
        </value>
      </condition>
    </compare>
    <send_true_to>Detect empty stream 3</send_true_to>
    <attributes/>
    <GUI>
      <xloc>848</xloc>
      <yloc>544</yloc>
    </GUI>
  </transform>
  <transform>
    <name>individual_entrepreneur_npd_upsert</name>
    <type>InsertUpdate</type>
    <description/>
    <distribute>Y</distribute>
    <custom_distribution/>
    <copies>1</copies>
    <partitioning>
      <method>none</method>
      <schema_name/>
    </partitioning>
    <commit>10000</commit>
    <connection>ervu-dashboard</connection>
    <lookup>
      <key>
        <condition>=</condition>
        <field>recruit_id</field>
        <name>recruit_id</name>
      </key>
      <schema>ervu_dashboard</schema>
      <table>individual_entrepreneur_npd</table>
      <value>
        <name>recruit_id</name>
        <rename>recruit_id</rename>
        <update>N</update>
      </value>
      <value>
        <name>source_id</name>
        <rename>source_id</rename>
        <update>N</update>
      </value>
      <value>
        <name>register_date</name>
        <rename>reg_npd_date</rename>
        <update>Y</update>
      </value>
      <value>
        <name>deregistration_date</name>
        <rename>dereg_npd_date</rename>
        <update>Y</update>
      </value>
    </lookup>
    <update_bypassed>N</update_bypassed>
    <attributes/>
    <GUI>
      <xloc>1216</xloc>
      <yloc>656</yloc>
    </GUI>
  </transform>
  <transform>
    <name>ip_input</name>
    <type>TableInput</type>
    <description/>
    <distribute>N</distribute>
    <custom_distribution/>
    <copies>1</copies>
    <partitioning>
      <method>none</method>
      <schema_name/>
    </partitioning>
    <connection>ervu-dashboard</connection>
    <execute_each_row>N</execute_each_row>
    <limit/>
    <sql>with filtered_data as (select ri.recruit_id,
                              ri.info -> 'svedFL' -> 'svedRegIP' -> 'regIP' ->> 'id'           as source_id,
                              ri.info -> 'svedFL' -> 'svedRegIP' -> 'regIP' -> 'aktRegIP' -> 0 as akt_ip_elem,
                              ri.info -> 'svedFL' -> 'svedRegIP' -> 'regIP' -> 'predRegIP' -> 0 as pred_ip_elem,
                              to_date(ri.info -> 'svedFL' -> 'svedRegIP' -> 'regIP' -> 'extend' ->> 'dataUchNPD',
                                      'YYYY-MM-DD')                                            as reg_npd_date,
                              to_date(ri.info -> 'svedFL' -> 'svedRegIP' -> 'regIP' -> 'extend' ->> 'dataSnUchNPD',
                                      'YYYY-MM-DD')                                            as dereg_npd_date,
				  ctid
                       from ervu_dashboard.recruits_info ri
                       where ri.info -> 'svedFL' -> 'svedRegIP' -> 'regIP' ->> 'aktRegIP' != 'null'
                         and (to_date(ri.info -> 'svedFL' -> 'svedRegIP' -> 'regIP' -> 'aktRegIP' ->> 'dataSved',
                                     'YYYY-MM-DD') > '${MAX_SOURCE_UPDATE_DATE}'
                                  or to_date(ri.info -> 'svedFL' -> 'svedRegIP' -> 'regIP' -> 'predRegIP' ->> 'dataSved',
                                             'YYYY-MM-DD') > '${MAX_SOURCE_UPDATE_DATE}')
                         AND (ri.current_recruitment_id = '${IDM_ID}' or (ri.current_recruitment_id is null and ri.target_recruitment_id = '${IDM_ID}'))
)
select fd.recruit_id,
       fd.source_id,
       reg_npd_date,
       dereg_npd_date,
       akt_ip_elem ->> 'ogrnip'                            as akt_ogrnip,
       to_date(akt_ip_elem ->> 'dataSved', 'YYYY-MM-DD')   as akt_source_update_date,
       to_date(akt_ip_elem ->> 'dataRegIP', 'YYYY-MM-DD')  as akt_registration_date,
       jsonb_typeof(akt_ip_elem) IS NULL                                                   as delete_akt,
       to_date(fd.akt_ip_elem ->> 'dataSved', 'YYYY-MM-DD') > '${MAX_SOURCE_UPDATE_DATE}'  as akt_need_update,
       pred_ip_elem ->> 'ogrnip'                            as pred_ogrnip,
       to_date(pred_ip_elem ->> 'dataSved', 'YYYY-MM-DD')   as pred_source_update_date,
       to_date(pred_ip_elem ->> 'dataRegIP', 'YYYY-MM-DD')  as pred_registration_date,
       to_date(pred_ip_elem ->> 'dataINNNed', 'YYYY-MM-DD') as pred_deregistration_date,
       to_date(fd.pred_ip_elem ->> 'dataSved', 'YYYY-MM-DD') > '${MAX_SOURCE_UPDATE_DATE}'  as pred_need_update,
	fd.ctid = (select max(ctid) from filtered_data) as last_row
from filtered_data fd;
</sql>
    <variables_active>Y</variables_active>
    <attributes/>
    <GUI>
      <xloc>592</xloc>
      <yloc>432</yloc>
    </GUI>
  </transform>
  <transform>
    <name>unique_by_rec_id</name>
    <type>UniqueRowsByHashSet</type>
    <description/>
    <distribute>Y</distribute>
    <custom_distribution/>
    <copies>1</copies>
    <partitioning>
      <method>none</method>
      <schema_name/>
    </partitioning>
    <store_values>N</store_values>
    <reject_duplicate_row>N</reject_duplicate_row>
    <error_description/>
    <fields>
      <field>
        <name>recruit_id</name>
      </field>
    </fields>
    <attributes/>
    <GUI>
      <xloc>1024</xloc>
      <yloc>656</yloc>
    </GUI>
  </transform>
  <transform>
    <name>update_akt_flag</name>
    <type>Update</type>
    <description/>
    <distribute>Y</distribute>
    <custom_distribution/>
    <copies>1</copies>
    <partitioning>
      <method>none</method>
      <schema_name/>
    </partitioning>
    <commit>10000</commit>
    <connection>ervu-dashboard</connection>
    <error_ignored>N</error_ignored>
    <lookup>
      <key>
        <condition>&lt;></condition>
        <field>individual_entrepreneur</field>
        <name>akt_actual_employer</name>
      </key>
      <key>
        <condition>=</condition>
        <field>recruit_id</field>
        <name>recruit_id</name>
      </key>
      <schema>ervu_dashboard</schema>
      <table>citizen</table>
      <value>
        <name>individual_entrepreneur</name>
        <rename>delete_akt</rename>
      </value>
    </lookup>
    <skip_lookup>N</skip_lookup>
    <use_batch>Y</use_batch>
    <attributes/>
    <GUI>
      <xloc>1392</xloc>
      <yloc>432</yloc>
    </GUI>
  </transform>
  <transform>
    <name>update_akt_flag_on_delete</name>
    <type>Update</type>
    <description/>
    <distribute>Y</distribute>
    <custom_distribution/>
    <copies>1</copies>
    <partitioning>
      <method>none</method>
      <schema_name/>
    </partitioning>
    <commit>10000</commit>
    <connection>ervu-dashboard</connection>
    <error_ignored>N</error_ignored>
    <lookup>
      <key>
        <condition>=</condition>
        <field>employed</field>
        <name>delete_akt</name>
      </key>
      <key>
        <condition>=</condition>
        <field>recruit_id</field>
        <name>recruit_id</name>
      </key>
      <schema>ervu_dashboard</schema>
      <table>citizen</table>
      <value>
        <name>individual_entrepreneur</name>
        <rename>akt_need_update</rename>
      </value>
    </lookup>
    <skip_lookup>N</skip_lookup>
    <use_batch>Y</use_batch>
    <attributes/>
    <GUI>
      <xloc>1392</xloc>
      <yloc>320</yloc>
    </GUI>
  </transform>
  <transform>
    <name>upsert_akt</name>
    <type>InsertUpdate</type>
    <description/>
    <distribute>Y</distribute>
    <custom_distribution/>
    <copies>1</copies>
    <partitioning>
      <method>none</method>
      <schema_name/>
    </partitioning>
    <commit>10000</commit>
    <connection>ervu-dashboard</connection>
    <lookup>
      <key>
        <condition>=</condition>
        <field>source_id</field>
        <name>source_id</name>
      </key>
      <key>
        <condition>=</condition>
        <field>actual</field>
        <name>akt_need_update</name>
      </key>
      <schema>ervu_dashboard</schema>
      <table>individual_entrepreneur</table>
      <value>
        <name>recruit_id</name>
        <rename>recruit_id</rename>
        <update>N</update>
      </value>
      <value>
        <name>source_id</name>
        <rename>source_id</rename>
        <update>N</update>
      </value>
      <value>
        <name>ogrnip</name>
        <rename>akt_ogrnip</rename>
        <update>Y</update>
      </value>
      <value>
        <name>source_update_date</name>
        <rename>akt_source_update_date</rename>
        <update>Y</update>
      </value>
      <value>
        <name>registration_date</name>
        <rename>akt_registration_date</rename>
        <update>Y</update>
      </value>
    </lookup>
    <update_bypassed>N</update_bypassed>
    <attributes/>
    <GUI>
      <xloc>1200</xloc>
      <yloc>432</yloc>
    </GUI>
  </transform>
  <transform>
    <name>upsert_pred</name>
    <type>InsertUpdate</type>
    <description/>
    <distribute>Y</distribute>
    <custom_distribution/>
    <copies>1</copies>
    <partitioning>
      <method>none</method>
      <schema_name/>
    </partitioning>
    <commit>10000</commit>
    <connection>ervu-dashboard</connection>
    <lookup>
      <key>
        <condition>=</condition>
        <field>source_id</field>
        <name>source_id</name>
      </key>
      <key>
        <condition>&lt;></condition>
        <field>actual</field>
        <name>pred_need_update</name>
      </key>
      <schema>ervu_dashboard</schema>
      <table>individual_entrepreneur</table>
      <value>
        <name>recruit_id</name>
        <rename>recruit_id</rename>
        <update>N</update>
      </value>
      <value>
        <name>source_id</name>
        <rename>source_id</rename>
        <update>N</update>
      </value>
      <value>
        <name>ogrnip</name>
        <rename>pred_ogrnip</rename>
        <update>Y</update>
      </value>
      <value>
        <name>source_update_date</name>
        <rename>pred_source_update_date</rename>
        <update>Y</update>
      </value>
      <value>
        <name>registration_date</name>
        <rename>pred_registration_date</rename>
        <update>Y</update>
      </value>
      <value>
        <name>deregistration_date</name>
        <rename>pred_deregistration_date</rename>
        <update>Y</update>
      </value>
    </lookup>
    <update_bypassed>N</update_bypassed>
    <attributes/>
    <GUI>
      <xloc>1392</xloc>
      <yloc>544</yloc>
    </GUI>
  </transform>
  <transform_error_handling>
    <error>
      <source_transform>delete_akt_become_null</source_transform>
      <target_transform>Change job status on error</target_transform>
      <is_enabled>Y</is_enabled>
      <nr_valuename/>
      <descriptions_valuename>error_description</descriptions_valuename>
      <fields_valuename/>
      <codes_valuename/>
      <max_errors/>
      <max_pct_errors/>
      <min_pct_rows/>
    </error>
    <error>
      <source_transform>individual_entrepreneur_npd_upsert</source_transform>
      <target_transform>Change job status on error</target_transform>
      <is_enabled>Y</is_enabled>
      <nr_valuename/>
      <descriptions_valuename/>
      <fields_valuename/>
      <codes_valuename/>
      <max_errors/>
      <max_pct_errors/>
      <min_pct_rows/>
    </error>
    <error>
      <source_transform>update_akt_flag</source_transform>
      <target_transform>Change job status on error</target_transform>
      <is_enabled>Y</is_enabled>
      <nr_valuename/>
      <descriptions_valuename>error_description</descriptions_valuename>
      <fields_valuename/>
      <codes_valuename/>
      <max_errors/>
      <max_pct_errors/>
      <min_pct_rows/>
    </error>
    <error>
      <source_transform>update_akt_flag_on_delete</source_transform>
      <target_transform>Change job status on error</target_transform>
      <is_enabled>Y</is_enabled>
      <nr_valuename/>
      <descriptions_valuename>error_description</descriptions_valuename>
      <fields_valuename/>
      <codes_valuename/>
      <max_errors/>
      <max_pct_errors/>
      <min_pct_rows/>
    </error>
    <error>
      <source_transform>upsert_akt</source_transform>
      <target_transform>Change job status on error</target_transform>
      <is_enabled>Y</is_enabled>
      <nr_valuename/>
      <descriptions_valuename>error_description</descriptions_valuename>
      <fields_valuename/>
      <codes_valuename/>
      <max_errors/>
      <max_pct_errors/>
      <min_pct_rows/>
    </error>
    <error>
      <source_transform>upsert_pred</source_transform>
      <target_transform>Change job status on error</target_transform>
      <is_enabled>Y</is_enabled>
      <nr_valuename/>
      <descriptions_valuename>error_description</descriptions_valuename>
      <fields_valuename/>
      <codes_valuename/>
      <max_errors/>
      <max_pct_errors/>
      <min_pct_rows/>
    </error>
  </transform_error_handling>
  <attributes/>
</pipeline>
