Question
Implement throttle functionality (Limit No.Of calls ) during work object execution
Hi everyone,
We need to implement throttle functionality where in one of the steps for a stage, we are calling an activity and calling third party web service.
The third party can only handle few calls per minute. So we want to pause/stop case execution temporarily and want to resume the same using an agent.
We need below information.
1) Is there a way we can stop flow without using Wait shape.
2) Can we leverage OOTB ResumeFlow to continue the stopped/Paused flow?
Please let us know if you have any experience with this/Or any other way to handle this.
Thanks.
***Updated by moderator: Lochan to add Categories***
Solution: We have implemented the solution in below manner and it works fine.
1) In flow where you want to implement throttle, have an assignment/flowaction.
2) Configure an advanced agent with specified interval and trigger an activity which reads open assignment workobjects .
3) Aquire lock on workobject and call OOTB resumeFlow and pass flowName and flowAction are parameters.
4) Repeat above step-3 for the number of workobjects you want to run per minute.