Create process
This steps will help you to create a simple process and use the connectors loaded to your runtime.
-
Make sure the runtime is active and has both
LogConnectorandSleepConnectorare loaded.$ python example/runtime.py 2023-08-03 21:09:30.829 | INFO | python_camunda_sdk.runtime.runtime:main:114 - Loading LogConnector (log) 2023-08-03 21:09:30.829 | INFO | python_camunda_sdk.runtime.runtime:main:114 - Loading Sleep (sleep) 2023-08-03 21:09:30.829 | INFO | python_camunda_sdk.runtime.runtime:main:117 - Starting runtime -
Import templates to Modeller.
Cloud Modeller
Open Modeler, and upload the template using New -> Upload files menu.
Desktop Modeller
Save the template into
resources/element-templates/directory. See Configuring templates in the official Caunda documentation for details. -
Create a simple process.

Type: Service TaskTemplate: LogConnectorMessage to log: Hello Camunda!Type: Service TaskTemplate: SleepConnectorDuration of sleep in seconds: 2Correlation key: "demo_key"Message name: "Wake up"Type: Message Intermediate Catch EventMessage name: Wake upSubscription correlation key: "demo_key"Type: Service TaskTemplate: LogConnectorMessage to log: Goodbye! -
Start the process instance. You should see logs apper in the console