Hello Gliders, I have been using GlideApps for a while. Throughout the last 2 years, GlideApps has launches some phenomenal updates, one of which allowed for the deletions of multiple rows of a related item.
For instance, if i had two tables, one parent table containing the sales order details: (timestamp, order id, delivery location etc) and a child table, with the sales order items, essentially the product details (product name, quantity, price etc), I can perform the deletion of all the related glide rows in the sales order items (child table) even if I delete the parent sales order row. This is because Glide introduced looping deletions for related rows.
I was wondering, if Glide has something similar planned for row updates or additions?
A simple example would be as such: Let’s say Glide is being used to build a simple inventory tracker app, there is a slight complexity though.
All the products are made of sub parts. For example, a mobile phone (product 1) is made up of a screen (product a) and a metal body (product b). So when I need to increment the inventory value of the finished good, (mobile phone), the looping action would help me reduce the inventory of the sub-parts and also increase the inventory of finished good.
Now an easy shortcut would be to just set conditions for the number of sub parts. Example: if sub part count = 2 then run two actions and so on.
This is a manual and unreliable method because new products may have more raw materials and old product raw materials may change.
A looping feature would ensure that no matter how many raw materials, the loop would perform the increment or decrement action.
I hope you guys can see eye to eye on why a conditonal looping in the Glide Action Editor will be a paramount feature.