# Automation Command not working on Account Screen?

**URL:** <https://forum.sambapos.com/t/automation-command-not-working-on-account-screen/3172>\
**Category:** V4 Question\
**Created:** [October 28, 2014, 2:21pm UTC](https://forum.sambapos.com/t/automation-command-not-working-on-account-screen/3172 "2014-10-28T14:21:15Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![anamsiddiqui1102](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/a/e36b37/32.png) [@anamsiddiqui1102](https://forum.sambapos.com/u/anamsiddiqui1102)\
**Post date:** [October 27, 2014, 7:14am UTC](https://forum.sambapos.com/t/automation-command-not-working-on-account-screen/3172/1 "2014-10-27T07:14:56Z")

</div>

Hi

My automation command button is not working on the Account Screen.  
It just appears on the screen. I guess I am missing something…  
Please suggest any solution.

---

<div class="post-metadata">

**Author:** ![QMcKay](https://forum.sambapos.com/user_avatar/forum.sambapos.com/qmckay/32/27925_2.png) [@QMcKay](https://forum.sambapos.com/u/QMcKay)\
**Post date:** [October 27, 2014, 2:21pm UTC](https://forum.sambapos.com/t/automation-command-not-working-on-account-screen/3172/2 "2014-10-27T14:21:08Z")

</div>

Ensure you have a Rule (with default mapping) to handle the Event for Automation Command Executed.

---

<div class="post-metadata">

**Author:** ![anamsiddiqui1102](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/a/e36b37/32.png) [@anamsiddiqui1102](https://forum.sambapos.com/u/anamsiddiqui1102)\
**Post date:** [October 28, 2014, 6:30am UTC](https://forum.sambapos.com/t/automation-command-not-working-on-account-screen/3172/3 "2014-10-28T06:30:40Z")

</div>

I have created a rule with default mapping.  
Same command button is working fine on the **Payment & Ticket Screen** but for **Account screen** its not working.  
For testing purpose I created a _ **ShowMessage** _ Automation Command button that displays a message on clicking the button.  
While creating the rule, I have selected **Automation Command Executed** Event and selected my **Show Message** Action.  
In Add Custom Constraint I have selected _ **ShowMessage** _ Automation Command Button.  
Please let me know if I am missing anything.  
Thanks.

---

<div class="post-metadata">

**Author:** ![Jesse](https://forum.sambapos.com/user_avatar/forum.sambapos.com/jesse/32/61493_2.png) [@Jesse](https://forum.sambapos.com/u/Jesse)\
**Post date:** [October 28, 2014, 6:38am UTC](https://forum.sambapos.com/t/automation-command-not-working-on-account-screen/3172/4 "2014-10-28T06:38:01Z")

</div>

> [@How to Create a Refund Item Button?](https://forum.sambapos.com/t/how-to-create-a-refund-item-button/128/21):
>
> Same command button is working fine on the Payment & Ticket Screen but for Account screen its not working.

What do you mean by Account screen? You should not be doing any refunds from within the Accounting…

---

<div class="post-metadata">

**Author:** ![anamsiddiqui1102](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/a/e36b37/32.png) [@anamsiddiqui1102](https://forum.sambapos.com/u/anamsiddiqui1102)\
**Post date:** [October 28, 2014, 7:00am UTC](https://forum.sambapos.com/t/automation-command-not-working-on-account-screen/3172/5 "2014-10-28T07:00:06Z")

</div>

I have not created any refund button on the Account Screen. For testing purpose I created a message button that will throw a message on clicking it.  
But currently its not working on the Account Screen, but its working fine from the Payment & Ticket screen.

---

<div class="post-metadata">

**Author:** ![Jesse](https://forum.sambapos.com/user_avatar/forum.sambapos.com/jesse/32/61493_2.png) [@Jesse](https://forum.sambapos.com/u/Jesse)\
**Post date:** [October 28, 2014, 1:47pm UTC](https://forum.sambapos.com/t/automation-command-not-working-on-account-screen/3172/6 "2014-10-28T13:47:25Z")

</div>

This is a tutorial for a refund button. I do not understand what your trying to do. Can you explain more so we can understand?

---

<div class="post-metadata">

**Author:** ![QMcKay](https://forum.sambapos.com/user_avatar/forum.sambapos.com/qmckay/32/27925_2.png) [@QMcKay](https://forum.sambapos.com/u/QMcKay)\
**Post date:** [October 28, 2014, 2:33pm UTC](https://forum.sambapos.com/t/automation-command-not-working-on-account-screen/3172/7 "2014-10-28T14:33:01Z")

</div>

@anamsiddiqui1102, check your settings. No reason an Automation Command should not be able to Show Message from Account Screen. If you cannot get it to work, post screenshots of your setup.

 ![](https://forum.sambapos.com/uploads/default/original/3X/2/0/20de8db97a5df29a97f7f3a5e263ed612fbeec81.png) 

![](https://forum.sambapos.com/uploads/default/original/3X/a/0/a006cd2d3f550ae85a541478bc21687c61e1f52d.png)

![](https://forum.sambapos.com/uploads/default/original/3X/3/1/3151ccb3ebf99c17a159b4b5c27f98c6a6ebd18a.png)

![](https://forum.sambapos.com/uploads/default/original/3X/b/2/b20958b9d9eb8559349d9bfe2bd2d874606b64c8.png)

 ![](https://forum.sambapos.com/uploads/default/original/3X/6/9/69b5fc71616427892ff18cc43280134583c24263.png)
