Flow to update Case with additional comments from Enhancement.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-22-2024 03:43 AM
Hey All,
I have a technical question.
We're working on an internal project where customers should have the ability to create Incidents and Enhancements. The issue arises because Enhancement is a part of Agile Development. Therefore, we've decided to address this by using Cases.
We have created a Record Producer where, during the creation of a Case, we choose whether it's an Incident or Enhancement, fill in the data, etc.
Then, we've created Flows to automatically create an Incident/Enhancement, depending on which option was chosen. Additionally, the Flows should add an Additional Comment to the Case with information that an Incident/Enhancement has been created with the number XXXX. There's also a second set of Flows that update the Case with Additional Comments from the Incident/Enhancement.
For Incidents, both Flows work well; there is communication in both directions.
The problem arises with Enhancements. When it's set up OOTB (out of the box), the Flow doesn't trigger at all. Errors occur stating "The requested flow operation was prohibited by security rules." Setting the Flow to be executed as a System User makes the Flow start, but the Comment informing that an Enhancement has been created doesn't appear.
Similarly, the Flow meant to add the Additional Comment from the Enhancement when it's updated also fails to add this Comment to the Case.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-22-2024 04:11 AM
Hi @MArcin_bla I think the second flow runs as user session hence the update fails because user might not have access to update comments?
As a best practice always ensure when the flow runs as user session you add the role which has access to update field on that table , so the flow will get the access to update records taking user session.
Harish