<?xml version="1.0" encoding="UTF-8"?><record_update sys_domain="global" table="sys_script">
    <sys_script action="INSERT_OR_UPDATE">
        <abort_action>false</abort_action>
        <access>package_private</access>
        <action_delete>false</action_delete>
        <action_insert>false</action_insert>
        <action_query>false</action_query>
        <action_update>true</action_update>
        <active>true</active>
        <add_message>false</add_message>
        <advanced>true</advanced>
        <change_fields>false</change_fields>
        <client_callable>false</client_callable>
        <collection>x_turbo_turbonomic_turbonomic_action_approval</collection>
        <condition/>
        <description/>
        <execute_function>false</execute_function>
        <filter_condition table="x_turbo_turbonomic_turbonomic_action_approval">target_entity_idVALCHANGES^ORoidVALCHANGES^ORnameVALCHANGES^ORdescriptionVALCHANGES^ORcategoryVALCHANGES^ORcommodity_nameVALCHANGES^ORfromVALCHANGES^ORtoVALCHANGES^ORriskVALCHANGES^ORtype_idVALCHANGES^ORsource_entity_idVALCHANGES^ORdestination_entity_idVALCHANGES^EQ<item endquery="false" field="target_entity_id" goto="false" newquery="false" operator="VALCHANGES" or="false" value=""/>
            <item endquery="false" field="oid" goto="false" newquery="false" operator="VALCHANGES" or="true" value=""/>
            <item endquery="false" field="name" goto="false" newquery="false" operator="VALCHANGES" or="true" value=""/>
            <item endquery="false" field="description" goto="false" newquery="false" operator="VALCHANGES" or="true" value=""/>
            <item endquery="false" field="category" goto="false" newquery="false" operator="VALCHANGES" or="true" value=""/>
            <item endquery="false" field="commodity_name" goto="false" newquery="false" operator="VALCHANGES" or="true" value=""/>
            <item endquery="false" field="from" goto="false" newquery="false" operator="VALCHANGES" or="true" value=""/>
            <item endquery="false" field="to" goto="false" newquery="false" operator="VALCHANGES" or="true" value=""/>
            <item endquery="false" field="risk" goto="false" newquery="false" operator="VALCHANGES" or="true" value=""/>
            <item endquery="false" field="type_id" goto="false" newquery="false" operator="VALCHANGES" or="true" value=""/>
            <item endquery="false" field="source_entity_id" goto="false" newquery="false" operator="VALCHANGES" or="true" value=""/>
            <item endquery="false" field="destination_entity_id" goto="false" newquery="false" operator="VALCHANGES" or="true" value=""/>
            <item endquery="true" field="" goto="false" newquery="false" operator="=" or="false" value=""/>
        </filter_condition>
        <is_rest>false</is_rest>
        <message/>
        <name>SetTurbonomicApprovalAsValidOrInvalid</name>
        <order>100</order>
        <priority>100</priority>
        <rest_method/>
        <rest_method_text/>
        <rest_service/>
        <rest_service_text/>
        <rest_variables/>
        <role_conditions/>
        <script><![CDATA[(function executeRule(current, previous /*null when async*/) {
        var startTime = new GlideDateTime().getNumericValue();
        var actionDAO = new x_turbo_turbonomic.TurbonomicActionDAO();

        actionDAO.setActionApprovalAsValidOrInvalid(current);

        var execTime = new GlideDateTime().getNumericValue() - startTime;
        gs.debug('SetTurbonomicApprovalAsValidOrInvalid.executeRule() - Total execution time was: ' + execTime + 'msec');
})(current, previous);]]></script>
        <sys_class_name>sys_script</sys_class_name>
        <sys_created_by>alexpetrean</sys_created_by>
        <sys_created_on>2022-08-29 22:10:07</sys_created_on>
        <sys_domain>global</sys_domain>
        <sys_domain_path>/</sys_domain_path>
        <sys_id>3f01b8361b211950f1d4fc451a4bcb8d</sys_id>
        <sys_mod_count>3</sys_mod_count>
        <sys_name>SetTurbonomicApprovalAsValidOrInvalid</sys_name>
        <sys_overrides/>
        <sys_package display_value="Turbonomic Actions" source="x_turbo_turbonomic">be4eeab2db007f005e691fe968961902</sys_package>
        <sys_policy/>
        <sys_scope display_value="Turbonomic Actions">be4eeab2db007f005e691fe968961902</sys_scope>
        <sys_update_name>sys_script_3f01b8361b211950f1d4fc451a4bcb8d</sys_update_name>
        <sys_updated_by>Alex.Petrean@ibm.com</sys_updated_by>
        <sys_updated_on>2025-02-13 22:21:41</sys_updated_on>
        <template/>
        <when>after</when>
    </sys_script>
    <sys_translated_text action="delete_multiple" query="documentkey=3f01b8361b211950f1d4fc451a4bcb8d"/>
</record_update>
