hello ,
Im new to activiti, ive done some sample projects following the quick start sample code provided on activiti website.
However, im getting little confused with some concepts:
-First : can, or is there one java code that can run any workflow?
-Second: how can i make a certain task pause and wait a json object to arrive through rest ?
Any help is appreciated
Hi,
Play Activiti with
A Guide to Activiti with Java | Baeldung
To start workflow using spring
Getting started with Activiti and Spring Boot
To start workflow using rest api refer this
http://hostort/activiti-rest/service/runtime/process-instances
Please refer this question to start workflow using java class
how to initiate activiti workflow from java program - Stack Overflow
Thanks,
Kalpesh
Hello Kaplesh,
Thanks for your answer. However, i know how to run a workflow through java code.
but to make my question clear:
Is the code we write in java workflow specific? or there is possibility for one java application to run any workflow only by considering workflow id and process ids....?
In other words, the code provided on activiti website ran the corresponding workflow, but it cant (as much as i know ) to run other workflows.
thanks
Hi,
you can run any workflow by required parameters and processId .
Thanks,
Kalpesh
But what about management of task variables within the workflow? I am thinking about one generalized code to do all this stuff.
Thanks again.
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.