Skip to main content

Notifications

Community site session details

Community site session details

Session Id : t4OYYqjX7fL/wxnAZQgb+4
Power Automate - Building Flows
Unanswered

Create a azure devops work item on email but avoid duplicates

Like (0) ShareShare
ReportReport
Posted on 9 May 2023 02:03:45 by 11

I am trying to create a azure work item on email but wanted to avoid creating duplicate work items if a email arrives with same subject. 

 

I tried the below but the problem is for true it doenst do anything which is what i need but for "Get query results" give other items in the list which are makes the condition false creates more duplicates. Please help. Thanks in advance. 

 

hashik4d_0-1683597701658.png

 

  • hashik4d Profile Picture
    11 on 09 May 2023 at 19:42:50
    Re: Create a azure devops work item on email but avoid duplicates

    Hi @Expiscornovus,

     

    The solution works amazing. Thank you very much 🙂 

  • Expiscornovus Profile Picture
    31,641 Most Valuable Professional on 09 May 2023 at 07:53:21
    Re: Create a azure devops work item on email but avoid duplicates

    Hi @hashik4d,

     

    Try a Filter Array action instead of checking each individual item in a loop. This way you can check for all items at once.

     

    If that Filter Array action comes up empty you can safely create a new work item. You can use a length function in a condition for that check.

     

    Below is an example

     

    length(body('Filter_array'))

    is not equal to 0

     

    filterarray_approach_devops.png

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,645 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard
Loading started