Hi Tijs, thank you so much for your prompt response!
I am thinking of use timing catching event and service task for subsequent execution. Because there is no human activity involved in the processing(user task), and no message interaction(receive task). I am working on a social network site, here is the brief scenario of my business logic:
For every user NEW_USER that registered 5 days ago:
Use a fake user FAKE_USER_A, sending friend invitation to NEW_USER;
—-3 days later, check the invitation was accepted or not;
——–If yes, use FAKE_USER_A send a message to NEW_USER;
————2 days later, check the message was responded or not;
—————-if yes, use FAKE_USER_A send response-message to NEW_USER;
—————-if not, end;
——–if not, use fake user FAKE_USER_B sending a message to NEW_USER;
————2 days later, check the message was responded or not;
—————-if yes, use FAKE_USER_B send response-message to NEW_USER;
—————-if not, end;
I can not figure out how can I run these scheduled process instances on a cron-triggered simple java application? and this is also a batch processing.
Any response would be greatly appreciated.
Regards.