Ivan Anikanov (aniki)
Principal System Architect
Pegasystems Inc.
aniki Member since 2014 2 posts
Posted: July 14, 2015
Last activity: July 15, 2015
Posted: 14 Jul 2015 6:12 EDT
Last activity: 15 Jul 2015 8:01 EDT

Wait-Dependency to top-level dinamic case

Hi there!

Aim and problem

I am trying to use Wait shape with Dependency mode to wait when specific top-level case reaches status Resolved-Completed. The exact case is not known in design-time, it should be selected in run-time. Currently the default activity is called but exits its execution, because dependent is not in the case map.

Current configuration

I've configured Wait Shape as defined on screenshot below. In each case class, that I may need to wait there is Declare Trigger rule, configured, as shown on second screenshot (the copy of default DEclare Trigger, created automatically by Wait shape).

Image removed.Image removed.

Run-time behaviour

On run-time, when case reached status Resolved-Completed:

  1. The trigger is called;
  2. The activity pxCheckFlowDependencies is called, found the dependecy, check that it is in current AG and call pzProcessIndividualDepAssignment for it.
  3. The activity pzProcessIndividualDepAssignment is called but exits on the 4th step because has not complete the condition:Image removed.
  4. The wait dependency is not closed.


  1. Why does it check case map even if I use top-level case dependency?
  2. How should I configure Wait shape to achieve my aim?
  3. May the problem be in the pzProcessIndividualDepAssignment activity on step 2 (there is condition that looks like using "Skip whens" instead of "Skip step", but it is internal activity and marked as Final)? Image removed. 


Case Management
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Discussion, please write a new Discussion.