# Debug Evaluation Error on Transaction Group

**URL:** <https://forum.inductiveautomation.com/t/debug-evaluation-error-on-transaction-group/35886>\
**Category:** Ignition\
**Created:** [June 22, 2020, 7:12pm UTC](https://forum.inductiveautomation.com/t/debug-evaluation-error-on-transaction-group/35886 "2020-06-22T19:12:16Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![kaushik.shah](https://avatars.discourse-cdn.com/v4/letter/k/34f0e0/32.png) [@kaushik.shah](https://forum.inductiveautomation.com/u/kaushik.shah)\
**Post date:** [June 22, 2020, 7:12pm UTC](https://forum.inductiveautomation.com/t/debug-evaluation-error-on-transaction-group/35886/1 "2020-06-22T19:12:16Z")

</div>

How to debug this ? Can’t see anything in Log or in events

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/7/278e1e297c21b04086392b3f66230fd958ee4a94.png)

Thanks !!!

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [June 22, 2020, 8:48pm UTC](https://forum.inductiveautomation.com/t/debug-evaluation-error-on-transaction-group/35886/2 "2020-06-22T20:48:28Z")

</div>

What’s the expression for the item?

---

<div class="post-metadata">

**Author:** ![kaushik.shah](https://avatars.discourse-cdn.com/v4/letter/k/34f0e0/32.png) [@kaushik.shah](https://forum.inductiveautomation.com/u/kaushik.shah)\
**Post date:** [June 22, 2020, 9:02pm UTC](https://forum.inductiveautomation.com/t/debug-evaluation-error-on-transaction-group/35886/3 "2020-06-22T21:02:44Z")

</div>

@JordanCClark, It’s a script call which looks something like this :

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/3/33625fa3e6d169ba7e2d56b20ac831ef6205cb5e.png)

The issue is, it works 90% of the time !

Thanks

---

<div class="post-metadata">

**Author:** ![kaushik.shah](https://avatars.discourse-cdn.com/v4/letter/k/34f0e0/32.png) [@kaushik.shah](https://forum.inductiveautomation.com/u/kaushik.shah)\
**Post date:** [June 22, 2020, 9:15pm UTC](https://forum.inductiveautomation.com/t/debug-evaluation-error-on-transaction-group/35886/4 "2020-06-22T21:15:21Z")

</div>

This is how I am calling -

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/6/2/62628158cb3668be7cca6e252dd3a96110729114.png)

And to be sure that I don’t pass null I have this on Expression Item :

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/7/b/7bb248b6b5282c7cc5338497dddc331f69519de7.png)

---

<div class="post-metadata">

**Author:** ![kaushik.shah](https://avatars.discourse-cdn.com/v4/letter/k/34f0e0/32.png) [@kaushik.shah](https://forum.inductiveautomation.com/u/kaushik.shah)\
**Post date:** [June 23, 2020, 1:22pm UTC](https://forum.inductiveautomation.com/t/debug-evaluation-error-on-transaction-group/35886/5 "2020-06-23T13:22:23Z")

</div>

🤔 🤔 🤔

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [June 23, 2020, 1:38pm UTC](https://forum.inductiveautomation.com/t/debug-evaluation-error-on-transaction-group/35886/6 "2020-06-23T13:38:08Z")

</div>

I’d try making the stringFormat expression its own item before the runScript item. See how the stringFormat is playing out.

---

<div class="post-metadata">

**Author:** ![kaushik.shah](https://avatars.discourse-cdn.com/v4/letter/k/34f0e0/32.png) [@kaushik.shah](https://forum.inductiveautomation.com/u/kaushik.shah)\
**Post date:** [June 23, 2020, 3:16pm UTC](https://forum.inductiveautomation.com/t/debug-evaluation-error-on-transaction-group/35886/7 "2020-06-23T15:16:57Z")

</div>

> [@JordanCClark](#):
>
> ssion its own item before the runScript item. See how the

As expected -

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/e/0e8fde420a673651eb0abdbc588baffa798c5911.png)

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [June 23, 2020, 3:49pm UTC](https://forum.inductiveautomation.com/t/debug-evaluation-error-on-transaction-group/35886/8 "2020-06-23T15:49:46Z")

</div>

This is not on one with an evaluation error. Also, be sure to move it above the runscript item so it runs first.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/b/0/b0beef8b822b02ebc354d5a9ad3324dc81a74828.png)

---

<div class="post-metadata">

**Author:** ![kaushik.shah](https://avatars.discourse-cdn.com/v4/letter/k/34f0e0/32.png) [@kaushik.shah](https://forum.inductiveautomation.com/u/kaushik.shah)\
**Post date:** [June 23, 2020, 5:04pm UTC](https://forum.inductiveautomation.com/t/debug-evaluation-error-on-transaction-group/35886/9 "2020-06-23T17:04:12Z")

</div>

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/b/8/b8bd58002dde5c926c649352982f72e840ed39d8.png)

hmm, that explains everything !!

I oweYouBeerCount = 1

Now, the question being, why I can’t see that in Events ?

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [June 23, 2020, 5:18pm UTC](https://forum.inductiveautomation.com/t/debug-evaluation-error-on-transaction-group/35886/10 "2020-06-23T17:18:42Z")

</div>

It would be more likely to end up in the log.
