1. Joram Barrez January 22, 2013

    @dotan: You mean these processes are completely automatic, without any wait states.
    In that case, a BPM engine is indeed a bit overkill and maybe even cumbersome.
    It would depend how important those diagrams are for you. But if not, then maybe something like Spring Batch or maybe even just quartz would do.

  2. Junyong March 21, 2013

    Hi, some background, due to some functional issue, a lot of activiti act_ru_task records get created.

    So, we managed to clean up those records (near 2mil records)

    But, cleaning act_hi_actinst is not so smooth, 3 hours passed, still doing reading. (more than 3mil records need to be removed)

    Just asking, am I safe to do truncate table? Anything will break?
    Our app is not using this table at all.


  3. Joram Barrez March 22, 2013

    @Junyong: These kind of questions are better asked in the Activiti Forum (http://forums.activiti.org/en/viewforum.php?f=3), you’ll get quicker answer there.

    But to answer your question:
    -If you are not using historical data, you can safely delete the data. Note that some things like attachments and comments do use history data.
    – If you dont want that data to be generated, simply set thge history level to ‘none’, so nothing will be generated

  4. Kevin April 3, 2013

    Hi, just want to ask is there any way to get the TaskID that automatically created by Timer Boundary?

  5. joe berg April 5, 2013

    HI Joram you are genius thank you for the great bpm generator, though a quick question, will that also work on a windows server or just mac, as you have it on the video?

    Thank you

  6. Joram Barrez April 7, 2013

    @Joe berg: I assume you mean the kickstart video? If so, the ipad app will of course only work on a mac. The server side bits work on any OS that is capable of running Java.

  7. Jean-Francois June 25, 2013

    Hi Joram,

    Nice to meet you. Thank you for your “BPMN 2.0 import in the Activiti Designer” screencast. I looked at your speaking engagements and did not see one in Italy yet. As co-national and former Smalltalk developper (20 years ago), it would be a pleasure see you and host you here in Milan. I could organize a meeting with people involved with Activiti or curious to know more about it and about you. Let me know if the idea interests you.



    PS: Ik zou ook met je mijn nederlands kunnen oefenen maar dat is een andere verhaal… 🙂

  8. Sofiane Bendoukha September 23, 2013

    Dear Joram,

    I am a PhD student and my thesis turns around business process management.
    Please where can I find information about the relation between the Activiti components (Process Engine, Modeler, Explorer, etc.)
    Do you have UML diagrams for this?

    Thank you very much,

    Best regards,

    Sofiane Bendoukha

  9. Joram Barrez September 24, 2013

    @Sofiane: we don’t have UML diagrams. All information of Activiti can be found at http://www.activiti.org/userguide/index.html or in the book of the Activiti project lead: http://www.manning.com/rademakers2/

  10. Dimitri Hautot November 7, 2013

    Hello Joram,

    Is project Activiti Kickstart discontinued?
    A colleague just saw a mention on a slide at Alfresco Summit 2013, but the only reference I can find is a post on your blog (2 years old) and some pictures in the user guide of Activiti 5.14.

    Thanks in advance,


  11. Dimitri Hautot November 7, 2013

    Hello again,

    Sorry, I missed the post where you explain “Kickstart project” has been moved to Github and is out of official distribution…



  12. Joram Barrez November 7, 2013

    @Dimitri: absolutely not! Check out http://summit.alfresco.com/barcelona/sessions/boost-your-productivity-next-gen-bpm-tooling

    We’ll have a screencast up soon showing all the new stuff!

  13. Franck Mangin December 20, 2013

    Hi Joram,

    We are trying to design and scope the integration of the Activiti engine into a large enterprise product, we are under tight deadlines and I could use a few hours of senior (architect level) Activiti consulting to help me bootstrap the effort.
    Would you have someone to recommend?

    Thanks in advance!

  14. Joram Barrez December 23, 2013

    @Franck: the two companies mentioned on http://activiti.org/enterprise-support.html are core developers and will for sure be able to help you.

  15. Paul December 11, 2014

    Hi Joram, my name is Paul and I’m an italian Java Developer. I’m facing BPM for the very first time since the company I work for would like to use BPM for modelling processes in a (quite complex) healthcare scenario.
    I read several docs and blogs (as well as many stackoverflows’ posts 🙂 about JBPM, Activiti, Camunda and Bonita, then I decided to limit the choice between Activiti and JBPM (Bonita also seemed to me quite good but both the lack of transparency in paid subscriptions and its hide-the-code approach made me skeptic).
    I’ve found many comparison reports between Activiti 5 and JBPM5 and to me they seem quite similar (no recent comparisons between Activiti 5 and JBPM6, instead).
    I read Activiti 5.16 user guide (very enlightening and well documented) but I still don’t know if I should start a brand new project integrating Activiti 5.14 or JBPM 6.1 libraries (given that I surely will need some coding as well as to customize UI).
    Any advice?
    Thank you in advance!

  16. Joram Barrez December 12, 2014

    Well im biased, so i would say go for Activiti 😉 I’m the last person to make an objective comparison.

    It depends on your use case: do you want to integrate with your own libraries and systems, then the embedded approach is the way to go.

  17. Sanket Mehta December 22, 2014

    Hi Joram,
    I am facing the same issues as mentioned in this forum link :

    I cannot change the xml (workflow definition) file now as my old workflows also need to be functional.
    It will be great help if you could suggest a workaround for it.

    Thanks in advance.

  18. Farheen Noorie February 13, 2015

    Hi Joram,

    Reaching out to you after I posted the question on activiti forums but didnt get a reply:


    We are in final phases of performance testing and our project is blocked due to this. Will really appreciate your help.


  19. Deepyaman Chatterjee March 12, 2015

    Hi Joram

    I am new to Activiti and using the version 5.17.

    I have successfully drawn a process diagram with custom fields i.e. textarea and deployed the same on activiti-explorer2. My process works fine on the explorer with the custom field.
    I am having a problem when I am trying to start a new process instance for the same using the REST API.


    Error: {“message”:”Bad request”,”exception”:”unknown type ‘textarea’ initcomments”}

    Will really appreciate your help.



  20. Joram Barrez March 12, 2015

    These kinds of questions belong on the Activiti forum…. http://forums.activiti.org/

    The problem is that your REST api engine config is not configured to know about the form fields.

  21. Samantha April 13, 2015

    Hi, I’m new to Activiti and I came across your blog. I’m trying to implement a dynamic workflow that is:
    No of approvers and no of levels hiearchy are dynamic. I’m currently facing two issues listed below:

    1. I want to retrieve a list of tasks(From table ACT_RU_TASK) along with all user ids (From table ACT_RU_IDENTITYLINK) attached to each task. I wrote a native query to do this but unfortunately it returns me only the taskid and task name.

    2. I also implement a timer boundary event so that it escalates the task after certain minutes. Could you please tell me how can i catch the timer when it get fired? How to implement a listener? Is there any tutorial available.

    I would be glad if you can help.

  22. Michael June 12, 2015


    Looking for a BPM solution and Activiti is something that might fit the bill.

    I’ve spent a few hours to figure out the solution and its parts, the companies and communities involved but it’s really confusing for an outsider.

    Would it be possible to do like a Activiti 101 presentation (like 10 minute video or 20 slide presentation) to explain the the solution & its parts with a breif look at them, the commercial side of things (what is open source and what is commercial product) who are involved in the product, what is Alfrescos role in relation to the community, are services around the solution offered (education, consultancy) and by whom? And so on. In other words, all the stuff you need to know to make a strategical decision to use the product.

    Or are there already some thing like that out there that you can point me to?

  23. Joram Barrez June 22, 2015


    Sorry for the slow response … this page gets quite a bit of spam and this post was hidden in my spam folder.

    The things you mention would be indeed to get online. I’ve relayed the same to our marketing team in the past. I’m hopeful they’ll to that soon.

    The basic idea is this:
    – Alfresco ‘sponsors’ (pays the salary) of the main core developers of Activiti
    – Alfresco has a commercial product built on top of the Activiti engine (https://www.alfresco.com/products/activiti). Ofc consultancy/training/… is possible through Alfresco.
    – The engine and all features are and will always be open source.

    If you need more info and an overview of all that’s possible, i think the best path forward would be to contact someone from Alfresco sales, as they have the materials for that.

  24. Gary Braswell July 20, 2015

    Hi Joram –

    My team has been working with Activiti for about 3 years now and we have an implementation that’s in production. Right now, we’re seeing sporadic weirdness where the tasks are getting stuck or in a hosed state. It smells like a concurrency issue. My team is pretty strong, but we’ve made little progress in killing the bug(s). It’s probably more than one. It certainly manifests in more than one way.

    I’ve been authorized to bring in a consultant to help us make resolve the issue. Which consulting group / consultant would you recommend for helping us diagnose the root cause?

    I’ve already contacted Alfresco, but I saw that you pointed people to others as well in your previous posts.

    Gary B.

  25. Robert July 29, 2015


    I am new to activiti and I am trying to implement a workflow where timer duration value of “BoundaryEvent Timer” is set at run time. Can you please guide me how I can set the value at run time.

  26. Joram Barrez July 29, 2015

    @Robert: the best place to ask these questions are on the Activiti forum: http://forums.activiti.org/, way more people there that can help you out!

  27. Sumit Kapoor September 14, 2015

    I am looking for API that can reschedule a process. Is it possible through API or I will have to update database?


  28. nikita October 27, 2015

    Hi Joram,

    I was trying the multi-schema multi-tenant example provided by you and it worked well. Thanks for it. However, I believe in a SaaS environment one important use-case is that you will have multiple schemas but the same database. And the schema cannot by set in the URL string while creating datasource. It needs to be set by using the command -> set search_path to ‘schema’.

    The schema should have been set at the query execution level. Creating database per tenant is like one use case solved multi-database multi tenant. Please provide your views on the same.


  29. nikita October 29, 2015

    Also, how do you expect the tenant Information to be passed when starting a workflow instance. Please can you advise on this aspect. In the test case we are sharing the tenantInfoholder object in the processEngineConfiguration and while setting tenant before initiating a workflow.

    I believe typically the tenantId/UserId information will come in as request parameters if we are using Rest endpoints to initiate a workflow etc. Which I believe we can access in any filter and set in the TenantInfoholder object. But How will I be able to access the tenantInfoholder object ??

    Please give some insight on this.

  30. Joram Barrez October 29, 2015

    @nikita: i copy and pasted your question and answered them here: http://www.jorambarrez.be/blog/2015/10/06/multi-tenancy-separate-database-schemas-in-activiti/comment-page-1/#comment-34678

    The “about” section is not the right place for these questions.

  31. Nedumaran September 21, 2016

    Hi Joram,
    i am trying to use MultiSchemaMultiTenantProcessEngineConfiguration with spring boot. i don’t know how to configure this with spring boot. could you please any sample spring boot project using this configuration? we would like to add tenants at runtime with different schema.Thanks in advance.

Leave a Reply

Your email address will not be published. Required fields are marked *