Hi,
Can someone explain difference between below activities used to open Child + Parent Cases/WorkObjects
Activity ID = reopenWorkObject CL = Work-Cover- RS = Pega-ProcessEngine:08-05-01
Activity ID = reopenWorkObject CL = Work- RS = Pega-ProcessEngine:08-06-01
Activity ID = Reopen CL = Work- RS =Pega-ProCom:08-06-01
With sceanrios, which one to use in which scenario.
@AbhishekC1725
reopenWorkObject → this is the one which does reopening the work object. If we need to use this activity, first we need to acquire lock of that case and then call this reopenWorkObject.
Reopen-> this activity is been called in the flow action of review harness of resolved work object if we have enabled that configuration in resolved stage. Internally this also calls reopenWorkObject. If you see, as this call reopenWorkObject, this first acquires work object lock and then call reopenWorkObject. .
@Anoop Krishna
And why the same name activity in to different class, because when we Call reopenWorkObject it picks for Work-Cover- class, just want to know to which one should be give priority?
Activity ID = reopenWorkObject CL = Work-Cover-
Activity ID = reopenWorkObject CL = Work-
@AbhishekC1725 reopenWorkObject is to reopen current case. If you see there will be step to check for cover and there it will call reopenWorkObject again. That is checking if it has parent case or not. If yes, this same activity gets called in work-cover context(that is parent case of current case).
@Anoop Krishna Thanks Anoop for clearing this