# Workflow for services

**URL:** <https://community.dynatrace.com/t/workflow-for-services/55880>\
**Category:** Automations\
**Tags:** workflows, services\
**Created:** [May 12, 2026, 11:35am UTC](https://community.dynatrace.com/t/workflow-for-services/55880 "2026-05-12T11:35:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Blues\_1](https://avatars.discourse-cdn.com/v4/letter/b/c2a13f/32.png) [@Blues\_1](https://community.dynatrace.com/u/Blues_1)\
**Post date:** [May 12, 2026, 11:35am UTC](https://community.dynatrace.com/t/workflow-for-services/55880/1 "2026-05-12T11:35:24Z")

</div>

Hi Team,

My requirement is to create a workflow for sending daily health checks. The health checks include 5 services from cyberark; CPU, Memory, & Disk Usage for 3 different hosts.

For the above conditions I have already created a dashboard (DQL) with the help of data explorer. Could someone clarify me why the DQL that shows output in the dashboard is not giving away the output in Workflows?

Also please help me with the DQL !

DQLs for your reference:

1) **Services Availability:**  
timeseries { `OS Service availability` = avg(dt.osservice.availability, scalar: true, filter: { (host.name == “Host1”) AND ((dt.osservice.name == “CyberArkPrivilegeCloudSecureTunnel”) OR (dt.osservice.name == “CyberArk Privileged Session Manager”) OR (dt.osservice.name == “CyberArkManagementAgent”) OR (dt.osservice.name == “CyberArk Central Policy Manager Scanner”) OR (dt.osservice.name == “CyberArk Password Manager”)) }), availability = avg(dt.osservice.availability, scalar: true, filter: { ((host.name == “Host2”) OR (host.name == “Host3”)) AND ((dt.osservice.name == “CyberArkPrivilegeCloudSecureTunnel”) OR (dt.osservice.name == “CyberArk Privileged Session Manager”) OR (dt.osservice.name == “CyberArkManagementAgent”)) }) }, by: { host.name, dt.osservice.name, dt.osservice.status }, union: true  
| sort host.name asc  
//| limit 20  
|fieldsrename Services = dt.osservice.name  
|fieldsrename Hosts = host.name  
|Fieldsrename Status = dt.osservice.status

2) **Site Availability:**  
timeseries series = avg(dt.synthetic.http.availability),  
by:{ dt.synthetic.monitored\_entity\_ids,  
dt.entity.http\_check,  
dt.entity.synthetic\_location  
}  
| fieldsAdd monitor\_name = entityName(dt.entity.http\_check)  
| filter contains(monitor\_name, “Cyberark”)  
| fieldsAdd availability = arrayAvg(series)

3) **CPU Usage:**  
timeseries {cpu\_usage = avg(dt.host.cpu.usage)},  
by: { dt.entity.host },  
filter: in(dt.entity.host, classicEntitySelector(“type(host),entityName.in(\“Host1\”,\“Host2\”,\“Host3\”)”)  
),  
nonempty: true  
| fieldsAdd host\_name = entityName(dt.entity.host)  
| fieldsAdd cpu\_avg = arrayAvg(cpu\_usage)  
| sort host\_name asc  
| fieldsRename Host = host\_name  
| fieldsrename Cpu.usage = cpu\_usage  
| fieldsrename Cpu.avg = cpu\_avg

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [May 12, 2026, 12:28pm UTC](https://community.dynatrace.com/t/workflow-for-services/55880/2 "2026-05-12T12:28:30Z")

</div>

Hi,

Looks like a use case for [Site Reliability Guardian](https://docs.dynatrace.com/docs/shortlink/srg-landing).

Best regards

---

<div class="post-metadata">

**Author:** ![Blues\_1](https://avatars.discourse-cdn.com/v4/letter/b/c2a13f/32.png) [@Blues\_1](https://community.dynatrace.com/u/Blues_1)\
**Post date:** [May 12, 2026, 1:30pm UTC](https://community.dynatrace.com/t/workflow-for-services/55880/3 "2026-05-12T13:30:25Z")

</div>

Simple workflow isnt enough? Or does this adds up any cost ?
