Hello, I want to grab the ‘selected cells value’ in one repeating group and write this value to a cell in another repeating group. To accomplish this, here’s what I did:
I set the data source of the first RG to “Search for Players”… a data type with two fields (First Name and Last Name).
In the source RG I inserted an icon. Clicking this icon triggers a workflow that sets a custom state (at the RG level) called 'Selected cell" (a number) and with a value set to ‘Current cell’s Index’.
I then attempted to set the data source of the destination RG to reference the ‘Selected cell’s’ value’. Here is my problem. While the State ‘Selected cell’ evaluates to a number, my expression evaluates to a Player???
On your custom state, change the type from number to Player and click the check mark to make it a list. Then in your workflow, change it from current cell’s index to adding the current cell’s player to the list.
On the destination RG, make the source the custom state list. If you only want one player to be selected at a time, just build additional workflows that remove the old value before adding the new.
Thanks, jDiaz, for your reply. So I’m not able to get it to work having made the changes you suggested. More importantly, I’m really curious to know why my original logic isn’t working. I followed exactly the example demonstrated by the instructor (Keith Crosley) in this video tutorial at minute mark 24:20.