cancel
Showing results for 
Search instead for 
Did you mean: 

How to create the activiti expressions and listeners

valarmathi
Champ in-the-making
Champ in-the-making
Hi,
How can i use the activiti expressions(java script expressions) and listeners.
Please tell me the flow how can i do it?

Thanks,
Valarmathi P
27 REPLIES 27

valarmathi
Champ in-the-making
Champ in-the-making
yes,another jar file is there on the class path,but can't upload the jar file in the Activity Explorer right.how can i do it?

Thanks,
Valarmathi P

frederikherema1
Star Contributor
Star Contributor
Again, it's NOT POSSIBLE to upload jar's (or classes) to activiti explorer. You should place the classes on the class path of the container the app is running in.

valarmathi
Champ in-the-making
Champ in-the-making
I put the jar file inside of the application tomcat webapps folder ,is this ok .Is ok means,where can i get the jar file.

Thanks,
Valarmathi P

frederikherema1
Star Contributor
Star Contributor
If you're using activiti Designer and an Activiti Project, the jar-file of the classes in your project will be created once you have requested "Generate deployments artifacts". There should be a jar-file alongside the .bar file. If not, there is possibly a compile-error.

If you're not using an Activiti project, bundle the jar-file as you would do with other java-rpject, using the mechanism of your choice (ANT, maven, export jar in eclipse, …)

valarmathi
Champ in-the-making
Champ in-the-making
I'm using Activiti project only,while using  "Generate deployments artifacts" i got the .bar file  and .jar file both .
Where can i put that jar file .I used to put activiti/apps/tomcat/webapps/xxx.jar file,then how can i get the jar from the activiti-explorer.

Thanks,
Valarmathi P

frederikherema1
Star Contributor
Star Contributor
Please consult google for inquiries like this. We're here to answer activiti-specific questions.

Adding a jar-file in a webapp is not really activiti-specific and a trivial thing to do if you're a java-developer…

valarmathi
Champ in-the-making
Champ in-the-making
I'm a developer only,if i put webapps folder in normal web applications means i know what i can do.
My question is where i can get the file from Activity explorer,if i upload .bar or xml file means i got it from activity explorer with activity diagram,thats'y i'm asking the question.Don't mistake me,i'm a java developer only.

Thanks,
Valarmathi P

frederikherema1
Star Contributor
Star Contributor
I really don't get the question. Are you trying to retrieve the JAR-file from the explorer-app to use elsewhere?

valarmathi
Champ in-the-making
Champ in-the-making
Obviously yes.If i upload the jar file from the class path how i will take the uploaded file activity diagram from the activity explorer.

Thanks
Valarmathi P

frederikherema1
Star Contributor
Star Contributor
You can't retrieve the JAR-file (containing the classes) from the activiti-explorer app. You can only view the deployments and their contents (.bar file) from the explorer APP or using the REST/Java API.