Hi,
We have an issue with the business rule "Per schedule".
Our use case :
We can create an incident from a request.
For such incident, when we resolve it, the incident goes to the Phase Review, and the incident's solution is copied to the request, which goes to the Phase Accept.
At this point if the end-user, whom submitted the request, doesn't accept nor reject the solution, the request will close itself after 14 days.
And so for the incident.
If the user accept the solution, the request will be closed directly, but the incident will go through the 14 days before closure.
Our issue is with the incident closure.
Indeed, in the business rule the condition to trigger it is that all related request should not be active.
We tested the condition (1 hour instead of 14 days) :
${entity.CompletionCode != null && entity.CompletionCode != ''
&& entity.Solution != null && entity.Solution != '' &&
is_empty_collection(entity.IncidentCausedByRequest[Active=true])}
in "after change" and it triggers correctly, but not in "per schedule".
Are we missing something ?