- Post History
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
on 11-13-2023 03:30 AM
While submitting a request for catalog item that runs on a Flow have you encountered discrepancy while running it and then Testing it. Like when you submit a request the intended flow does not run as expected but when you Test it from Flow Designer Test functionality it runs as expected.
This is because when you run a flow from the Test Ui action in Flow Designer, it runs as 'System'. When it runs from a submitted catalog item, it likely runs as the user who submitted it, unless the flow properties are configured differently. It's possible that the user who submits the flow doesn't have the roles / ACL permissions to perform some of the actions. You can remediate this by adding a role to apply at runtime.
This can be done by going to Properties > Run As.
More about it : Create a flow with roles
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Advising to run flows as system user is not really the best solution. There are learning resources with better explanation of this topic, including the Run with roles approach, which is a much better alternative than using the System user.
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Hi ,
I had this experience and issue was fixed by updating the "latest" published flow version against "catalogue item"(As i have noticed people used to create different versions to save the previous version).
Regards,
Luxo
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Hi @CezaryBasta ,
Yes definitely User with roles is the approach to go for if not user who initiated the session. Thanks for the information!
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Hi @Luxo Nadappan ,
Thanks for sharing your valuable inputs. I will surely check this if encounter similar issue in future.