Context:
I have a repeating group (RG) in my app that displays products, but only one cell is shown at a time. When a user views the product in the current cell, I want the app to automatically navigate to the next cell containing a product that the user hasn’t seen yet.
What I Tried:
I thought of using a “Do when condition is true” workflow. The idea is to check a field in the database that indicates whether the user has already viewed the current cell’s product (e.g., a viewed field set to “yes”). If the condition is met, the workflow should trigger an action to show the next cell in the RG.
The Issue:
However, I’m having trouble accessing the data type of the current cell to check its viewed status. When trying to set up the condition, all I get is a general reference like “Portfolio’s list of products: each item’s…”, rather than directly referencing the current cell’s product.
Question:
Is there a way to directly check if the current cell’s product is already viewed and then automatically show the next unviewed product in the RG?
I now created a loop with a index that counts the products and now loops through the showbox with the easy loop plugin somehow solved it but now my workflow is up
if anyone got asolution for this whiche requires only one workflow i would be pretty thankful
One trick is to put a reusable element inside the cell instead. Then when you edit the reusable element that allows for the When condition is true event and gives you options specific to the reusable element’s Thing.
Thank you for your reply! Unfortunately, I couldn’t achieve the result you described. I grouped the elements from the cell and created a reusable element using that group. However, when I placed this reusable element into the repeating group’s cell, the condition related to the current cell still didn’t appear.