Commit 20844693 authored by Ulrich Wohlfeil's avatar Ulrich Wohlfeil 💬
Browse files

Rename WfState to State

parent 396afa3c
......@@ -5,7 +5,7 @@ from ecmind_blue_client import Job
from ecmind_blue_client import Client
from XmlElement import XmlElement
class WfState(Enum):
class State(Enum):
INIT = 1
RUNNING = 2
SUSPENDED = 4
......@@ -58,7 +58,7 @@ def admin_get_process_list(client: Client, organisation_id: str, workflow_id: st
p['@Id']: {
'name': p['@Name'],
'subject': p['@Subject'],
'state': WfState(int(p['@State'])),
'state': State(int(p['@State'])),
'suspended_activity': p['@SuspendedActivity'],
'creation':{
'user_id': p['Creation']['@UserId'],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment