Ask Question Dynamic Action

The “Ask Question” package action is primarily used for debugging.  

Metadata tab

Ask Question 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

Ask Question Action - Parameters tab

Tip: Instead of writing complex calculations use “Replace Variables” parameter to replace variables inside question

Variables tab

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

Ask Question 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.

Ask Question Action - Execution log tab

Ask Question Action package example

Ask Question Action - Package example

Calculated Question example

Pascal

Ask Question Action - Calculated Question example - Pascal
  Script

begin
  Result:='Is Today is '+DateToStr(Now)+ '?';
end;

Python

Ask Question Action - Calculated Question example - Python
  Script

import datetime;
if datetime.datetime.today().weekday()==0:
   Result.Value='Have you completed Weekend task?'
else:
   Result.Value='Have you completed Weekday task?'

Video Tutorial


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

Confused? Ask question on our ETL Forum

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