Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Aphorismen
Applications
Business Economics & Admin.
My Computers
Cooking
Devices
Folders
Food
Hardware
Infos
Software Development
Sports
Operation Instructions
Todos
Test
Help
Glossary
Community portal
adaptions
Sidebar anpassen
Wiki RB4
Search
Search
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Activiti
(section)
Page
Discussion
English
Read
Edit
View history
Toolbox
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Using Activiti== C:\Uwes\java\activiti\5.0\setup\ant (default target is '''demo.start''') starts h2-DB on port 9092 and tomcat on port 8099. Other targets are '''tomcat.start''', '''tomcat.stop''', '''h2.start''', '''h2.stop''', '''db.drop''', '''db.create'''. ===Modeler=== * files are saved in C:\Uwes\java\Activiti\activiti-5.6\workspace\activiti-modeler-examples\ ===Designer=== ====Activities==== =====Script Tasks===== All process variables are accessible by name in the script. =====Service Tasks===== public class CreateApplicationTask implements org.activiti.engine.delegate.JavaDelegate { @Override public void execute(DelegateExecution arg0) throws Exception { // has to implement Serializable Application app = new Application(); // get process variable Boolean b = (Boolean) execution.getVariable("name")); // store process variable execution.setVariable("name", app); } } ====Create JUnit Test==== * right click diagram -> Activiti -> Create JUnit Test * process parameter can be defined by Map<String, Object> vars = new HasMap<String, Object>(); vars.put("name", value); runtimeService.startProcessInstanceByKey("diagram", vars); ===Deployment=== The so-called Business Archive (BAR) files are ZIP compressed files that contain processes and their dependencies, like forms, that can be deployed on the Activiti Engine. Deployment of a BAR file via: * Probe. Probe provides functionality to deploy new BAR files and to delete previous deployments. * Ant using the REST API.
Summary:
Please note that all contributions to Wiki RB4 may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Uwe Heuer Wiki New:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Toggle limited content width