# Await for

**URL:** <https://community.dynatrace.com/t/await-for/48183>\
**Category:** Automations\
**Tags:** workflows\
**Created:** [October 7, 2024, 1:47pm UTC](https://community.dynatrace.com/t/await-for/48183 "2024-10-07T13:47:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![henk\_stobbe](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/henk_stobbe/32/30434_2.png) [@henk\_stobbe](https://community.dynatrace.com/u/henk_stobbe)\
**Post date:** [October 7, 2024, 1:47pm UTC](https://community.dynatrace.com/t/await-for/48183/1 "2024-10-07T13:47:01Z")

</div>

![henk_stobbe_2-1728308602544.png](https://global.discourse-cdn.com/dynatrace/original/2X/2/2ec05387a8d31903eadc47cc28e854ecf401b332.png)

Hello, I do a check&nbsp; before running get\_endpoint

{{ result(“get\_cloudprovider”).cloudprovider in [“azure”, “aws”, “test”] }}

The result is that I get a no match, but when I check after the workflow run the value is ok and available.

Is there a way to add an await in a task Condition? And would this solve the issue?

KR Henk

---

<div class="post-metadata">

**Author:** ![ChristopherHejl](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/christopherhejl/32/20735_2.png) [@ChristopherHejl](https://community.dynatrace.com/u/ChristopherHejl)\
**Post date:** [October 7, 2024, 1:55pm UTC](https://community.dynatrace.com/t/await-for/48183/2 "2024-10-07T13:55:49Z")

</div>

Logic looks good. there is no need for an await. the task just needs to have get\_cloudprovider task as it’s predecessor in the conditions.

My best guess would be that there is some mismatch in the value of variable name.

could you share the result of get\_cloudprovider in the execution as well as the condition mismatch screen.

---

<div class="post-metadata">

**Author:** ![henk\_stobbe](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/henk_stobbe/32/30434_2.png) [@henk\_stobbe](https://community.dynatrace.com/u/henk_stobbe)\
**Post date:** [October 7, 2024, 2:17pm UTC](https://community.dynatrace.com/t/await-for/48183/3 "2024-10-07T14:17:52Z")

</div>

Hello Christopher..

(As you explained to me before )-;

You are right, I used the wrong value, stupid me!

Thanks for you very fast support,

KR Henk
