cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Sharepoint (List) and Power Automate

Guys, some help.

 

I need to create a new task in a given scheduler bucket. But the condition is...
if in plan "X" there is already a bucket with the name "STEP 1", only one task must be created in the bucket.
If there is still no bucket named "STEP 1", you must create the bucket named "STEP 1" and then create a task in the bucket.

 

My problem is in performing this check if the Bucket created already exists.

Can anyone help me?

1 REPLY 1
Rhiassuring
Super User
Super User

Hi, 


You can use the action called "List Buckets" and then filter the array on the name of the bucket you're looking for. After, use a Condition to check the Length of the Filtered Array - if greater than or equal to 1, you've found the bucket. If you haven't, then you need to create the bucket.

 

Does that help?

 

Cheers,

 

Rhia

______________________________________________________________


Did this answer your question? Please mark it as the solution.
Did it contribute positively towards finding the final solution? Please give it a thumbs up.

I answer questions on the forum for 2-3 hours every Thursday!



Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

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