Settings


(1) Name: The name of the workflow (i.e. the workflow definition).

(2) Visible in Portal/DataCockpit: If this option is set, the workflow is also displayed and can be started in the add-on module "DataCockpit".

(3) Attachments allowed: Files can be assigned to the workflow. See also section Rights for Workflow Files.

(4) Users/Roles: These Lobster Integration users (login name) and DataCockpit users are allowed to start jobs for this workflow.

(5) Creation behaviour: Either any number of workflow jobs of this workflow can run simultaneously or only one. If a workflow job is already running and only one is allowed, no further workflow job can be started. The attempt is then either ignored or it generates an error (depending on this setting).

(6) Enable HTTP agent: If this checkbox is set, jobs of this workflow can be controlled via REST (HTTP method GET). Logs for requests of this kind can be found in the "Server logs" of the Control Center under "internal/message.log". Note: See also section REST API.

  • The <URL key> can be found below (6), the <Display name> can be assigned freely (later it can be found in the workflow system variable VAR_SYS_WF_DISPLAYNAME).

  • The <Workflow job link> can be found in the Control Center → JobsWorkflows → Context menu of the workflow job → Current information → Workflow system variable VAR_SYS_WF_LINK, or in the response of the create call (→ id).

create:

Starts a job for this workflow.

https://<URL/IP of Integration Server>/dw/wf/v1/create/<URL key>?display=<Display name for the workflow job to be created>

Example: "https://localhost/dw/wf/v1/create/V0YtLTI4NDAyMTExMw?display=MyWorkflow_1".

kill:

Ends the workflow job. A final action is not executed.

https://<URL/IP of Integration Server>/dw/wf/v1/kill/<Workflow job link>

dump:

Returns information about the workflow job (name, state, Lobster Integration/DataCockpit user list for state, workflow variables, etc.).

https://<URL/IP of Integration Server>/dw/wf/v1/dump/<Workflow job link>

action:

Checks a specific transition. For this to have an effect, the workflow job must currently be in the state from which this transition originates.

https://<URL/IP of Integration Server>/dw/wf/v1/action/<Workflow job link>?action=<Name of transition>

Alternatively, you can trigger the automatic transition check, i.e. all transitions of the current state of the workflow job are checked. This requires the option Find and execute next transition automatically to be set in the current state.

https://<URL/IP of Integration Server>/dw/wf/v1/action/<Workflow job link>

In addition, workflow variables can be set using the HTTP method POST. Use the following JSON format in the request body (the request URL remains the same).

{
"variables": [
{
"name": "VAR_DEMO",
"type": "String",
"value": "hello"
},
{
"name": "VAR_DEMO2",
"type": "String",
"value": "world"
} ]
}

(7) Login: Here you can set whether authentication is required for a REST request (6). A Lobster Integration user can be used for this. Alternatively, a user and password can be defined here directly. Authentication is done either via Basic Authentication (i.e. in the header) or directly in the URL. Example: "https://localhost/dw/wf/v1/create/V0YtLTI4NDAyMTExMw?user=myuser&passwd=mypassword&display=MyWorkflow".

If a Lobster Integration user is selected, its login name and password must be used. In addition this Lobster Integration user must have one of the user rights "Administrator", "Administration via REST", "Workflow administration" or "Workflow".

(8) Documentation URL: You can specify any URL that contains a documentation of this workflow, which can be called via the icon on the right. You can also insert system constants into the URL there.

(9) Upload file: You can upload an image for this entry. This image is shown, for example, in the overview when the tile view is selected.

(10) Load backup: A backup can be loaded here. A backup is always created when the workflow is saved.

(11) Icon right of "ID": Here you can display the search index of the workflow. These values can be queried in the expert search.