09-11-2017 04:16 PM
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
09-12-2017 12:36 PM
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
09-12-2017 12:45 PM
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
09-13-2017 01:26 AM
Hi,
you can run any workflow by required parameters and processId .
Thanks,
Kalpesh
09-13-2017 08:21 AM
But what about management of task variables within the workflow? I am thinking about one generalized code to do all this stuff.
Thanks again.
Explore our Alfresco products with the links below. Use labels to filter content by product module.