Issue with CWM Space Access Request

pramodkumar
Tera Expert

When a cwm task is assigned to a user who is not part of the space, a notification is sent to space owner to grant or deny access (OOB). When clicked on grant, a email is sent to ServiceNow and there is flow "Email Flow for Approve CWM Space Access Request" that gets triggered. The flow updates target record in "sn_cwm_space_access_request" table to approved and then nothing happens. Is this expected? Will user gets role or do we need to customize

 

 

Thanks! 

1 REPLY 1

Lillian
ServiceNow Employee
ServiceNow Employee

Hi @pramodkumar 

 

The flow you describe grants access to the space, but not the role. There are three distinct scenarios:

 

1. User has no access to the space

  • When user requests access to a space, the space owner receives an email to grant or deny access .

  • When the owner clicks Grant, the Email Flow for Approve CWM Space Access Request runs and approves the record in the sn_cwm_space_access_request table.

  • Once approved, the user is granted access to the space only (not to the CWM role).

2. User has no role access to CWM

  • If your instance has a workflow configured, clicking Request Access triggers your role request workflow.

  • If no workflow is configured, the user will see a message instructing them to contact their system admin to request access manually.

3. User has no access to both the space and the CWM role

  • The user must first request access to the space, and separately request access to the role.

 

To automate the role access request workflow, refer to the documentation here:
👉 Automate role access requests for CWM users