# Is it possible to store the tag path and tag value in a block transaction group?

**URL:** <https://forum.inductiveautomation.com/t/is-it-possible-to-store-the-tag-path-and-tag-value-in-a-block-transaction-group/69580>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [February 8, 2023, 3:15pm UTC](https://forum.inductiveautomation.com/t/is-it-possible-to-store-the-tag-path-and-tag-value-in-a-block-transaction-group/69580 "2023-02-08T15:15:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bmeyers](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bmeyers/32/37453_2.png) [@bmeyers](https://forum.inductiveautomation.com/u/bmeyers)\
**Post date:** [February 8, 2023, 3:15pm UTC](https://forum.inductiveautomation.com/t/is-it-possible-to-store-the-tag-path-and-tag-value-in-a-block-transaction-group/69580/1 "2023-02-08T15:15:15Z")

</div>

I have a database table with columns TagPathFromPLC, TagValueFromPLC, and TimestampIgn. Is it possible for a transaction group, such as a block transaction group, to store the tag path with the tag value? I have looked at the settings and it doesn't seem obvious to me how I would go about storing the tag name with the tag value?

Thanks for any help.

---

<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:** [February 8, 2023, 4:03pm UTC](https://forum.inductiveautomation.com/t/is-it-possible-to-store-the-tag-path-and-tag-value-in-a-block-transaction-group/69580/2 "2023-02-08T16:03:23Z")

</div>

There isn't any convenient way to do this. But you can create expression items with constant strings to insert.

{Though it sounds like you are trying to recreate the tag historian's "tall" tables. If you must, I recommend you script it. The script that reads the tag will naturally have the tagpath handy.}

---

<div class="post-metadata">

**Author:** ![bmeyers](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bmeyers/32/37453_2.png) [@bmeyers](https://forum.inductiveautomation.com/u/bmeyers)\
**Post date:** [February 8, 2023, 4:05pm UTC](https://forum.inductiveautomation.com/t/is-it-possible-to-store-the-tag-path-and-tag-value-in-a-block-transaction-group/69580/3 "2023-02-08T16:05:02Z")

</div>

Thanks, I started making some Gateway Timer Scripts that will run periodically and using a named query function as a block transaction group.
