How to write Batch/Polling Jobs in Flowable?

Hi

I have a need where I need Flowable keep polling/hitting ( in an interval of every 15 mins) an API to check if a certain event have taken place ( by checking the response of the API) and when desired response is there, I need Flowable to trigger so other Flowable processes ( which I have already written).

Can you suggest, when is the best way to do this in Flowable ?

Thanks
Vinay

Hi.

You could model a timer in a loop by using a Intermediate timer catching event to implement the ‘polling pattern’.

Something like this;

Regards,

Yvo

Thanks @yvo for this. Thsi exactly what I was looking for.