01-23-2017 11:41 AM
I have extracted the activiti modeler from the source of activiti. Now I am facing an issue with the inputs required by the application.so how can I customize the the activiti modeler ? Recommend some steps and also needed the inputs needed by the activities modeler source code?
01-23-2017 02:20 PM
01-23-2017 11:36 PM
I am using kisbpm file only.Actually I am trying to embed the activiti modeler application into my web application I have extracted the necessary files like HTML and Js files from the activiti explorer source. Now the UI is built by AngularJS so "modeler.html" needed some parameters like Modelid and the JSON file comes from the HTTP request. So can u help me to get the JSON file also how can I get the drag and drop interface of the activiti modeler UI without any problem mentioned above.
Thanks.
01-24-2017 10:22 AM
The structure of the stencilset (JSON) file is actually based on the old Oryx standard from the original Signavio modeler.
The format is fully documented in the Oryx Stencil Set specification.
You can get a copy from Scribd here: OryxSSS | Json | Java Script
Cheers,
Greg
02-07-2017 04:36 AM
Now i was able to seperate/extract activiti modeler as a stand alone web application. Using the web application i can able to create the bpmn 2.0 diagram. But i need to save that as bpmn xml now i was not able to "save" my diagram into bpmn xml file.
Could u please tell me some code level explanation to achive that ?
Thanks and regards.
02-07-2017 11:34 AM
The modeler actually saves the process model into a JSON equivalent of BPMN XML in the model repository (database). This is what the "save" action does in the modeler.
You can extract the model in BPMN XML using the following REST call (Activiti 6 Beta version):
/app/rest/models/<id>/bpmn20
Cheers,
Greg
03-10-2017 06:26 PM
Hi Savith, Greg
I am looking into something similar. Since you guys have done it before, i would appreciate any help or pointers
- Want to use just the browser based modeler , and not the entire excplorer
Which files / scripts are needed for using just the editor to create the BPMN diagram ?
-We want to use our own persistence , to a central repository
WHat would we need to overwrite for this to happen
The requirements are pretty much the same as you , the ability to integrate the BPMN modeler in our web application , but use our own persistence.
Any help is greatly appreciated
Best Regards
Ani
03-10-2017 06:26 PM
Hi Savith, Greg
I am looking into something similar. Since you guys have done it before, i would appreciate any help or pointers
- Want to use just the browser based modeler , and not the entire excplorer
Which files / scripts are needed for using just the editor to create the BPMN diagram ?
-We want to use our own persistence , to a central repository
WHat would we need to overwrite for this to happen
The requirements are pretty much the same as you , the ability to integrate the BPMN modeler in our web application , but use our own persistence.
Any help is greatly appreciated
Best Regards
Ani
Explore our Alfresco products with the links below. Use labels to filter content by product module.