This is the example SWADL workflows from the Symphony Developer Certification Program. Please use this project while or after reviewing the course Implementing Workflows with Symphony WDK 1.0
This repository is divided into branches, each representing the end state of each demo in the course.
- Chapter 4: Creating a Workflow
- Chapter 5: Activities, Events & Variables
- Chapter 6: Extensibility
- Chapter 6.1: Extensibility - Request Received
- Chapter 7: Conditional Branching & Loops
To get started, follow these commands below:
-
Install the Symphony Generator:
npm install -g yo @finos/generator-symphony
-
Launch the Symphony Generator:
yo @finos/symphony
Check out the Getting starting guide for an introduction.
The generated project has 4 folders:
- [rsa]: contains generated RSA public and private keys for the workflow bot.
- [workflows]: can contain workflows to be executed by the bot.
- [src]: contains custom activities with Java models and activity executors.
- [lib]: can contain JAR files and dependencies of custom activities.
After placing your swadl.yaml workflow file in [workflows] folder, you can execute workflow-bot-app.jar.
java -jar workflow-bot-app.jar
nb: Java 11 is required to run the WDK
This project comes with the following Gradle tasks:
./gradlew botJar
used to download the WDK jar (executed upon bot's generation)./gradlew customActivityLibs
used to copy custom activity dependencies in [lib] folder.- For more details, use
./gradlew task --all