mirror of
https://github.com/sartography/spiff-arena.git
synced 2025-01-27 01:40:48 +00:00
remove unnecessary queue to celery when submitting a task w/ burnettk
This commit is contained in:
parent
f1abed13d6
commit
a762efca33
@ -29,9 +29,6 @@ from sqlalchemy.orm.util import AliasedClass
|
||||
from spiffworkflow_backend.background_processing.celery_tasks.process_instance_task_producer import (
|
||||
queue_enabled_for_process_model,
|
||||
)
|
||||
from spiffworkflow_backend.background_processing.celery_tasks.process_instance_task_producer import (
|
||||
queue_process_instance_if_appropriate,
|
||||
)
|
||||
from spiffworkflow_backend.data_migrations.process_instance_migrator import ProcessInstanceMigrator
|
||||
from spiffworkflow_backend.exceptions.api_error import ApiError
|
||||
from spiffworkflow_backend.exceptions.error import HumanTaskAlreadyCompletedError
|
||||
@ -947,8 +944,6 @@ def _task_submit_shared(
|
||||
if next_human_task_assigned_to_me:
|
||||
return make_response(jsonify(HumanTaskModel.to_task(next_human_task_assigned_to_me)), 200)
|
||||
|
||||
queue_process_instance_if_appropriate(process_instance)
|
||||
|
||||
# a guest user completed a task, it has a guest_confirmation message to display to them,
|
||||
# and there is nothing else for them to do
|
||||
spiff_task_extensions = spiff_task.task_spec.extensions
|
||||
|
Loading…
x
Reference in New Issue
Block a user