The form is accessible for the specific role
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2024 04:49 AM
Hi All,
I am working on one of the form, in this form we have a option to adding or deleting the user from the groups.
Currently in the workflow for a particular group, we are unable to add or delete the user from the group has it contains the specific role as "sn_si.analyst". only the user is having this role can be able to add or delete the users through the form. but for admin it's not working and only the user is having this particular role for them only this functionality is working.
Note : We have checked the ACL on this particular role and group but it doesn't contains any restrictions.
But we tried in the flow designer for giving the role in the properties it's working as expected.
But in the workflow it's not working as expected..
Please any one suggest me how to implement this in the workflow.
Thanks,
Vinuth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2024 05:12 AM
@vinuth v Based on your use case, if you want to restrict the catalog item, you can create "User Criteria" for those roles and tag it under "Available For" related lists.
Flows can run as the:
- User who initiates session: The flow runs as the user who triggered the flow. For example, if a flow executes when a record is created, the flow runs as the user who created the record.
- System User: The flow runs as the System User. The System User is not a user record from the User table. System is a service account that is not restricted by access controls.
Instead you can run the flow, as System User.
Please mark this as helpful and accept it as a solution if this resolves your query.
Thanks,
Sujatha V.M.
Sujatha V.M.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2024 06:42 AM
Hi @Sujatha V M
Yes we can do this for restrict the catalog item,
But My query, here any user can submit the form and if they select the option called "Add/Delete members" on the form level I need to add the members to the selected group on the form level or delete the members from the selected group,
but here the user is having the "sn_si.analyst" role for these users also I need to perform the action but here the functionality is working fine from the flow designer but not from the workflow.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2024 06:46 AM
@vinuth v You can have a client script created and make that variable/field editable only for those roles or field level ACL with roles.
Why to restrict on the workflow?
Please mark this as helpful and accept it as a solution if this resolves your query.
Thanks,
Sujatha V.M.
Sujatha V.M.