cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
MotionMan
Level: Powered On

Update first empty column from an array of columns? Expression help

Hello everyone,
 
My problem is -
 
I have a list in SharePoint which is technically a "Course" list, and a row basically makes a course that a trainer is hosting.
I want people to be able to sign up to and be loaded into that Row, within columns "Attendee 1", "Attendee 2", "Attendee 3".
 
I have separate methods for retrieving my attendees, including an approval flow etc. (They're a Get Items value) .
 
I've tried my basic approach of If attendee 1 = Empty then update item... If not - - If attendee 2 = empty then update item... However i quickly ran into a wall which tells me I simply can't use update item more than 5 times.
 
I'm wondering if there's an expression I could use which would achieve the same outcome? So it would basically say check columns (Attendee 1... 12), find the first one that's empty and update that item, if none of them are empty then... (whatever I choose to do).
 
Am I mad, is this achievable?
 
Many Thanks in advance for your thoughts.
1 REPLY 1
Community Support Team
Community Support Team

Re: Update first empty column from an array of columns? Expression help

Hi @MotionMan,

 

Could you tell me what is the purpose of checking if these fields are empty?

And I am afraid that I don't understand why you have to check if it is empty one by one.

I try to use Expression according to your ideas, it seems that can't do what you want.

Maybe try to start with the fundamental needs, use other methods to achieve your needs.

Please provide another more details about your requirements.

 

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.

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
Users Online
Currently online: 194 members 4,915 guests
Please welcome our newest community members: