cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Cyngael
Level: Power Up

Trying to Update a Trello Card when a Microsoft Task is added.

Hi, I'm trying to update a Trello Card when a Task is added.   I'm having trouble getting one of the conditions to work.  The basic flow is this:

Outlook Task is added

Delay 10 seconds

Initialize variable "TaskExists" to false

Get a Simple Version of the List Cards from Trello (i've also tried List the Cards in a Board)

Apply to Each body of the Trello Cards

the Condition checking if the Trello Card Name contains (also tried is qual to) the Outlook Subject

for true conditions

Set Variable to true

Check the Condition is TaskExists is True

if yes, the Apply to Each

Update Trello Card

 

It is failing to set anything to true, even though they are!

I'd appreciate any help.  I've included some screen shots.

 

Collapsed Flow:

F1.PNG

Expanded:

f2.PNGSuccessful Test Run:

f6.PNG

Task Added:  Subject is highlighted

f3.PNG

 

 

Cards Pulled.  A total of 23.  Last Card: Card Name is highlighted


f4.PNG

 

Apply to each failed on all.  Yes Condition never triggered.

f5.PNG

2 REPLIES 2
Community Support Team
Community Support Team

Re: Trying to Update a Trello Card when a Microsoft Task is added.

Hi @Cyngael,

 

First of all, whether you have checked all results of the Condition judgment in Apply_to_each is False.

I did a test on my side, directly copying the Card name and subject, and there is no problem you mentioned. In the last judgment of Apply_to_each, the result is true.

58.PNG

Besides, there are a lot of spaces in Card name and subject. If you manually enter the Subject or Card name, the number or position of the spaces may be inconsistent. You could consider using the trim() function to remove the space and judge.

trim(items('Apply_to_each')['name'])   contains trim(triggerBody()?['Subject'])

59.PNG

Please take a try.

 

Best Regards,

Barry

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Administrator
Administrator

Re: Trying to Update a Trello Card when a Microsoft Task is added.

Hello, @Cyngael!

Thank you for posting on the Flow Community Forum! Have you had an opportunity to apply @v-bacao-msft‘s recommendation to adapt your Flow? If yes, and you find that solution to be satisfactory, please go ahead and click “Accept as Solution” so that this thread will be marked for other users to easily identify!

Thank you for being an active member of the Flow Community!

-Gabriel
Flow Community Manager

-Gabriel
Microsoft Power Automate Community Manager
Are YOU a member of your local Power Automate User Group?
Fill out This Form to claim your Community User Group Member Badge!

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (5,807)