on 10-04-2012 9:30 PM
I would like to pass in the current time that a scheduled job runs to a transaction input parameter, endDate. I have tried = formatdatenow(format), but get an invalid date time format error when I try to save. I am trying to pass-in a dynamic date/time to a sql query in the transaction, so that I don't have to hard-code getDate() into the query.
Thanks,
Dan K
Hello Dan,
Scheduler screen does not support Functions as an input parameter.
However, there is a work around.You could set the date in the transaction itself. Use the assignment block (before the query action block) and assign the 'endDate' parameter to 'datenow' function from the function combo box.
Run the transaction in the scheduler. Leave the 'endDate' input blank. When the scheduler runs, the transaction would be executed with current date/time.
Regards,
Tufale Ashai.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
12 | |
7 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.