Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Open
ecmind_blue_client_workflow
Commits
20844693
Commit
20844693
authored
Jun 11, 2021
by
Ulrich Wohlfeil
💬
Browse files
Rename WfState to State
parent
396afa3c
Changes
1
Hide whitespace changes
Inline
Side-by-side
ecmind_blue_client_workflow/workflow.py
View file @
20844693
...
...
@@ -5,7 +5,7 @@ from ecmind_blue_client import Job
from
ecmind_blue_client
import
Client
from
XmlElement
import
XmlElement
class
Wf
State
(
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'
:
Wf
State
(
int
(
p
[
'@State'
])),
'state'
:
State
(
int
(
p
[
'@State'
])),
'suspended_activity'
:
p
[
'@SuspendedActivity'
],
'creation'
:{
'user_id'
:
p
[
'Creation'
][
'@UserId'
],
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment