Report Dynamic Action

About

Report Report action provides a convenient way of generating reports in various formats including PDF, CSV, Microsoft Word, Excel and RTF.

To create a new Report Action, Drag and Drop it from the Object tree.

Metadata tab

Report 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

Report Action - Parameters tab
 

Report Parameter

Report Action - Editing Report Parameter

Connection Parameter

Report Action - Editing Report Connection

Report Parameters

Report Action - Editing Report Parameters
 

Variables tab

The Variables tab defines which variables are updated during the execution of the action.

Report Action - Variables tab

Execution log tab

The Execution Log tab is populated after the action has been executed. Double-click a row to view the detailed execution log.

Report Action - Execution log tab

Calculated Report example

Pascal

Report Action - Calculated Report ID example - Pascal
  Script

begin
 if DayOfWeek(Now)=3 then
    begin
     Result:=4191;
    end
 else
    begin
     Result:=1968;
    end;
end;

Python

Report Action - Calculated Report ID example - Python
  Script

import datetime;
if datetime.datetime.today().weekday()==0:
   Result.Value=1407
else:
   Result.Value=1968

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

Confused? Ask question on our ETL Forum

Posted on November 29, 2023 • 2 min read • 307 words
www.etl-tools.com About Support Pricing Cookies Policy Term Of Use Privacy Policy License