Question

4
Replies
472
Views
SurajAmin Member since 2014 13 posts
Adqura
Posted: 11 months ago
Last activity: 11 months ago

How to use Work-.ResumeFlow with Queue Processors/Job Schedulers

Hi,

We are in process of replacing Agents with Job Schedulers and Queue Processors and seem to have hit a road block.

We have some long running automated business processes that is orchestrated using Case Management and one of the first thing we do in the first flow is queue the case via an agent (which calls the Work-.ResumeFlow activity that resumes the case by calling the flow action associated with the assignment that follows) so its no longer tied to the operator who has initiated the case.

I tried using Queue Processors (both standard and dedicated) but they fail because it can't obtain a lock as there isn't pxInsKey created just yet (the first flow gets invoked before the case is committed/persisted into the database) and don’t know if how to invoke a Job Scheduler in an activity the way I did it via Agents (Queue-For-Agent).

Any thoughts or pointers would be helpful.

Thanks.

Kind regards,
Suraj

***Edited by Moderator Marissa to update platform capability tags****

Pega Platform Data Integration Java and Activities Case Management
Share this page LinkedIn