Skip to content
This repository has been archived by the owner on Dec 28, 2022. It is now read-only.

matrixise/pyactiviti

Repository files navigation

PyActiviti

An SDK that helps with interacting with Activiti.

Features

  • Create/Read/Update/Delete/Search a user
  • Create/Read/Update/Delete/Search a group
  • List the deployments

Todo

  • Create/Read/Update/Delete/Search Process
  • Create/Read/Update/Delete/Search Instance
  • Create/Read/Update/Delete/Search Task

Examples

from pyactiviti import Activiti

ACTIVITI_AUTH = ('kermit', 'kermit')
ACTIVITI_API = 'http://localhost:8080/activiti-rest'

activiti = Activiti(ACTIVITI_API, auth=ACTIVITI_AUTH)

if not activiti.user_exists('user1'):
    user = activiti.create_user('user1', 'foo@bar.org', 'secret')
else:
    user = activiti.get_user('user1')

group = activiti.create_group('group1', 'Group1', 'Type')
activiti.group_add_member(group['Id'], user['Id'])

About

a SDK that helps with interacting with Activiti.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published