Skip to end of metadata
Go to start of metadata

 

Basic information

Package: com.suncode.plugin.scheduldedtask.task.InvokeDatasource

Available from version: 1.0.19

Description

Scheduled task to invoke given datasource. Scheduled task accepts datasource input parameters in JSON format.

Configuration parameters
Parameter namefrom versionDescriptionThe type of the parameterNotes and Restrictions
Datasource ID*1.0.19ID of the datasource that should be invoked.String 
Datasource input parameters1.0.19

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

Change log

1.0.19

  • Add component

 

 

 

 

 

 

 

 

 

  • No labels
Write a comment…