Discussion

3
Replies
1269
Views
aniki Member since 2014 2 posts
PEGA
Posted: 5 years ago
Last activity: 5 years 3 months ago
Closed

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.

Questions

  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
Share this page LinkedIn