How to show workflow last execution status in dashboard?
I’m afraid the workflow status is only available through the workflow app.
You can try to play with code and variables.
As variable you can define a workflowId variable in the dashboard:
fetch dt.system.events
| filter event.type == "Automation Workflow"
| fields workflow.id
And as intial JS code you can start with something like this
export default async function () {
// Using $workflowId as a variable
const requestWorkflow = `/platform/automation/v1/executions?workflow=${$workflowId}`
const executions = await fetch(requestWorkflow);
const executions_results = await executions.json();
console.log(executions);
console.log(executions_results)
const res = executions_results.results;
return res;
}