Butler command isn't working
Asked by Chip Morris:

I created this Butler command that I thought would work, but it isn't. I created two different Cards with different due dates, but nothing. You can see my two test cards towards the bottom of the Computer list.

Admittedly, I have more trouble creating Butler commands than I should. It seems so easy to create simple commands, but I struggle.

Any help is appreciated.

Thanks.

Chip![Screen Shot 2020-08-14 at 10.00.27 PM.png](/t5/image/serverpage/image-id/106810i49DB9EDC586A3671/image-size/large?v=v2&px=999 "Screen Shot 2020-08-14 at 10.00.27 PM.png")![Screen Shot 2020-08-14 at 10.01.53 PM.png](/t5/image/serverpage/image-id/106812iAFC7922D702B5F34/image-size/large?v=v2&px=999 "Screen Shot 2020-08-14 at 10.01.53 PM.png")


Answers:
author: Chip Morris
body: [@Iain Dooley](/t5/user/viewprofilepage/user-id/1416112) [@Vongsawat](/t5/user/viewprofilepage/user-id/3989989) -

I have been working with someone from Trello on the issue and here's the answer. I was using a Custom Field for my due date and that's why it didn't work. Once I changed it to the Due Date that Trello cards all have, it worked fine.

I'll also give props to my CSM, Manu, who set up a test card on my Board and checked in with me two days later to make sure that it worked.

Thanks to both of you for offering up your help. It is appreciated.

Chip

comments: author: Iain Dooley
body: [@Chip Morris](/t5/user/viewprofilepage/user-id/3930157) aha! I didn't pick up on that in the screenshots but I should have!


author: Iain Dooley
body: [@Chip Morris](/t5/user/viewprofilepage/user-id/3930157) hmmm normally this issue is due to people creating a card due in 1 minute, but you have an example that shows you're allowing 4 minutes that should be enough time for the trigger to take effect.

Have you looked in your command usage log? You might be out of commands, or you might be able to see that the commands either aren't executing OR that they're executing but there's some error being reported.

comments: author: Chip Morris
body: ![Screen Shot 2020-08-16 at 2.35.52 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/106847i83A78301FD76C8CE/image-size/large?v=v2&px=999 "Screen Shot 2020-08-16 at 2.35.52 PM.png")Here's the log. As far as running out of commands, I have a paid account which I thought got me an unlimited amount. Either way, in total, I bet I only have 20 max across all my boards.


author: Iain Dooley
body: [@Chip Morris](/t5/user/viewprofilepage/user-id/3930157) if you have enterprise you get unlimited command runs, but not unlimited operations:

<https://help.trello.com/article/1181-butler-features-and-quotas>

The commands you've shown are correct, so the only way to really debug this is through elimination. So for example, can you get anything to happen on a due date in any board? Can you say "The moment a care is due post comment 'due now'" or something similar? Try setting the due date like 10 minutes in the future, and see if you can get it to trigger at all.

If you can't, then that's a simple use case you should be able to create a Loom video for and send it directly to Trello support.

If you can, then you can start trying to build on that until you can see where it goes awry.


author: Vongsawat
body: Did you test this by setting a due date in the future and allowing time to pass naturally? As Due Date Rules are not retro-active, and so will not trigger off of a due date being set in the past. (there's a warning banner when you are choosing the Due Date rule's Trigger)  

I tested this but with "the moment it is due" trigger instead, setting a due date 5 minutes in the future, and everything worked properly. Its still possible that there's something wrong with that rule specifically, but its more likely you've tripped over the retro-active stuff, so thought I'd check first.

comments: author: Chip Morris
body: [@Vongsawat](/t5/user/viewprofilepage/user-id/3989989)

Yes, I did create the card with enough time in advance because I knew that it doesn't work retroactively.

I also created on to move "the moment it is due" and it didn't work. It's 12:55 and the card hasn't moved.

Any ideas?![Screen Shot 2020-08-15 at 12.53.43 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/106829iA40E1879888285CC/image-size/large?v=v2&px=999 "Screen Shot 2020-08-15 at 12.53.43 PM.png")![Screen Shot 2020-08-15 at 12.54.34 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/106830i19AC7E25A2E9DA8B/image-size/large?v=v2&px=999 "Screen Shot 2020-08-15 at 12.54.34 PM.png")![Screen Shot 2020-08-15 at 12.55.10 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/106831i1C66E69ACFC5EAD1/image-size/large?v=v2&px=999 "Screen Shot 2020-08-15 at 12.55.10 PM.png")


author: Vongsawat
body: :( hmm.. I've got nada sorry. Set up the rule exactly the same and it worked on my end..  

Alternatively, chuck the Due Date Rule entirely, and try out a Scheduled/Calendar Rule instead? It operates by checking all cards at a specific time instead, but that might still work for you?  

Every day at 5am, Move all cards due this week to the bottom of list "Due This Week"  

You can play around with the different dropdowns/filters for more/different options.  

Hopefully that's useful, as I'm stumped why the Due Date Rule doesn't work.