cancel
Showing results for 
Search instead for 
Did you mean: 

How to run the activiti source code?

balaji1
Champ in-the-making
Champ in-the-making
Hi,

1. We have checked out the source code from SVN and installed in SVN.
Can you please tell us how to build this source code?

ALso what will be the outcome of this process?

2. We have proposed to use activiti plugin for our porject. We need to customise the palette shapes and XML tags. Can you please tell us the process to perform.


Please help us to resolve to above issues. We are badly stuck up here.
294 REPLIES 294

balaji1
Champ in-the-making
Champ in-the-making
HI,
The above error got resolved.

balaji1
Champ in-the-making
Champ in-the-making
Hi Team,
Thanks for your support.
Finally, We are able to run the plugin.

Ques
====

1. You already has adviced us to look at the doc for the changes to customise the XML. Can you please say how the entire
process works to create the XML  file. Probably, the files it refers and flows.

Thanks

balaji1
Champ in-the-making
Champ in-the-making
HI,
Please help us to the above question.

tiesebarrell
Champ in-the-making
Champ in-the-making
Great you got along with the JRE. Now that you mention it, it's a problem we encountered before, so we should include that in our documentation. The problems you have now are Graphiti-related. It appears de Graphiti libraries from the SDK aren't on the project's classpath. Are you sure you have the Graphiti SDK installed?

balaji1
Champ in-the-making
Champ in-the-making
Hi,

We just applied nightly builds for the Graphiti.
Grpahiti package has dependency on GEF package. After we installed Graphiti things went fine.


1. You already has adviced us to look at the doc for the changes to customise the XML. Can you please say how the entire
process works to create the XML file. Probably, the fname of the files it refers and flows.

Thanks

tiesebarrell
Champ in-the-making
Champ in-the-making
Balaji,

you need to extend AbstractExportMarshaller, where you will have to implement a couple of methods, most importantly marshallDiagram(Diagram diagram, IProgressMonitor monitor). In the Diagram object is all the information you need. You can inspect the structure of the object in the model project. It basically contains all of the graphical information and a list of all the BPMN 2.0 constructs. Once you have a result XML (you can use an XMLStreamWriter for instance), you can create your output file by invoking saveResource with the appropriate parameters. Take a look at the org.activiti.designer.export.bpmn20 project - we use the same mechanism there.

A quick note: ExportMarshallers are still an experimental feature. We are still working on the API for this part, so there might be slight changes if you want to upgrade your marshaller to newer versions of Activiti Designer later on. I don't expect any huge changes, but there are no guarantees.

balaji1
Champ in-the-making
Champ in-the-making
Hi,

We need clarifications for the below questions

1. Can you please let us know how to set the process level attributes for the given workflow. Say, If the attribute is 'Y' workflow has to take path 1 else path2.

2. Is it possible to generate BPMN diagram from given XML generated. If its not possible please tell us the reason.
If its possible please let me know the process.



Thanks

tiesebarrell
Champ in-the-making
Champ in-the-making
1. Do you mean during your own generation (during save) or while editing the BPMN XML?

2. I don't understand the question. Where did you generate the XML?

balaji1
Champ in-the-making
Champ in-the-making
Hi,
Second question is about after we drew the BPMN flow diagram we can get the XML file.

consider, if we have XML file from BPMN flow how to recreate the BPMN diagram from the XML.

Thanks

balaji1
Champ in-the-making
Champ in-the-making
Tiesse.
Can you help us for the above questions?

For question 1
===========
How to setup the process level attributes for the given BPMN flow?
Say, If the attribute is 'Y' workflow for the B{MN has to take path 1 else path2.

THanks