cancel
Showing results for 
Search instead for 
Did you mean: 

Maintaining activiti workflow state

nasir
Champ in-the-making
Champ in-the-making
Hi All,

I am new to activiti. Earlier we have created simple activiti workflow for our customer (activiti designer, Activiti Mysql DB, Java Delegates).

Now our requirement is to maintain state of workflow withing activiti itself.

I mean, suppose my activiti has below tasks : 1. GetData (service task), 2. update and Confirm Data (User task) 3.Perform Validation (service task) 4. Subscribe (user task)

Now our requirement is, once starts this workflow and left after say step 2 mentioned above, and if user returns again he/she should start from step 3 rather than starting from scratch (i.e. Step 1). So my query is is it possible to maintain workflow state along with application data entered in activiti. Or some better design approach using activiti (activiti REST API & Activiti DB + application DB in order to handle this scenario?

Also it would be really helpful if someone help me with DB document link available for activiti (like DB tables and what type of data gets stored in them, I do have mysql activiti scripts with me, but not very clear what kind of data gets stored in each table)

Thank you,
Nasir
3 REPLIES 3

motorina0
Confirmed Champ
Confirmed Champ
Hi Nasir,

    I have started a series of blog posts (part 1 to 4) about the Activiti tables. You can find them here: https://activitibpm.blogspot.ro/2016/11/dissecting-activiti-part-1.html

    Please let me know if it helps!

br,
Vlad

nasir
Champ in-the-making
Champ in-the-making
Hi Vlad,
Thank you very much for above link, its really helpful.
I got answers to my various queries like 1. How to maintain and resume workflow (with user/business data). 2. Overall DB design and actual data gets stored during workflow execution. 3. retrieving current task id in waiting state.
Thank you once again..
Thanks,
Nasir

motorina0
Confirmed Champ
Confirmed Champ
Hi Nasir,

    I'm glad it helped. If you have other topics (posts) you would be interested in, please let me know.

br,
Vlad