Automations with Custom fields mixing up with other automations
Asked by Ryan Smith:

Hi There! We use Trello to track our new hire onboarding as we are constantly hiring many part-time employees. Our onboarding has a few stages, offer letter sent, compliance review, HR invites, and Onboarding complete.

I have setup automations for each stage based on a custom field drop-down called "Stage". for example, when a card's stage custom field is set to compliance, I have Trello auto-move that card to a list and tag the compliance member attached to that card.

We have automations like this for each stage

However what seems to be happening is 1 of 3 things:

1. It works correctly (woohoo)

2. The wrong automation will trigger (for example, the HR automation will trigger when placed into compliance stage)

Below are screenshots of the automations: Any ideas?

![Screenshot 2024-05-30 at 11.20.33?AM.png](/t5/image/serverpage/image-id/327019iC8FB9AD9C714B61C/image-size/large?v=v2&px=999 "Screenshot 2024-05-30 at 11.20.33?AM.png")

3. The automation will not trigger at all until you flip the stage back to (Stage A) and then back again to Stage B to trigger stage B's automation.


Answers:
author: Hannah Humbert - Simpla Workflows
body: Hey Ryan, correct me if I'm wrong, but I think the trigger should simply be "when the "Compliance Member" field is set..."  

You could also streamline this into one simple rule using variables:

```
when custom field "Member" is set in a card with custom field "Stage" set to "Compliance", move the card to the top of the list "Compliance", and post comment "@{customfieldvalue} compliance docs are ready"
```

<br />

So that way, you're not having to create a new rule every time a new member comes on board.  

It would look like this:  
![workflow.gif](https://community.atlassian.com/t5/image/serverpage/image-id/327081i17481D9C6970437E/image-dimensions/435x395?v=v2 "workflow.gif")

comments: author: Ryan Smith
body: Thanks Hannah! This seems to be working. Question though, there are times where I will set a card to the stage and the automation will not trigger until I change the stage to another one and then back again. Have you experienced this?


author: Ryan Smith
body: Also what app did you use to record your screen like that? :)


author: Ryan Smith
body: Hey [@Hannah Humbert - Simpla Workflows](/t5/user/viewprofilepage/user-id/2109993) , Trello is not auto tagging the individual like it did in your Gif (Hannah is the example in your gif). Perhaps I have it setup wrong? ![Screenshot 2024-06-03 at 3.17.44?PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/327632i6865F20712ED0987/image-size/large?v=v2&px=999 "Screenshot 2024-06-03 at 3.17.44?PM.png")


author: Hannah Humbert - Simpla Workflows
body: [@Ryan Smith](/t5/user/viewprofilepage/user-id/5509520) it looks like you've created a card button to trigger the automation? The {customfieldvalue} variable only works when the trigger contains something like "when custom field xx is set to yy".   

Did you try the rule that I posted in the comment above?   

I used LICEcap to create the GIF :)   

Also, I do Trello consulting, so if you want to jump on a screen share and get this all figured out, I'd be happy to offer a free 30 mins. Might be quicker/easier that way! [Here's my calendar.](https://calendar.app.google/KxXKdbTZzYTwQtV4A)


author: Hannah Humbert - Simpla Workflows
body: Hi [@Ryan Smith](/t5/user/viewprofilepage/user-id/5509520) ! Just checking to make sure you're all set now after our call? If so, please click the "Accept Answer" button ?