I've combined a few forum answers to create a flow that pulls the event selection from a form. Then, if the number of registrants for that specific event (a question on the form) is greater than or equal to 21, the form should send an email to the person who completed the form. If the number of registrants for the event is 20 or fewer, then the person should receive the calendar invite. I had the flow working before the registrant limitation. Meaning, people simply completed the form and received the corresponding invite based upon the event they selected. What am I missing or doing wrong in the compose and condition part of the flow?
Solved! Go to Solution.
Hi @ShaunLowy,
The way you using the answer to a question to determine if the attendee over the limiting registrants is not correct.
You should check the length of attendees array (number of attendees) if greater than or equals to 20.
Attendees for the event separated by semicolons, so we could use split() function convert attendees string to an array, then use the length() function to get number of array.
length(split(outputs('Compose'),';'))
Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @ShaunLowy,
The way you using the answer to a question to determine if the attendee over the limiting registrants is not correct.
You should check the length of attendees array (number of attendees) if greater than or equals to 20.
Attendees for the event separated by semicolons, so we could use split() function convert attendees string to an array, then use the length() function to get number of array.
length(split(outputs('Compose'),';'))
Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!
User | Count |
---|---|
85 | |
60 | |
51 | |
42 | |
38 |
User | Count |
---|---|
89 | |
80 | |
74 | |
62 | |
44 |