# Button to change entity state

**URL:** <https://forum.sambapos.com/t/button-to-change-entity-state/1416>\
**Category:** V4 Question\
**Created:** [May 31, 2014, 10:36am UTC](https://forum.sambapos.com/t/button-to-change-entity-state/1416 "2014-05-31T10:36:36Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![emre](https://forum.sambapos.com/user_avatar/forum.sambapos.com/emre/32/39073_2.png) [@emre](https://forum.sambapos.com/u/emre)\
**Post date:** [August 20, 2014, 1:58pm UTC](https://forum.sambapos.com/t/button-to-change-entity-state/1416/11 "2014-08-20T13:58:42Z")

</div>

You can include `Update Ticket Tag` action in Table Occupied Rule to update Person Count. If you set tag parameter as [?Person Count] (? means ask here) operator can enter person count. You can see some samples here…

> [@\[New 4.1.7\] Asking Action Parameter Values](http://forum.sambapos.com/t/new-4-1-7-asking-action-parameter-values/149):
>
> By using [?ParameterName] notation you can ask action parameter values. This action displays a Message Box when we click on an automation command. Since we supplied Message Parameter Value as [?Message] SambaPOS would ask a value for Message parameter before executing action. That window should appear when we execute the action. We should type a value for Message parameter and rule will execute with typed value. Clicking “Cancel” will abort whole rule execution so it can…

---

_[View the full topic](https://forum.sambapos.com/t/button-to-change-entity-state/1416)._
