change permission of workflow-form(a,b,c,d)


Adds a _data 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.

Parameter Description


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 _data user (login name) or the DataCockpit role (WebMonitor:<role>).

d

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