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
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020

thirdimage

Flow Community User Group Member Badge

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

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 Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 198 members 4,728 guests
Please welcome our newest community members: