Skip to main content
Version: 2024 R1

Remove privileges

The action allows you to reduce privileges to the instance (e.g. on the subworkflow).

info

The action is executed in "Pending in transaction" mode, i.e. its execution is postponed until the transaction is completed.
For more information, see THIS ARTICLE on our technical blog.

Remove privileges

1. Level

The drop-down list allows you to choose the level to which privileges for users will be reduced. Available options:

  • No privileges,
  • Modification without deletion – instances can be modified but not deleted,
  • Read-only – instances can be read but not modified,
  • Read-only without attachment preview – instances can be read but not modified, and their attachments cannot be previewed.

2. Select people

Users/groups who will have their workflow instance privileges reduced can be added statically by completing their data in the Always to field or by searching for them in the Active Directory list.
On the other hand, the Dynamic selection of people is done based on the value specified in a selected field on the form.
Permitted form field types:

  • Choice field
  • Person or group
  • Item list (must have a Person or group or Choice field column).

If people will be selected based on an SQL query, it should return a list of logins of people to whom privileges are to be reduced. If the column name is not specified, the first column of the result will be used.
It is also possible to specify the Data source to which the SQL query is to be directed. With the default setting, the query will be answered by the database on which Designer Studio is currently running.

3. Select elements

This option allows you to specify to which instance the privileges will be reduced. If you define an instance as child/parent, it will be possible to specify the number of supported instance levels (e.g. 2 subworkflows). If instances will be selected based on an SQL query, it should return a list of element IDs. If the column name is not specified, the first column of the result will be taken into account.
It is also possible to specify the Data source to which the SQL query is to be directed. With the default setting, the query will be answered by the database on which Designer Studio is currently running.

4. Variables editor

Dynamically generated tree containing all variables that may be used in the current location of Designer Studio. Information on how to use variables in WEBCON BPS, as well as a list of variables can be found here.