Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 3
Next »
Package: com.suncode.plugin.scheduldedtask.task.InvokeDatasource
Available from version: 1.0.X
Scheduled task to invoke given datasource. Scheduled task accepts datasource input parameters in JSON format.
Parameter name | from version | Description | The type of the parameter | Notes and Restrictions |
---|
Datasource ID* | 1.0.X | ID of the datasource that should be invoked. | String | |
Datasource input parameters | 1.0.X | Set of input parameters which datasource should be invoked with. Parameters should be specified in JSON format. Special tags can be used. Scheduled task last execution date |
---|
{last_scheduledtask_execute_time} | Last execution date for scheduled task type | {last_scheduledtask_instance_execute_time} | Last execution date for scheduled task instance |
Availbale time tags, e.g. {current_YYYY}-{current_MM}-{current_DD} will insert current date in yyyy-MM-dd format. Scheduledtask execution date
| {current_timestamp} | thirteen digit number of miliseconds from date 01.01.1970 (timestamp) | {current_DD} | day (two digits) | {current_MM} | month (two digits) | {current_YY} | year (two digits) | {current_YYYY} | year (four digits) | {current_hh} | hour (two digits) | {current_mm} | minutes (two digits) | {current_ss} | seconds (two digits) | {current_nnn} | nanoseconds (three digits) | Scheduled task last execution date
| {timestamp} | thirteen digit number of miliseconds from date 01.01.1970 (timestamp) | {DD} | day (two digits) | {MM} | month (two digits) | {YY} | year (two digits) | {YYYY} | year (four digits) | {hh} | hour (two digits) | {mm} | minutes (two digits) | {ss} | seconds (two digits) | {nnn} | nanoseconds (three digits) |
| String | Parametrs in JSON format, e.g. { "parameter1":"{last_scheduledtask_execute_time}", "parameter2":"value2" } |
Sample configuration:
