# Use dynamic SRG variables in workflows

**URL:** <https://community.dynatrace.com/t/use-dynamic-srg-variables-in-workflows/53240>\
**Category:** Automations\
**Tags:** variables, workflows, site-reliability-guardian, automations\
**Created:** [September 4, 2025, 1:53pm UTC](https://community.dynatrace.com/t/use-dynamic-srg-variables-in-workflows/53240 "2025-09-04T13:53:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![eranma](https://avatars.discourse-cdn.com/v4/letter/e/ea5d25/32.png) [@eranma](https://community.dynatrace.com/u/eranma)\
**Post date:** [September 4, 2025, 1:53pm UTC](https://community.dynatrace.com/t/use-dynamic-srg-variables-in-workflows/53240/1 "2025-09-04T13:53:47Z")

</div>

Hi,

I’m creating an SRG to evaluate several metrics for my services. I’m using 2 variables: Tag & env. in the workflow i created to trigger the SRG, i want to have those variables dynamic and they will get their values from the trigger. I’ve set the variable parameters in the SRG action definition (same name as in the SRG and grabs the values from the trigger payload) but it doesn’t populate the SRG with them and the SRG is always running with the default values I’ve set to those variables.

From SRG:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;From the Workflow

 ![eranma_0-1756993717277.png](https://global.discourse-cdn.com/dynatrace/original/1X/5d7445c93918d4f71060b3e68910dcc2121bf99d.png)

 ![eranma_1-1756993758525.png](https://global.discourse-cdn.com/dynatrace/original/2X/0/0d4a27e58ddbf5b4fd3b5ce13e36ec4de6b4e16c.png)

Anyone can let me know if I’m missing something or doing something wrong?

Thanks!

---

<div class="post-metadata">

**Author:** ![izabelarokita](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/izabelarokita/32/41812_2.png) [@izabelarokita](https://community.dynatrace.com/u/izabelarokita)\
**Post date:** [December 15, 2025, 10:45am UTC](https://community.dynatrace.com/t/use-dynamic-srg-variables-in-workflows/53240/2 "2025-12-15T10:45:15Z")

</div>

Hi&nbsp;[@eranma](https://community.dynatrace.com/user/64702)&nbsp;,

I just wanted to check in and see if you still need help with this. If so, I’d be happy to look into it for you! 😊  
Please let me know what works best for you.
