cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

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
Highlighted
Community Support
Community Support

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.
Highlighted
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
Community Manager
Microsoft Power Automate | Power Virtual Agents
Are YOU a member of a Power Platform User Group?
Fill out This Form to claim your Community User Group Member Badge!

Helpful resources

Announcements
secondImage

August 2020 CYST Winners!

Check out the winners of the recent 'Can You Solve These?' community challenge!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

thirdimage

Power Automate Community User Group Member Badge

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

Top Solution Authors
Top Kudoed Authors
Users online (3,879)