mirror of
https://github.com/sartography/spiffworkflow-backend.git
synced 2025-02-23 21:08:18 +00:00
fixed up the process instance show page and moved contents of scss to css file and load that last w/ burnettk
This commit is contained in:
parent
e78e32dcf9
commit
3211e7a49e
@ -64,7 +64,6 @@ class ProcessInstanceStatus(SpiffEnum):
|
||||
faulted = "faulted"
|
||||
suspended = "suspended"
|
||||
terminated = "terminated"
|
||||
erroring = "erroring"
|
||||
|
||||
|
||||
class ProcessInstanceModel(SpiffworkflowBaseDBModel):
|
||||
|
@ -83,10 +83,6 @@ class ProcessInstanceReportModel(SpiffworkflowBaseDBModel):
|
||||
report_metadata = {
|
||||
"columns": [
|
||||
{"Header": "id", "accessor": "id"},
|
||||
{
|
||||
"Header": "process_group_identifier",
|
||||
"accessor": "process_group_identifier",
|
||||
},
|
||||
{
|
||||
"Header": "process_model_identifier",
|
||||
"accessor": "process_model_identifier",
|
||||
|
@ -64,7 +64,7 @@ class ProcessInstanceService:
|
||||
processor.do_engine_steps(save=True)
|
||||
except Exception as e:
|
||||
db.session.rollback() # in case the above left the database with a bad transaction
|
||||
process_instance.status = ProcessInstanceStatus.erroring.value
|
||||
process_instance.status = ProcessInstanceStatus.faulted.value
|
||||
db.session.add(process_instance)
|
||||
db.session.commit()
|
||||
error_message = (
|
||||
|
Loading…
x
Reference in New Issue
Block a user