Populating Object Sets from Actions in Workshop

I have a Workshop app where I’m trying to achieve the following:

  1. Define a null object set variable.
  2. Set up an action that edits an object.
  3. Assign that edited object to the previously null object set and display it in a table.

Right now i’ve set up an Output Object Set to achieve this on my Action widget, however the object set continues to remain null. Can someone advice if my approach is incorrect?

Screenshot 2024-09-16 at 3.06.21 PM

Hi, the approach you described didn’t work because the Output Object Set will only include newly created objects from that action, not the ones that are edited.

To achieve the behavior you want, try adding a “Set variable value” event upon successful action submission. Assuming your action takes the object it edits as input, you can refer to that object variable and set it to the null object set variable you want to populate.

1 Like

Thank you for clarifying this, very helpful @yushi !

1 Like