When we use Wait shape with type "Case dependency" on a flow, Pega creates a declare trigger named pyCaseDependency in a "dependent on" class. This trigger is needed to check and resolve case dependecies.
Since Pega creates this trigger automatically, it is a good question - what ruleset Pega will choose for this purpose? It will be not so bad decision to create trigger in the same ruleset as a flow. But Pega have another logic.
***Edited by Moderator: Lochan to update platform capability tags***