DMS Set Folder Permissions Step

Use this step to set folder permissions in DMS.

Last published at: December 26th, 2025

Description:

This step sets permissions for a folder in DMS. 

 

Inputs

  • DMSFolderID - Uses the selected folder ID 
  • DMSPermissions - Set folder permissions
 

 

Returns

  • True – step executed successfully 
  • False - step failed to execute 
 

 

 

Usage:

 

 

 

Example:

Let’s build and execute the “DMSSetFolderPermissionsDef” example:

  • Create a new process definition named “DMSSetFolderPermissionsDef” and open it in designer mode. 
  • Drag a “updateVariables, DMSSetFolderPermissions” step to the canvas.
  • Connect the dots between the “Start” and other steps, as shown above. 
  • Define a variable or global to store the “Folder ID” (not mandatory).
  • On the DMS page, navigate to and select the Folder shown in this example. Click the column selector and choose the “ID” column to show. Copy-paste the “Folder ID” value to the clipboard. 

 

  • Click the ellipsis button to access context features. Select the “Folder Permissions” option to manage permissions manually. 

 

  • The “Manage Folder Permissions” page is shown in the example below. You can use this UI to grant or revoke access to the “View, Add, Remove, Update, Archive, and Permission” operations. Use the Search textbox to select users and application roles, then click the “Add” button. Select the checkboxes to enable or disable the appropriate access. Click the “Save Permissions” button to confirm the changes. A notification message appears in the top-right corner. Alternatively, use a “DMSSetFolderPermissions” process step to configure permissions through the workflow. 

 

  • Click the "updateVariables" step to configure its "Required" properties. Provide a name for the step. Click the Save button. Note: Click the "AI Predict" button to have Copilot add new process steps that match your process description. 

 

  • Click the "updateVariables" step to configure its "Optional" properties. Provide a variable reference to hold the “Folder ID” value. Copy-paste the value from the clipboard. Click the Save button. 

 

  • Click the "DMSSetFolderPermissions" step to configure its "Required" properties. Provide a name for the step. Click the button to select the folder. Click the button to set the folder permissions. Click the Save button. Note: Click the "AI Predict" button to have Copilot add new process steps that match your process description. 

 

  • Click the button to select the Folder. Provide the variable or global reference that contains the “Folder ID” value. Click the Save button. 

 

  • Alternatively, you can manually select the “Folder” as shown in this example. Click the Save button. Note: A variable or global reference takes precedence over manual folder selection when used. 

 

  • Click the button to set the Folder Permissions. The “Manage Folder Permissions” page is shown in the example below. You can use this UI to grant or revoke access to the “View, Add, Remove, Update, Archive, and Permission” operations. Use the Search textbox to select users and application roles, then click the “Add” button. Select the checkboxes to enable or disable the appropriate access. Click the “Save Permissions” button to confirm the changes. A notification message appears in the top-right corner. 

 

  • The “Logging” setting configuration is necessary for documentation and also measures workflow progress and completion percentage. This is achieved by configuring the step state and percent fields individually, as shown in the images below. Configure the “Logging” using the following properties.

 

  • Save the process definition, create a new instance, and execute it. Verify that the process instance status is “completed” after setting the folder permissions. 

 

  • On the DMS page, select the folder to view the permissions configured. Click the ellipsis button to access context features. Click the “Folder Permissions” option. 

 

  • The “Manage Folder Permissions” page is shown in the example below. As observed, the folder permissions have been successfully configured via the workflow. 

 

 

Definition Sample:

You may download the sample definition(s) from the link here and later import them (drag-and-drop) to your FlowWright Process Definition (XML file) or Form Definition (HTML file) page. 

Note: Please verify and complete any missing configuration steps after import, such as file path references and database connections. Then, save the definition to confirm the changes. 

Click here to download the sample file.