-
Notifications
You must be signed in to change notification settings - Fork 239
Description
Does this bug already exist in our backlog?
- I have checked and confirm this is a new bug.
Describe the issue
When sending Back Up Reminders, the text "however, since this flow is part of a solution, automatic deletion is not possible. You will need to delete the flow or the entire solution manually" is appended also to Flows that are not part of a Solution;
Inside the Flow "Admin | Inactivity notifications v2 (Start Approval for Flows)", there is a step called "Backup reminder 2", where Users are reminded to backup their Flows marked for deletion.
Within this action, there is an expression which checks whether the Flow is part of a solution, and if so, appends the text ", however, since this flow is part of a solution, automatic deletion is not possible. You will need to delete the flow or the entire solution manually."
The expression is the following:
@{if(equals(outputs('Reset_value_Flow_Archive_Request_Ignored_Since_4')?['body/admin_workflowentityid'], null), '.', ', however, since this flow is part of a solution, automatic deletion is not possible. You will need to delete the flow or the entire solution manually.')}
If I understand correctly, the check if a Flow is part of a solution, is done by looking at the "workflowentityid" parameter. However, if I check the same parameter in the Flow table, I see the description: "GUID used by PVA", which doesn't seem to be related to the fact that a Flow is or isn't part of a solution.
This leads to the fact that the text is appended to flows which are not part of a solution.
Wouldn't it be better to check if Flow is part of a Solution, using the "admin_issolutionflow" parameter ?
Expected Behavior
When sending backup reminders, the text "however, since this flow is part of a solution, automatic deletion is not possible. You will need to delete the flow or the entire solution manually" should only be included if the Flow is indeed part of a Solution.
What solution are you experiencing the issue with?
Governance Components
What solution version are you using?
4.50.3
What app or flow are you having the issue with?
Admin | Inactivity notifications v2 (Start Approval for Flows)
What method are you using to get inventory and telemetry?
Cloud flows
Steps To Reproduce
Run the Flow "Admin | Inactivity notifications v2 (Start Approval for Flows)" assuming there are inactive Flows that are not part of a Solution. The text "however, since this flow is part of a solution, automatic deletion is not possible. You will need to delete the flow or the entire solution manually" is then appended, even if the Flow is not part of a solution.
Anything else?
No response