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

Version 1 Next »

 

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

Variables with which the process should be initiated.

There are 2 ways to forward variables:

  • as a manually entered JSON representing variables
  • as the path to the JSON file representing the variables

JSON representing variables:

The maximum length of the Process variables parameter is 4000 characters. For longer JSONs, you should specify the path to the file with this JSON.



Example of variable representation
[{"name":"text", "value":"asfasdf", "type":"string"}, {"name":"whole", "value":"123", "type":"long"}]

Name

Description

name

Variable name

value

Variable value

type

Variable type.

Permitted types::

  • string
  • boolean
  • double
  • long
  • date

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.

  • No labels