ilovetolearn
ilovetolearn

Reputation: 2060

bpm activiti framework and database polling

I have just stated with activiti bpm and took a look at the user guide http://www.activiti.org/userguide/

I realised the bpm framework is mainly design for real time business process where the user interacts with the UI/system and performs the workflow actions.

I have a loan system, where the applicant's loan request is submitted on a daily basis, and the credit rating is not known until a day end batch jobs runs.

Is there anyway, I can wake the workflow "process" up, and checks if the applicant rating is greater than a certain value and automatically approves the loan request?

Upvotes: 0

Views: 489

Answers (1)

rob2universe
rob2universe

Reputation: 7583

Optimus,

this is typically done with a timer event. The documentation section "8.7.1. Asynchronous Continuations" contains an example "Wait until next business day".

http://www.activiti.org/userguide/#bpmnConcurrencyAndTransactions

Regards

Rob

Upvotes: 1

Related Questions