# Expression Syntax Error

**URL:** <https://forum.inductiveautomation.com/t/expression-syntax-error/11176>\
**Category:** Ignition\
**Created:** [February 8, 2016, 5:03pm UTC](https://forum.inductiveautomation.com/t/expression-syntax-error/11176 "2016-02-08T17:03:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jreynolds](https://avatars.discourse-cdn.com/v4/letter/j/58956e/32.png) [@jreynolds](https://forum.inductiveautomation.com/u/jreynolds)\
**Post date:** [February 8, 2016, 5:03pm UTC](https://forum.inductiveautomation.com/t/expression-syntax-error/11176/1 "2016-02-08T17:03:53Z")

</div>

Looking for some help creating this expresion in an SFC chart.

This is what I have, but doesn’t seem to work and I don’t get any errors.

```auto
{chart.tagPath}+ "plc_ValidateTrigger" = true
```

“{chart.tagPath}” is a chart parameter.

---

<div class="post-metadata">

**Author:** ![nmudge](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nmudge/32/3394_2.png) [@nmudge](https://forum.inductiveautomation.com/u/nmudge)\
**Post date:** [February 8, 2016, 6:41pm UTC](https://forum.inductiveautomation.com/t/expression-syntax-error/11176/2 "2016-02-08T18:41:49Z")

</div>

Hello,

You are comparing a string to the value true, which will return false. A string does not equal the value true, so false is returned.

What are you trying to do?

Are you trying to return the value of the tag? If that is the case then do it like this:

```auto
tag({chart.tagPath}+ "plc_ValidateTrigger") = true
```

Or like this:

```auto
tag({chart.tagPath}+ "plc_ValidateTrigger")
```

---

<div class="post-metadata">

**Author:** ![jreynolds](https://avatars.discourse-cdn.com/v4/letter/j/58956e/32.png) [@jreynolds](https://forum.inductiveautomation.com/u/jreynolds)\
**Post date:** [February 8, 2016, 6:48pm UTC](https://forum.inductiveautomation.com/t/expression-syntax-error/11176/3 "2016-02-08T18:48:30Z")

</div>

Thanks! that worked. Yes I was wanting the value of the tag.
