Access pyWorkCover from Activity

Context:

  1. Job Scheduler runs Activity PPP.
  2. Activity PPP opens Child-Case by handle, using steppage XXX.
  3. Activity PPP completes some steps on steppage XXX, concerning the Child-Case.
  4. The next step in the activity PPP runs a New Flow YYY.
  5. This flow YYY references properties on pyWorkCover.
  6. As this is a Child-Case, Parent-Case properties are accessible via pyWorkCover during case processing.
  7. However, the execution of flow YYY fails. As Pega cannot resolve the referenced properties.

Issue:

How do you access pyWorkCover properties?

Hello,

I guess it should be working unless the new flow has been started on another thread and missing expected page. At this point if you are still on the child case you should have the parent id available so reopening parent might be a possible action.

Hi Bob,

In the flow can you define the pyWorkCover in pages and classes. I faced this issue in 8.3.1 and it got resolved by this way.

Also, please run a tracer to see the page context when the new flow is being invoked

Thanks,

Abhishek