Skip to content

Instantly share code, notes, and snippets.

@Noordsestern
Created June 2, 2021 20:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Noordsestern/d43935b22d274c24ed7b67999be83689 to your computer and use it in GitHub Desktop.
Save Noordsestern/d43935b22d274c24ed7b67999be83689 to your computer and use it in GitHub Desktop.
CamundaLibrary in pure python
from CamundaLibrary import CamundaLibrary
client = CamundaLibrary('http://localhost:8080')
client.deploy('model/pure_python_model.bpmn')
client.start_process('pure_python_process', variables={'favorite number': 42})
process_variables = client.fetch_workload('pure python task')
assert process_variables.get('favorite number') == 42
client.complete()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment