You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been working on an custom system task that launches multiple SubWorkflows in a loop. However, I found there were a number of places with logic hardcoded to taskType that prevented this working.
There are hardcoded references to SUB_WORKFLOW in the following places methods:
WorkflowExecutorOps.executeSubworkflowTaskAndSyncData called from updateParentWorkflowTask
Describe the Feature Request
I have been working on an custom system task that launches multiple SubWorkflows in a loop. However, I found there were a number of places with logic hardcoded to taskType that prevented this working.
There are hardcoded references to SUB_WORKFLOW in the following places methods:
WorkflowExecutorOps.executeSubworkflowTaskAndSyncData
called fromupdateParentWorkflowTask
WorkflowExecutorOps.findChangedSubWorkflowTask
WorkflowExecutorOps.rerunWF
(line 1669 & 1772)WorkflowExecutorOps.findLastFailedSubWorkflowIfAny
(line 413)WorkflowRepairService.verifyAndRepairTask
(line 154)Describe Preferred Solution
WorkflowExecutorOps.executeSubworkflowTaskAndSyncData
to passsubWorkflowTask.getTaskType()
to thesystemTaskRegistry
WorkflowSystemTask
interface and override to return true inSubWorkflow
class:Add additional method to
SystemTaskRegistry
``
systemTaskRegistry.isSubWorkflowParent(t.getTaskType())
The text was updated successfully, but these errors were encountered: