This project can be used as a template to start building your own Temporal Workflow application.
Follow the Build a "Hello World!" app from scratch tutorial to learn more.
This project uses Snipsync comment wrappers to automatically keep code snippets up to date within our documentation.
To use the template, either download it as a zip file or click "Use Template" to make a copy of it in your own Github account.
Either open the project in IntelliJ, which will automatically build it, or in the project's root directory run:
./gradlew build
First, make sure the Temporal development cluster is running.
To start the Workflow, either run the InitiateHelloWorld class from IntelliJ or from the project root run:
./gradlew sayHello
To start the Worker, either run the HelloWorldWorker class from IntelliJ or from the project root run:
./gradlew startWorker