<?xml version="1.0" encoding="UTF-8"?>
<workflow>
  <name>job_ratings</name>
  <name_sync_with_filename>Y</name_sync_with_filename>
  <description/>
  <extended_description/>
  <workflow_version/>
  <workflow_status>0</workflow_status>
  <created_user>-</created_user>
  <created_date>2024/12/24 16:11:59.295</created_date>
  <modified_user>-</modified_user>
  <modified_date>2024/12/24 16:11:59.295</modified_date>
  <parameters>
    <parameter>
      <name>REG_ID</name>
      <default_value/>
      <description/>
    </parameter>
    <parameter>
      <name>VK_ARRAY</name>
      <default_value/>
      <description/>
    </parameter>
  </parameters>
  <actions>
    <action>
      <name>Start</name>
      <description/>
      <type>SPECIAL</type>
      <attributes/>
      <DayOfMonth>1</DayOfMonth>
      <hour>12</hour>
      <intervalMinutes>60</intervalMinutes>
      <intervalSeconds>0</intervalSeconds>
      <minutes>0</minutes>
      <repeat>N</repeat>
      <schedulerType>0</schedulerType>
      <weekDay>1</weekDay>
      <parallel>Y</parallel>
      <xloc>464</xloc>
      <yloc>256</yloc>
      <attributes_hac/>
    </action>
    <action>
      <name>rows_id-array_reg.hpl</name>
      <description/>
      <type>PIPELINE</type>
      <attributes/>
      <add_date>N</add_date>
      <add_time>N</add_time>
      <clear_files>N</clear_files>
      <clear_rows>N</clear_rows>
      <create_parent_folder>N</create_parent_folder>
      <exec_per_row>N</exec_per_row>
      <filename>${PROJECT_HOME}/region/rows_id-array_reg.hpl</filename>
      <loglevel>Basic</loglevel>
      <parameters>
        <pass_all_parameters>Y</pass_all_parameters>
      </parameters>
      <params_from_previous>N</params_from_previous>
      <run_configuration>local</run_configuration>
      <set_append_logfile>N</set_append_logfile>
      <set_logfile>N</set_logfile>
      <wait_until_finished>Y</wait_until_finished>
      <parallel>Y</parallel>
      <xloc>704</xloc>
      <yloc>256</yloc>
      <attributes_hac/>
    </action>
    <action>
      <name>ratings.appear_subpoena.hpl</name>
      <description/>
      <type>PIPELINE</type>
      <attributes/>
      <add_date>N</add_date>
      <add_time>N</add_time>
      <clear_files>N</clear_files>
      <clear_rows>N</clear_rows>
      <create_parent_folder>N</create_parent_folder>
      <exec_per_row>Y</exec_per_row>
      <filename>${PROJECT_HOME}/ratings/ratings.appear_subpoena.hpl</filename>
      <loglevel>Basic</loglevel>
      <parameters>
        <parameter>
          <name>VK_ARRAY</name>
          <stream_name>VK_ARRAY_ID</stream_name>
        </parameter>
        <parameter>
          <name>REG_ID</name>
          <stream_name>RECRUITMENT_REG_ID</stream_name>
        </parameter>
        <pass_all_parameters>Y</pass_all_parameters>
      </parameters>
      <params_from_previous>Y</params_from_previous>
      <run_configuration>local</run_configuration>
      <set_append_logfile>N</set_append_logfile>
      <set_logfile>N</set_logfile>
      <wait_until_finished>Y</wait_until_finished>
      <parallel>N</parallel>
      <xloc>1104</xloc>
      <yloc>144</yloc>
      <attributes_hac/>
    </action>
    <action>
      <name>ratings.conscription_info.hpl</name>
      <description/>
      <type>PIPELINE</type>
      <attributes/>
      <add_date>N</add_date>
      <add_time>N</add_time>
      <clear_files>N</clear_files>
      <clear_rows>N</clear_rows>
      <create_parent_folder>N</create_parent_folder>
      <exec_per_row>Y</exec_per_row>
      <filename>${PROJECT_HOME}/ratings/ratings.conscription_info.hpl</filename>
      <loglevel>Basic</loglevel>
      <parameters>
        <parameter>
          <name>VK_ARRAY</name>
          <stream_name>VK_ARRAY_ID</stream_name>
        </parameter>
        <parameter>
          <name>REG_ID</name>
          <stream_name>RECRUITMENT_REG_ID</stream_name>
        </parameter>
        <pass_all_parameters>Y</pass_all_parameters>
      </parameters>
      <params_from_previous>Y</params_from_previous>
      <run_configuration>local</run_configuration>
      <set_append_logfile>N</set_append_logfile>
      <set_logfile>N</set_logfile>
      <wait_until_finished>Y</wait_until_finished>
      <parallel>N</parallel>
      <xloc>1104</xloc>
      <yloc>256</yloc>
      <attributes_hac/>
    </action>
    <action>
      <name>ratings.consideration_complaint.hpl</name>
      <description/>
      <type>PIPELINE</type>
      <attributes/>
      <add_date>N</add_date>
      <add_time>N</add_time>
      <clear_files>N</clear_files>
      <clear_rows>N</clear_rows>
      <create_parent_folder>N</create_parent_folder>
      <exec_per_row>N</exec_per_row>
      <filename>${PROJECT_HOME}/ratings/ratings.consideration_complaint.hpl</filename>
      <loglevel>Basic</loglevel>
      <parameters>
        <parameter>
          <name>VK_ARRAY</name>
          <stream_name>VK_ARRAY_ID</stream_name>
        </parameter>
        <parameter>
          <name>REG_ID</name>
          <stream_name>RECRUITMENT_REG_ID</stream_name>
        </parameter>
        <pass_all_parameters>Y</pass_all_parameters>
      </parameters>
      <params_from_previous>N</params_from_previous>
      <run_configuration>local</run_configuration>
      <set_append_logfile>N</set_append_logfile>
      <set_logfile>N</set_logfile>
      <wait_until_finished>Y</wait_until_finished>
      <parallel>N</parallel>
      <xloc>1104</xloc>
      <yloc>368</yloc>
      <attributes_hac/>
    </action>
    <action>
      <name>Success</name>
      <description/>
      <type>SUCCESS</type>
      <attributes/>
      <parallel>N</parallel>
      <xloc>1296</xloc>
      <yloc>144</yloc>
      <attributes_hac/>
    </action>
    <action>
      <name>Success 2</name>
      <description/>
      <type>SUCCESS</type>
      <attributes/>
      <parallel>N</parallel>
      <xloc>1296</xloc>
      <yloc>256</yloc>
      <attributes_hac/>
    </action>
    <action>
      <name>Success 3</name>
      <description/>
      <type>SUCCESS</type>
      <attributes/>
      <parallel>N</parallel>
      <xloc>1296</xloc>
      <yloc>368</yloc>
      <attributes_hac/>
    </action>
    <action>
      <name>SQL ratings.appear_subppoena</name>
      <description/>
      <type>SQL</type>
      <attributes/>
      <connection>ervu-dashboard</connection>
      <sendOneStatement>N</sendOneStatement>
      <sql>delete from ratings.appear_subppoena where recording_date = current_date</sql>
      <sqlfromfile>N</sqlfromfile>
      <useVariableSubstitution>N</useVariableSubstitution>
      <parallel>N</parallel>
      <xloc>832</xloc>
      <yloc>144</yloc>
      <attributes_hac/>
    </action>
    <action>
      <name>SQL ratings.conscription_info</name>
      <description/>
      <type>SQL</type>
      <attributes/>
      <connection>ervu-dashboard</connection>
      <sendOneStatement>N</sendOneStatement>
      <sql>delete from ratings.conscription_info where recording_date = current_date</sql>
      <sqlfromfile>N</sqlfromfile>
      <useVariableSubstitution>N</useVariableSubstitution>
      <parallel>N</parallel>
      <xloc>832</xloc>
      <yloc>256</yloc>
      <attributes_hac/>
    </action>
    <action>
      <name>SQL ratings.consideration_complaint</name>
      <description/>
      <type>SQL</type>
      <attributes/>
      <connection>ervu-dashboard</connection>
      <sendOneStatement>N</sendOneStatement>
      <sql>delete from ratings.consideration_complaint where recording_date = current_date</sql>
      <sqlfromfile>N</sqlfromfile>
      <useVariableSubstitution>N</useVariableSubstitution>
      <parallel>N</parallel>
      <xloc>832</xloc>
      <yloc>368</yloc>
      <attributes_hac/>
    </action>
  </actions>
  <hops>
    <hop>
      <from>Start</from>
      <to>rows_id-array_reg.hpl</to>
      <enabled>Y</enabled>
      <evaluation>Y</evaluation>
      <unconditional>Y</unconditional>
    </hop>
    <hop>
      <from>ratings.appear_subpoena.hpl</from>
      <to>Success</to>
      <enabled>Y</enabled>
      <evaluation>Y</evaluation>
      <unconditional>N</unconditional>
    </hop>
    <hop>
      <from>ratings.consideration_complaint.hpl</from>
      <to>Success 3</to>
      <enabled>Y</enabled>
      <evaluation>Y</evaluation>
      <unconditional>N</unconditional>
    </hop>
    <hop>
      <from>ratings.conscription_info.hpl</from>
      <to>Success 2</to>
      <enabled>Y</enabled>
      <evaluation>Y</evaluation>
      <unconditional>N</unconditional>
    </hop>
    <hop>
      <from>rows_id-array_reg.hpl</from>
      <to>SQL ratings.appear_subppoena</to>
      <enabled>Y</enabled>
      <evaluation>Y</evaluation>
      <unconditional>N</unconditional>
    </hop>
    <hop>
      <from>SQL ratings.appear_subppoena</from>
      <to>ratings.appear_subpoena.hpl</to>
      <enabled>Y</enabled>
      <evaluation>Y</evaluation>
      <unconditional>N</unconditional>
    </hop>
    <hop>
      <from>rows_id-array_reg.hpl</from>
      <to>SQL ratings.conscription_info</to>
      <enabled>Y</enabled>
      <evaluation>Y</evaluation>
      <unconditional>N</unconditional>
    </hop>
    <hop>
      <from>SQL ratings.conscription_info</from>
      <to>ratings.conscription_info.hpl</to>
      <enabled>Y</enabled>
      <evaluation>Y</evaluation>
      <unconditional>N</unconditional>
    </hop>
    <hop>
      <from>rows_id-array_reg.hpl</from>
      <to>SQL ratings.consideration_complaint</to>
      <enabled>N</enabled>
      <evaluation>Y</evaluation>
      <unconditional>N</unconditional>
    </hop>
    <hop>
      <from>SQL ratings.consideration_complaint</from>
      <to>ratings.consideration_complaint.hpl</to>
      <enabled>Y</enabled>
      <evaluation>Y</evaluation>
      <unconditional>N</unconditional>
    </hop>
    <hop>
      <from>Start</from>
      <to>SQL ratings.consideration_complaint</to>
      <enabled>Y</enabled>
      <evaluation>Y</evaluation>
      <unconditional>Y</unconditional>
    </hop>
  </hops>
  <notepads>
    <notepad>
      <backgroundcolorblue>251</backgroundcolorblue>
      <backgroundcolorgreen>232</backgroundcolorgreen>
      <backgroundcolorred>201</backgroundcolorred>
      <bordercolorblue>90</bordercolorblue>
      <bordercolorgreen>58</bordercolorgreen>
      <bordercolorred>14</bordercolorred>
      <fontbold>N</fontbold>
      <fontcolorblue>90</fontcolorblue>
      <fontcolorgreen>58</fontcolorgreen>
      <fontcolorred>14</fontcolorred>
      <fontitalic>N</fontitalic>
      <fontname>Segoe UI</fontname>
      <fontsize>9</fontsize>
      <height>26</height>
      <xloc>496</xloc>
      <yloc>48</yloc>
      <note>запуск после отработки регионов /region/job_recruitments_region</note>
      <width>372</width>
    </notepad>
  </notepads>
  <attributes/>
</workflow>
