# Auto Clicked Button

**URL:** <https://forum.inductiveautomation.com/t/auto-clicked-button/33473>\
**Category:** Ignition\
**Created:** [March 27, 2020, 6:07am UTC](https://forum.inductiveautomation.com/t/auto-clicked-button/33473 "2020-03-27T06:07:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vincent.canda](https://avatars.discourse-cdn.com/v4/letter/v/7993a0/32.png) [@vincent.canda](https://forum.inductiveautomation.com/u/vincent.canda)\
**Post date:** [March 27, 2020, 6:07am UTC](https://forum.inductiveautomation.com/t/auto-clicked-button/33473/1 "2020-03-27T06:07:58Z")

</div>

Dear Maam/Sir,

Is there a way to automatic clicked buttons when the tag value is true?  
I have a scenario if the tag value is true, the button will auto clicked so that data will insert into the database. Thank you.

Please see attached:

Sample

 ![auto%20clicked%20button](https://us1.discourse-cdn.com/inductiveautomation/original/2X/6/658a07e9b43b496c3a5922b4dd00f56bf262d77a.jpeg)

---

<div class="post-metadata">

**Author:** ![vincent.canda](https://avatars.discourse-cdn.com/v4/letter/v/7993a0/32.png) [@vincent.canda](https://forum.inductiveautomation.com/u/vincent.canda)\
**Post date:** [March 27, 2020, 6:19am UTC](https://forum.inductiveautomation.com/t/auto-clicked-button/33473/2 "2020-03-27T06:19:52Z")

</div>

Or other way, that if the trigger value is “true” automatically insert data into the database (PLC ID, Item Code, Item Description, Actual Weight, Farm source and Classification)

---

<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:** [March 27, 2020, 10:49am UTC](https://forum.inductiveautomation.com/t/auto-clicked-button/33473/3 "2020-03-27T10:49:28Z")

</div>

That is exactly what transaction groups are for. Part of the SQL Bridge module. Or you can script it with a tag change event.

---

<div class="post-metadata">

**Author:** ![vincent.canda](https://avatars.discourse-cdn.com/v4/letter/v/7993a0/32.png) [@vincent.canda](https://forum.inductiveautomation.com/u/vincent.canda)\
**Post date:** [March 31, 2020, 1:11am UTC](https://forum.inductiveautomation.com/t/auto-clicked-button/33473/4 "2020-03-31T01:11:14Z")

</div>

Thanks for the info sir.
