web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Problem removing an el...
Power Automate
Answered

Problem removing an element from an object

(0) ShareShare
ReportReport
Posted on by

I have Compose which gives me this result

[
 "Tour around the office & Administration introduction-Zachorowski, Wiktor(8:00;8:45)",
 "Break-(8:45;9:00)",
 "Break-(9:00;9:15)",
 "Transferring to one’s own team Workstation Instruction-Team’s Supervisor(14:45;15:50)"
]

I would like every time there is a 

Transferring to one's own team Workstation Instruction-Team's Supervisor 

Throw away this element completely so that, for example, only this remains

[
 "Tour around the office & Administration introduction-Zachorowski, Wiktor(8:00;8:45)",
 "Break-(8:45;9:00)",
 "Break-(9:00;9:15)"
]

I tried to do it using contains, but I have to paste the entire element with time, and the time will change sometimes it will be (14:45;15:50) and sometimes e.g. (10:00;11:50)

 

Someone knows how to do this ? Thanks ! 

Categories:
  • Verified answer
    Anchov Profile Picture
    1,986 on at

    Hi @Palucci12 ,

    Since your input is in the format of an array, you can accomplish this by using a filter:

    Anchov_0-1699626220962.png

    Here is the expression (shown in advanced mode)

    @not(startsWith(item(), 'Transferring to one’s own team Workstation Instruction-Team’s Supervisor'))

    Here is the output of the test run:

    Anchov_1-1699626374924.png


    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

    Cheers!
    Rick Hurt

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 430

#2
11manish Profile Picture

11manish 341 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 282

Last 30 days Overall leaderboard