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

Dostępna od wersji: 1.0.19

Zadanie zaplanowane wywołuje podane źródło danych. Zadanie przyjmuje parametry wejściowe w formacie JSON.

Nazwa parametruod wersjiOpisTyp parametruUwagi i ograniczenia
ID źródła danych*1.0.19ID źródła danych, które ma zostać wywołane.Tekst 
Parametry źródła1.0.19

Zestaw parametrów wejściowych, z jakimi zostanie uruchomione źródło. Parametry w formacie JSON. Możliwość użycia specjalnych znaczników.

Data ostatniego wykonania zadania
{last_scheduledtask_execute_time}Data wykonania zadania danego typu
{last_scheduledtask_instance_execute_time}Data wykonania zadania danej instancji

 

Dodatkowo możliwość używania tagów czasowych. np: {current_YYYY}-{current_MM}-{current_DD} podstawi aktualną datę w formacie yyyy-MM-dd.

Czas wykonania  zadania zaplanowanego
{current_timestamp}trzynastocyfrowa liczba milisekund liczona od 01.01.1970 (timestamp)
{current_DD}dwucyfrowa liczba reprezentująca dzień miesiąca
{current_MM}dwucyfrowa liczba reprezentująca dzień miesiąca
{current_YY}dwucyfrowa liczba reprezentująca rok
{current_YYYY}czterocyfrowa liczba reprezentująca rok
{current_hh}dwucyfrowa liczba reprezentująca godzinę
{current_mm}dwucyfrowa liczba reprezentująca minuty
{current_ss}dwucyfrowa liczba reprezentująca sekundy
{current_nnn}trzycyfrowa liczba reprezentująca nanosekundy
Czas ostatniego wykonania zadania zaplanowanego
{timestamp}trzynastocyfrowa liczba milisekund liczona od 01.01.1970 (timestamp)
{DD}dwucyfrowa liczba reprezentująca dzień miesiąca
{MM}dwucyfrowa liczba reprezentująca miesiąc
{YY}dwucyfrowa liczba reprezentująca rok
{YYYY}czterocyfrowa liczba reprezentująca rok
{hh}dwucyfrowa liczba reprezentująca godzinę
{mm}dwucyfrowa liczba reprezentująca minuty
{ss}dwucyfrowa liczba reprezentująca sekundy
{nnn}trzycyfrowa liczba reprezentująca nanosekundy
Tekst

Parametry w formacie JSON, np.:

 

{

"parametr1":"{last_scheduledtask_execute_time}",

"parametr2":"wartość2"

}

Parametr- pole wymagane

1.0.19

  • Dodanie komponentu

 

 

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

Available from version: 1.0.19

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

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"

}

1.0.19

  • Add component