This repository has been archived by the owner on Dec 13, 2023. It is now read-only.
Failed Workflow not available in the UI #3277
Unanswered
kathir0301
asked this question in
Q&A
Replies: 1 comment 5 replies
-
I used the workflow definition above and was able to view the parent and failure workflow in the UI. Could you check if you have an archival process that cleans up workflows in terminal state that may be cleaning up the parent workflow? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When the workflows are failed , its triggering the failure workflow but the parent workflow is not available in the UI due to which not able to track the parent workflow . Its happening when the following parameters are included in the workflow
"failureWorkflow": "exception-flow",
"workflowStatusListenerEnabled": true,
Below is the workflow definition for reference ,
{
"name": "terminate-test",
"description": "Test Terminate Workflow",
"version": 1,
"tasks": [
{
"name": "set_workflow_id",
"taskReferenceName": "set_workflowId",
"inputParameters": {
"workflowId": "${workflow.workflowId}"
},
"type": "SET_VARIABLE",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
},
{
"name": "terminate",
"taskReferenceName": "terminate0",
"inputParameters": {
"terminationStatus": "FAILED",
"workflowOutput": {
"output": "This is a workflow output"
},
"terminationReason": "Custom terminationReason Reason"
},
"type": "TERMINATE",
"decisionCases": {},
"defaultCase": [],
"forkTasks": [],
"startDelay": 0,
"joinOn": [],
"optional": false,
"defaultExclusiveJoinTask": [],
"asyncComplete": false,
"loopOver": []
}
],
"inputParameters": [
"company_id",
"document_id",
"transaction_id",
"batch_id"
],
"outputParameters": {},
"failureWorkflow": "exception-flow",
"workflowStatusListenerEnabled": true,
"schemaVersion": 2,
"restartable": true,
"ownerEmail": "test@conductor.com",
"timeoutPolicy": "ALERT_ONLY",
"timeoutSeconds": 0,
"variables": {},
"inputTemplate": {}
}
When this workflow is triggered exception flow is available in the UI but the terminate-test is missing in the UI .
Please provide your thoughts if its bug or anything missing in the workflow .
Any help is appreciated .Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions