MCPcopy
hub / github.com/sartography/SpiffWorkflow / get_task_from_id

Method get_task_from_id

SpiffWorkflow/bpmn/workflow.py:215–221  ·  view source on GitHub ↗
(self, task_id)

Source from the content-addressed store, hash-verified

213 update_task(task)
214
215 def get_task_from_id(self, task_id):
216 if task_id not in self.tasks:
217 for subprocess in self.subprocesses.values():
218 task = subprocess.get_task_from_id(task_id)
219 if task is not None:
220 return task
221 return super().get_task_from_id(task_id)
222
223 def reset_from_task_id(self, task_id, data=None, remove_subprocess=True):
224

Callers 6

delete_subprocessMethod · 0.95
do_engine_stepsMethod · 0.95
reset_from_task_idMethod · 0.95
get_task_traceMethod · 0.45
deserialize_workflowMethod · 0.45
deserialize_taskMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected