External Application Dynamic Action

About

The External Application Action is used to execute scripts and programs. This enhances the existing functionality already built into the system and provides an even greater degree of flexibility.

Metadata tab

External Application Action - Metadata tab
 

  1. The Write Variables option ensures that the “Package Action” logs the variable values into the “Action vars before log file” before the action is executed and logs the updated variable values into the “Action vars after log file” after the action completes.
  2. This option is typically used for debugging and is not recommended in a production environment.
  3. It can be globally disabled through the options dialog .

Parameters tab

External Application Action - Parameters tab
 

Variables tab

The Variables tab defines the variables to be updated during the action’s execution.

External Application Action - Variables tab

Execution log tab

The Execution log tab is populated after the action is executed. Double click on the row to view the log.

External Application Action - Execution log tab

Calculated Parameter example

Pascal

External Application Action - Calculated Parameter example - Pascal
  Script

begin
 if DayOfWeek(Now)=7 then
    begin
     Result:='Whiskas';
    end
 else
    begin
     Result:='Purina';
    end;
end

Python

External Application Action - Calculated Parameter example - Python
  Script

import datetime;
if datetime.datetime.today().weekday()==0:
   Result.Value='Whiskas'
else:
   Result.Value='Purina'

For more technologies supported by our ETL Software see Advanced ETL Processor Versions

Confused? Ask question on our ETL Forum

Posted on October 12, 2024 • 2 min read • 281 words
www.etl-tools.com About Support Pricing Cookies Policy Term Of Use Privacy Policy License