Commit 0f1a3092 authored by Sherry Mathews's avatar Sherry Mathews


parent f124023e
#### Example of integration between Java Spring Boot Application and APS
### Use-Case / Requirement
A Java Spring Boot application should be integrated with APS and should have the following capabilities.
1. Invoke a process instance in APS.
2. The invoked process instance should return values to the Spring Boot Application at any point of its life span.
### Design
Foolowing is the design to accomplish the requirements.
1. The APS Process Instance is invoked from Spring Boot App by using the APS-REST API Calls.
2. A REST API service is built using the Spring Boot App. This REST service is invoked from APS and values are passed.
### Prerequisites to run this demo end-2-end
* Alfresco Process Services (powered by Activiti) (Version 1.9 and above) - If you don't have it already, you can download a 30 day trial from [Alfresco Process Services (APS)]( & help available at [Activiti Docs](, [Alfresco BPM Community](
## Configuration Steps
### Activiti Setup and Process Deployment
1. Import the []( app available in this project into Activiti.
2. Process Flow. ![Process-Flow-1](Process-Flow-1.png)
3. REST Configuration. ![REST-Configuration-1](REST-Configuration-1.png) ![REST-Configuration-2](REST-Configuration-2.png) ![REST-Configuration-3](REST-Configuration-3.png)
4. Script Configuration. ![Script-Configuration-1](Script-Configuration-1.png)![Script-Configuration-2](Script-Configuration-2.png)
5. Java Source Code. [Source-Code](
<!-- 6. The JAR File. [Copy-attachments.jar](activiti-copy-attachments-1.0.0-SNAPSHOT.jar) -->
<!-- 7. Copy the jar file to tomcat-lib location. [eg: /usr/local/tomcat/webapps/activiti-app/WEB-INF/lib/] -->
6. Publish/Deploy the APS App.
7. Run as 'Spring Boot App' ![Run-As-Spring-Boot-App-In-Eclipse](Run-As-Spring-Boot-App.png)
### Java Code
The Java code is available [here](java-code)
### Run the DEMO
### References
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment