cancel
Showing results for 
Search instead for 
Did you mean: 

Customizing the Activiti Modeler

mark1970
Champ in-the-making
Champ in-the-making
Hi all,
I'm trying to customize the Activiti modeler by inserting some custom properties in the nodes. For example, I'm trying to add the activiti:class property to a ServiceTask.

I've successuflly added the property in the bpmn2.0.json file and now it's displayed in the palette, however the property is not added when I generate the bpmn20.xml file.

I can see that the editor's properties are mentioned in the Semantic.xsd file, however adding it also there produces no effect.

Please could you help me how to add the property also in the generated XML file ?

Thanks a lot
Mark
29 REPLIES 29

al_lv
Champ in-the-making
Champ in-the-making
Thanks.

I tried it.
It stopts by downloading of tomcat.
This is the error:
BUILD FAILED
D:\WorkflowEngine\Modeller\dryabkov-activiti-modeler-experiment-b1ff890\activiti
\build.xml:61: org.codehaus.cargo.container.ContainerException: Failed to downlo
ad [http://www.sai.msu.su/apache/tomcat/tomcat-6/v6.0.32/bin/apache-tomcat-6.0.3
2.tar.gz]

The URL is not reachable via Browser also.

How can I fix it? May be simply define a tomcat path in build.xml?

dryabkov
Champ in-the-making
Champ in-the-making
This url is stated in /activiti/build.xml. Choose appropriate one from http://tomcat.apache.org/download-60.cgi
It's possible to try download distribution package manually to ${java.io.tmpdir}/cargo/installs.

Details of cargo ant task: http://cargo.codehaus.org/Installer

al_lv
Champ in-the-making
Champ in-the-making
ok.
thank.
it works with another URL.
Sorry, but i have now next problem by deploying of signavio-war:  :?

INFO: Deploying web application archive signaviocore.war
ROOT: D:WorkflowEngineModellerdryabkov-activiti-modeler-experiment-b1ff890activiti/target/models
[INFO] Initializing Root Directory…
java.lang.IllegalStateException: Path does not point to a directory.
        at com.signavio.warehouse.directory.business.FsDirectory.<init>(FsDirectory.java:71)
        at com.signavio.warehouse.directory.business.FsRootDirectory.<init>(FsRootDirectory.java:63)

the root directory includes no separators.
Where can I define it?

dryabkov
Champ in-the-making
Champ in-the-making
I've fixed windows path problem.

al_lv
Champ in-the-making
Champ in-the-making
I've fixed windows path problem.
nice.
It work perfectly now.
thank you.

I can now deploy a converted model from target/models, but it doesn't recognize it as a process.
So that it doesn't eappear in probe/processes.

Have you a same problem?

giusdiluca
Champ in-the-making
Champ in-the-making
Hello dryabkov,

I'm trying to deploy activiti-modeler (original 5.6 distribution, not experimental) war file in Liferay CMS. When deploying the app I get the same Path error ( java.lang.IllegalStateException: Path does not point to a directory). How did you get off with this problem?

Thank you so much in advance.

Bye,
Giuseppe.

giusdiluca
Champ in-the-making
Champ in-the-making
Hi,

I've fixed all my previous problems. I'm customizing Actviti Modeler to have the properties I need for each shape. Analyzing the bpmn2.0 json file, I noted that there are many different types for each object (stencil) property (i.e. "text", "choice", "string", "complex", "boolean", "color", "integer", "DiagramLink"). So now I would like to define a type "table" to have a so called, let me use the term, "table editor" (we already have in Activiti-Signavio a Text Editor and a Complex Type Editor). Is this implementation possible? It is not important, to me, to mantain the compatibility with BPMN2.0 standard. I just want to have a customized workflow designer web editor.

Thanks to all in advance.

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
I think questions like these are best asked in the signavio forums…

giusdiluca
Champ in-the-making
Champ in-the-making
Could you give me a link please? Thanks!

dryabkov
Champ in-the-making
Champ in-the-making
I've fixed windows path problem.
nice.
It work perfectly now.
thank you.

I can now deploy a converted model from target/models, but it doesn't recognize it as a process.
So that it doesn't eappear in probe/processes.

Have you a same problem?

Probe is of no special interest to me. Only engine and modeler are suitable for me. I can't test this case.