# Expression, weird return

**URL:** <https://forum.inductiveautomation.com/t/expression-weird-return/94112>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [August 2, 2024, 12:39pm UTC](https://forum.inductiveautomation.com/t/expression-weird-return/94112 "2024-08-02T12:39:48Z")\
**Posts on this page:** 3\
**Page:** 2

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [August 2, 2024, 2:55pm UTC](https://forum.inductiveautomation.com/t/expression-weird-return/94112/21 "2024-08-02T14:55:53Z")

</div>

Well you never showed us the full error, so there's not much we can tell you about what happened

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [August 2, 2024, 2:55pm UTC](https://forum.inductiveautomation.com/t/expression-weird-return/94112/22 "2024-08-02T14:55:58Z")

</div>

That's a different number of `../` in those paths.

(You really need to learn to use the preformatted text button when pasting code/expressions/logs.)

---

<div class="post-metadata">

**Author:** ![Cory.grube](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cory.grube/32/20476_2.png) [@Cory.grube](https://forum.inductiveautomation.com/u/Cory.grube)\
**Post date:** [August 2, 2024, 3:04pm UTC](https://forum.inductiveautomation.com/t/expression-weird-return/94112/23 "2024-08-02T15:04:29Z")

</div>

On top of what others have said, you should really use absolute tag paths here unless these tags are all contained in a UDT. Relative tag paths, especially those so far removed, are a pain to troubleshoot/maintain.

e.g.

```python
{[default]Phase 1 Extrusion/SA_HTR_OV/UDT/18/PumpBlock_Pct_Out} <1.0 && {[default]Phase 1 Extrusion/SA18/Heater Monitoring/SA_18_PB_1_amps} <= 0.2

```

[Previous page](https://forum.inductiveautomation.com/t/expression-weird-return/94112.md?page=1)
