Hey Creators!
It's learning time!
Requirement
Perform actions for multiple records in a single button-click using a form object.
Sample Use-case
In an employee management app, the HR needs to send a mail on a button-click to all employees regarding a mandatory training session.
Logic

Here, Emp is the form object that holds a collection of records from the Employee info form.
We'll pass this form object as an argument to this function. To iterate each record before triggering a mail, let's drag and drop for each task and add a send mail task.
rec.Employee_email dynamically sends the mail to all the employees stored in the Emp variable.
rec.Employee_Name fetches the respective employee names.
Save the function.
Choose the form object as the field name from the dropdown.
Now, save and click Done.
Click Create
The button is ready.


Now, it's your turn to create buttons to execute actions for multiple records in a single click.
That's all for now.
Feel free to share your suggestions, queries, or thoughts in the comment box below.
Thank you!