Wait for Subcase - The Subcase type is determined at runtime
I have come across a scenario, where a case (TopCase) launches a subcase. The subcase is one of the case from a list of standalone cases (RiskCase, SafetyCase,MiscCase). The type of the subcase is determined at runtime. The subcase is launched from a optional process of the parent case. The parent case should wait for this subcase to reach the Resolved- status.
I can't use wait shape with case dependency (with All or Any), as the optional process from the parent case can be invoked any number of times and I want to wait for a specific subcase case to resolve.
Could anyone suggest the best approach to solve this problem?