# Path\_taken not getting defined

**URL:** <https://discuss.rapid7.com/t/path-taken-not-getting-defined/1509>\
**Category:** Workflows\
**Tags:** workflow-building\
**Created:** [July 24, 2020, 4:53pm UTC](https://discuss.rapid7.com/t/path-taken-not-getting-defined/1509 "2020-07-24T16:53:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![brandon\_mcclure](https://discuss.rapid7.com/user_avatar/discuss.rapid7.com/brandon_mcclure/32/182_2.png) [@brandon\_mcclure](https://discuss.rapid7.com/u/brandon_mcclure)\
**Post date:** [July 24, 2020, 4:53pm UTC](https://discuss.rapid7.com/t/path-taken-not-getting-defined/1509/1 "2020-07-24T16:53:47Z")

</div>

When you make a Decision step afterwards you see the option to use path\_taken as a variable  
`{{["Decision Step"].[path_taken]}}`  
But when you try to use this it always comes up as undefined.  
It would be nice if this was the path that was taken and would save the workaround of using a join and defining it there

---

<div class="post-metadata">

**Author:** ![tyler\_terenzoni](https://discuss.rapid7.com/letter_avatar_proxy/v4/letter/t/ecc23a/32.png) [@tyler\_terenzoni](https://discuss.rapid7.com/u/tyler_terenzoni)\
**Post date:** [July 27, 2020, 6:21pm UTC](https://discuss.rapid7.com/t/path-taken-not-getting-defined/1509/2 "2020-07-27T18:21:54Z")

</div>

Hi @brandon_mcclure,

Thanks for the report. This actually looks like a defect. I will log a ticket and have this looked at.

Thanks,  
Tyler

---

<div class="post-metadata">

**Author:** ![tyler\_terenzoni](https://discuss.rapid7.com/letter_avatar_proxy/v4/letter/t/ecc23a/32.png) [@tyler\_terenzoni](https://discuss.rapid7.com/u/tyler_terenzoni)\
**Post date:** [August 18, 2020, 6:52pm UTC](https://discuss.rapid7.com/t/path-taken-not-getting-defined/1509/3 "2020-08-18T18:52:57Z")

</div>

@brandon_mcclure there should be a fix for this out now. The variable has been renamed to `path` and should be working now. Let us know if you have any issues!

---

<div class="post-metadata">

**Author:** ![brandon\_mcclure](https://discuss.rapid7.com/user_avatar/discuss.rapid7.com/brandon_mcclure/32/182_2.png) [@brandon\_mcclure](https://discuss.rapid7.com/u/brandon_mcclure)\
**Post date:** [August 18, 2020, 6:57pm UTC](https://discuss.rapid7.com/t/path-taken-not-getting-defined/1509/4 "2020-08-18T18:57:21Z")

</div>

Just confirmed this is working, Thanks!
