change permission of workflow-form()

This function adds a Lobster Integration user or DataCockpit role to the authorised users of a state form of a workflow job. Note: See also REST operation dump and workflow variable VAR_SYS_WF_ACCESSLIST.

If successful, the function returns "true", otherwise "false".

Parameters


Parameter

Description

a

Name (see VAR_SYS_WF_DISPLAYNAME) or ID (see VAR_SYS_WF_ID) of the workflow job.

b

Name of the state of the workflow job.

c

The Lobster Integration user (login name) or the DataCockpit role (WebMonitor:<role>).

d

"true" to remove the user or role or "false" to add it.