on 2023 Oct 31 5:57 AM
Hello All,
I want to delete multiple records from my on-device data source by a button click but I'm unable to achieve it. I've tired the looping logic as well as the creating a trigger event in Global canvas and using it in component tap. But nothing is working as it should be.
Is there any way to acheive this.
Best Regards,
Sudarshan Pattanayak
Request clarification before answering.
I would delete them without having to retrieve them each time. Basically the same way but using the data variable to manage the loop.
The if condition is (or you can reverse things and remove the NOT):
NOT(IS_EMPTY(data.Test1))
The delete record selects the record with a formula:
data.Test1[0].id
And the set variable record collection is:
REMOVE_ITEMS_AT(data.Test1, 0)
I can't really debug what you have without seeing the configuration.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
70 | |
21 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.