mirror of
https://github.com/sartography/spiff-arena.git
synced 2025-02-12 01:16:58 +00:00
updated the error text for migration issues
This commit is contained in:
parent
19ff18df8e
commit
9224fbbcfa
@ -198,8 +198,10 @@ class ProcessInstanceService:
|
||||
)
|
||||
if not cls.can_migrate(top_level_bpmn_process_diff, subprocesses_diffs):
|
||||
raise ProcessInstanceMigrationNotSafeError(
|
||||
f"It is not safe to migrate process instance {process_instance.id} to "
|
||||
f"new version of '{process_instance.process_model_identifier}'"
|
||||
f"It is not safe to migrate process instance {process_instance.id} to this version of "
|
||||
f"'{process_instance.process_model_identifier}'. This version of the process model may have changed tasks that "
|
||||
"have been completed in this process instance or the changes to be made may be too dangerous "
|
||||
"to ensure a safe migration."
|
||||
)
|
||||
return (
|
||||
processor,
|
||||
|
Loading…
x
Reference in New Issue
Block a user