change permission of workflow-attachments()
This function can be used to add or remove DataCockpit users or DataCockpit roles authorised to attach files in workflow state forms.
The return value in case of success is true, otherwise false.
Parameters
Parameter |
Description |
a |
Name (see VAR_SYS_WF_DISPLAYNAME) or ID (see VAR_SYS_WF_ID) of the workflow job. Note: Can remain empty if the function is used in a transition. |
b |
Name of the state. |
c |
DataCockpit login name with prefix WebMonitor: or DataCockpit role. |
d |
(optional) true to remove all DataCockpit login names and DataCockpit roles. Parameter c can then remain empty. Default: false. |