Question

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****

Comments

Keep up to date on this post and subscribe to comments

August 23, 2019 - 8:05pm

When you call Queue-For-Processing method, there is a drop down when you can choose 'None' for lock, see the screenshot below - hope that is what you are looking for.

August 24, 2019 - 3:15am
Response to KevinZheng_GCS

I tried that already but it failed because the Work-.ResumeFlow activity requires a lock on the work object.

September 5, 2019 - 4:30pm
Response to SurajAmin

Hey Suraj

I am trying to accomplish similar use case. Were you able to figure out how to do this.

Thanks

Abhi

September 9, 2019 - 6:58am
Response to AbhinayC

Not yet but will update this post again when I do manage to find a solution.