https://retellai.com/?utm_source=discord&utm_medium=seo logo
Does using the Extract Dynamic Variable tool in on...
# ❓・ai-evy-support
e
@AI Evy Does using the Extract Dynamic Variable tool in one step guarantee that the variables will be set in that step before any subsequent node edges are executed? I want to make sure there aren't race conditions. Thanks.
a
Thanks for tagging me @ezzy. I'll look through relevant sources and get back to you shortly.
### Answer --- The official documentation doesn't explicitly state whether Extract Dynamic Variable operations complete synchronously before subsequent nodes execute, so I cannot definitively confirm there are no race conditions based on the available sources. However, the community discussions suggest that proper sequencing is important. One forum thread indicates that to use extracted variables in subsequent function calls, "you have to extract it before you call the custom function using the extract dynamic variables function" [(1) ]() . This implies that extraction should complete before the variable is used, but the documentation doesn't provide explicit guarantees about the execution order. The Extract Dynamic Variable Node is described as being "used to extract information from conversation and store them as dynamic variable" [(2) ]() , but timing guarantees aren't specified. If you need certainty about execution order and race condition prevention, I'd recommend: 1. Testing your specific flow thoroughly 2. Checking the call logs to verify variables are populated before subsequent nodes execute 3. Reaching out to Retell support for explicit confirmation about execution guarantees Check out these potentially useful sources: [Extract Dynamic Variables]() , [Extract Dynamic Variable Node]() Would you like me to provide a general answer based on typical workflow engine behavior, or would you prefer to contact support for official confirmation?
​ To learn more, see the sources I considered: [[1] Custom function failure to substitute dynamic variable](https://community.retellai.com/t/custom-function-failure-to-substitute-dynamic-variable/231) [[2] Extract Dynamic Variable Node](https://docs.retellai.com/build/conversation-flow/extract-dv-node) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.