GlideFlow not working in catalog client script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2023 09:05 AM
I have a flow action created in a scoped application with ACL defined for snc_external and sn_customerservice.consumer roles. I trigger the flow action from a catalog client script using the GlideFlow API.
It gets triggered for internal users but not for the consumers or contacts i.e. users with snc_external role.
Is there something I am missing.
ACL>
Action Security>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2023 09:19 PM
Hi @nav sid
many information are missing here. You say "It gets triggered for internal users but not for the consumers or contacts i.e. users with snc_external role." but how exactly do you recognize that? Are there any error messages in UI or in the syslog? And enabling the flow execution for external users is not enough. Also, all the data the Flow is dealing with need ACL adjustments to expose them to external users.
Maik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2023 01:07 PM
I am checking the executions - when I impersonate a user with internal roles (example snc_customerservice_agent role) the action is executed and it return desired results.
When I impersonate a user with roles (snc_customerservice.consumer or customer role) there is no execution records.
- Below is the Catalog client script to call the action -
Note - I am using the client code snippet from flow designer
If I call the same action via GlideAjax it works fine for both internal users and external users.
Re: the ACLs for data, the action is calling an external API which returns a JSON payload and generates the outputs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2023 09:57 PM
@Maik Skoddow Did you get a chance to go through my reply? Is the information provided helps?