[CoE Starter Kit - BUG] Compliance detail get requested for apps under thresholds #6208
Closed
1 task done
Labels
Milestone
Does this bug already exist in our backlog?
Describe the issue
Hello,
as I've started the compliance process, I recognized that for almost all the apps in the default environment, the compliance details has been requested.
The investigation of the Flow run showed that even when the app doesn't meet one of the configured thresholds, this condition
was nearly always true.
The critical part seems to be this
At the beginning of the flow, everything is fine.
Then there comes an app which is over the configured launches.
Because BYODL isn't configured in this case, the variable AppSessionsLast30Days, the set action results in an error
Because of this the variable AppSessionsLast30Days doesn't get changed and still has a value above the threshold from the previous app, which results in this
So the variable AppSessionsLast30Days doesn't get the correct value for the current app and therefore starts the compliance process
Expected Behavior
The compliance process should only be triggered for apps which are over the thresholds.
What solution are you experiencing the issue with?
Core
What solution version are you using?
4.9
What app or flow are you having the issue with?
Admin | Compliance detail request v3
What method are you using to get inventory and telemetry?
Cloud flows
Steps To Reproduce
Activate the compliance process with the Setup Wizard
Anything else?
Fix could be to set the AppSessionsLast30Days variable at the end of the Apply to each to 0
or
the Set App Launches form ... action needs an expression like that.
PS, If you modify the flow, u may rename this action :-)
The text was updated successfully, but these errors were encountered: