I have a simple table with drawers on each row and the setup is that the row model is based on “ProcessInstanceWorkItem” and I have filtered it to show only those related to cases and some other filters to make them relevant, but the main thing to note is that the row and drawer are not related objects, it’s related via a polymorphic field like the relation tasks make with almost any object.
What I want to do is when I click on the drawer (or it can load the rows up on page load, the amount of rows will be small) I want it to take the Case ID from the row and update the drawer filter (model in drawer is “Cases”) so all the fields displayed show data for the relevant case.
I tried to accomplish this by adding a condition on the drawer as shown in image:
That didn’t work, when I click the drawer nothing happens and it never loads the drawer/fields.
I also tried an action on page load to update the condition based on another model field and that worked for the first row but then all the rest of the drawers on row 2+ had the same case value from row 1.
I am brand new to Skuid so this may be very easy or maybe not but I’m hoping to get some ideas as this is the main blocker before I can do some really cool stuff with this app I’m building. I’m trying to fix Salesforce approvals and give my users much more information than just the related object’s name and date approval was requested.
Skuid Info:
We are on Boston
This app is built on v2
I have admin rights in SFDC
I know SFDC pretty well, but Skuid is new to me, to build. Been using it for years.