The task allows to create tasks periodically.
Class path:
com.suncode.pwfl.workflow.process.CreateProcessTask
Called function:
execute
Parameters:
Name
Required
Description
Package identifier
The package identifier in which the process is located.
Process identifier
Process definition identifier.
Process variables as
The way we pass variables to the process:
Process variables
Variables with which the process is to be initialized.
The input method depends on the selected value of the above parameter.
JSON representing variables:
The maximum length of the Process variables parameter is 4000 characters. For longer JSONs, you should specify file with this JSON.
[{"name":"text", "value":"asfasdf", "type":"string"}, {"name":"whole", "value":"123", "type":"long"}]
name
Variable name
value
Variable value
type
Variable type.
Permitted types::
Date type takes the date in format yyyy-MM-dd HH:mm:ss eg. 2016-02-03 20:23:45
It should be remembered that in the system, the Date field (without time) is stored as a string pole type.
Zadanie pozwala na okresowe tworzenie zadań.
Ścieżka do klasy:
Wywoływana funkcja:
Parametry:
Sposób z jakim przekazujemy zmienne do procesu:
Zmienne z jakimi zainicjowany ma zostać proces.
Sposób wprowadzania zależy od wybranej wartości powyższego parametru.
JSON reprezentujący zmienne:
Maksymalna długość parametru Zmienne procesu wynosi 4000 znaków. Dla dłuższych JSON-ów należy podać plik z tym JSON-em.
[{"name":"tekstowa", "value":"asfasdf", "type":"string"}, {"name":"calkowita", "value":"123", "type":"long"}]
Typ zmiennej.
Dopuszczalne typy:
Typ date przyjmuje datę w formacie yyyy-MM-dd HH:mm:ss np. 2016-02-03 20:23:45
Należy pamiętać, że w systemie Pole datowe (bez czasu) przechowywane jest jako pole typu string.