Workflow not going forward after DO_WHILE execution completion
Author: appunni-oldCreated Dec 4, 2023Updated Dec 5, 2023
Labelstype: bug
Describe the bug
Details Conductor version: 3.15.0 Persistence implementation: MySQL Queue implementation: MySql Lock: Redis Workflow definition:
{
"createTime": 1701669713675,
"updateTime": 1701669746737,
"createdBy": "[email protected]",
"updatedBy": "[email protected]",
"accessPolicy": {},
"name": "test_do_while",
"description": "Workflow details",
"version": 2,
"tasks": [
{
"name": "default_do_while",
"taskReferenceName": "task_1__loop_databricks",
"inputParameters": {},
"type": "DO_WHILE",
"startDelay": 0,
"optional": false,
"asyncComplete": false,
"loopCondition": "if ($.task_1__loop_databricks['iteration'] < 1) { true; } else { false; }",
"loopOver": [
{
"name": "default_sleep",
"taskReferenceName": "task_1__wait_databricks",
"inputParameters": {
"duration": "20 seconds",
"tenantId": "csit"
},
"type": "WAIT",
"startDelay": 0,
"optional": false,
"asyncComplete": false
}
]
},
{
"name": "default_sleep",
"taskReferenceName": "task_2__wait_databricks",
"inputParameters": {
"duration": "20 seconds",
"tenantId": "csit"
},
"type": "WAIT",
"startDelay": 0,
"optional": false,
"asyncComplete": false
}
],
"inputParameters": [],
"outputParameters": {},
"schemaVersion": 2,
"restartable": true,
"workflowStatusListenerEnabled": false,
"ownerEmail": "[email protected]",
"timeoutPolicy": "ALERT_ONLY",
"timeoutSeconds": 0,
"variables": {},
"inputTemplate": {}
}Task definition: System Event handler definition:
To Reproduce Steps to reproduce the behavior:
-> Execute the above workflow -> Wait for 20 seconds for the WAIT task completion
Expected behavior WAIT task outside the DO_WHILE was supposed to execute
Screenshots If applicable, add screenshots to help explain your problem.
Additional context Testing was sone after merging #3878
Source: Netflix/conductor