GitHub user enajain24 edited a discussion: To fetch workflow name with workflow
id for successful completion of workflows
Hello,
Could you please assist me with how can I get the workflow name from the log
event which states that the workflow is successfully completed. Please refer
sample log information below:
2026-01-21T11:01:10.033200936Z [WI-3774550][TI-null] - [INFO] 2026-01-21
11:01:10.033 +0000 o.a.d.s.m.e.WorkflowStateEventHandler:[43] - Handle workflow
instance state event, the current workflow instance state
WorkflowExecutionStatus{code=7, desc='success'} will be changed to
WorkflowExecutionStatus{code=7, desc='success'}
2026-01-21T11:01:10.036582780Z [WI-37550][TI-null] - [INFO] 2026-01-21
11:01:10.036 +0000 o.a.d.s.m.r.WorkflowExecuteRunnable:[723] -
2026-01-21T11:01:10.036618030Z
********************************************************************************
2026-01-21T11:01:10.036621550Z Workflow Instance Detail
2026-01-21T11:01:10.036623215Z
********************************************************************************
2026-01-21T11:01:10.036625201Z Workflow Name: OQ1426-status
2026-01-21T11:01:10.036627704Z Workflow Instance Name:
OQ1426-status-16-20260121110058952
2026-01-21T11:01:10.036629484Z Command Type: START_PROCESS
2026-01-21T11:01:10.036631256Z State: success
2026-01-21T11:01:10.036634867Z Host:
prod3-dolphin-ent-master-0.prod3-dolphin-ent-master-headless:5678
2026-01-21T11:01:10.036637123Z Is Sub Process: no
2026-01-21T11:01:10.036638813Z Run Times: 1
2026-01-21T11:01:10.036640413Z Max Try Times: 0
2026-01-21T11:01:10.036642063Z Schedule Time: null
2026-01-21T11:01:10.036644073Z Dry Run: 0
2026-01-21T11:01:10.036645599Z Tenant: default
2026-01-21T11:01:10.036658153Z Restart Time: Wed Jan 21 11:00:58
UTC 2026
2026-01-21T11:01:10.036659917Z Work Group: default
2026-01-21T11:01:10.036661402Z Start Time: Wed Jan 21 11:00:58
UTC 2026
2026-01-21T11:01:10.036663240Z End Time: Wed Jan 21 11:01:10
UTC 2026
2026-01-21T11:01:10.036664709Z
2026-01-21T11:01:10.036706711Z [WI-37550][TI-0] - [INFO] 2026-01-21
11:01:10.036 +0000 o.a.d.s.m.r.WorkflowExecuteThreadPool:[121] - Workflow
instance is finished.
In the datadog dashboards, I am trying to fetch successful workflows via log
event "Workflow instance is finished.". However, this event does not contain
workflow name.
Is there any way to obtain the workflow name with workflow instance id in this
same, single log event.
Many Thanks in advance!
GitHub link: https://github.com/apache/dolphinscheduler/discussions/17916
----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to:
[email protected]