restrict agentic workflow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a month ago
hi There,
i created an agentic workflow and the trigger is a ui action created through the WF wizard.
the ui action is visible in the incident form.
Now i want to visible to a specific role (group of people).
i tried using the "user access" section in the wizard but i can not select my custom role. Also, the ui action automatically created is read only.
how do i do this?
regards,
max
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
(1) System Definition > UI Actions --> Required Roles Related List
(2) Or Add Condition as per your roles Like - gs.hasRole('itil_admin')
(3) In You case you can try this also -
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
From the screenshot I can see:
- Protection policy = Protected
- Banner says "This item is read-only based on its protection policy"
- Comment says "This UI Action was auto-generated"
In this case have a look at this Script Include - DONOT MODIFY.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hello @El Cuchi ,
You can add the required role directly under Agentic Workflow → Define user access :
to control which users can access the workflow, including when it is invoked through the configured UI Action.
If my response helped mark as helpful and accept the solution.
