# Script Task Variable update doesn't reflect in subsequent tasks (V 6.2.1)

**URL:** <https://forum.flowable.org/t/script-task-variable-update-doesnt-reflect-in-subsequent-tasks-v-6-2-1/5057>\
**Category:** Flowable Engine\
**Created:** [December 13, 2019, 2:25am UTC](https://forum.flowable.org/t/script-task-variable-update-doesnt-reflect-in-subsequent-tasks-v-6-2-1/5057 "2019-12-13T02:25:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tabrez](https://avatars.discourse-cdn.com/v4/letter/t/c89c15/32.png) [@Tabrez](https://forum.flowable.org/u/Tabrez)\
**Post date:** [December 13, 2019, 2:25am UTC](https://forum.flowable.org/t/script-task-variable-update-doesnt-reflect-in-subsequent-tasks-v-6-2-1/5057/1 "2019-12-13T02:25:36Z")

</div>

Hi,  
In our flow we are updating some variable in script task and using it further in Tasks. However the changes doesn’t reflect. Only if we add intermediate timer event (let say 30S) it works.

Thanks

---

<div class="post-metadata">

**Author:** ![filiphr](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/filiphr/32/315_2.png) [@filiphr](https://forum.flowable.org/u/filiphr)\
**Post date:** [December 13, 2019, 8:31am UTC](https://forum.flowable.org/t/script-task-variable-update-doesnt-reflect-in-subsequent-tasks-v-6-2-1/5057/2 "2019-12-13T08:31:59Z")

</div>

Hey @Tabrez,

Is the same problem occurring with 6.4.1 as well? Can you please share your XML so we can have a look at it?

Cheers,  
Filip

---

<div class="post-metadata">

**Author:** ![Tabrez](https://avatars.discourse-cdn.com/v4/letter/t/c89c15/32.png) [@Tabrez](https://forum.flowable.org/u/Tabrez)\
**Post date:** [December 13, 2019, 10:08am UTC](https://forum.flowable.org/t/script-task-variable-update-doesnt-reflect-in-subsequent-tasks-v-6-2-1/5057/3 "2019-12-13T10:08:20Z")

</div>

Hi @filiphr ,  
Thanks for your response , In the mean time I set all task to async ([Unable to get updated variable value at runtime](https://forum.flowable.org/t/unable-to-get-updated-variable-value-at-runtime/2429)) , Now it works as expected however getting user task is bit slower than before and all test cases taking longer.  
We yet to upgrade on 6.4.1

Thanks
