Table render from selected row's RecordID on different table

  • 1
  • Question
  • Updated 4 years ago
  • Answered
I have a table above showing projects for different departments and/or team members and I would like to have a tabbed table below show the related stories for the project.  What filtering do I need to do to make this happen?  I've created a row action that passes the project ID to the story model, but it's not working like I would expect.  It's not showing any stories now down below.
Photo of Jacob Irving

Jacob Irving

  • 100 Points 100 badge 2x thumb

Posted 4 years ago

  • 1
Photo of Moshe Karmel

Moshe Karmel, Champion

  • 8,646 Points 5k badge 2x thumb
You have to update the data in the model after you pass in the Id. Try re-querying the model via an action.
Photo of Jacob Irving

Jacob Irving

  • 100 Points 100 badge 2x thumb
I have this action (Show Me . . . Stories) performing the two actions shown below.  I neglected to mention in my OP that this was being done.  Still not getting anything in the below table with this setup.


Photo of Moshe Karmel

Moshe Karmel, Champion

  • 8,646 Points 5k badge 2x thumb
What value are you passing in the "Activate and set value of model condition"? 
Photo of Jacob Irving

Jacob Irving

  • 100 Points 100 badge 2x thumb
Action type = Activate & Set value of Model
Model = Stories
Condition = --None--
Value = {{Id}}
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
I bet the Id field is not actually in your project model. 
Photo of Jacob Irving

Jacob Irving

  • 100 Points 100 badge 2x thumb
I've checked every field into the model.  I've enabled Squid access to my org.  Is there someone who can login and check this out for me?
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
It struck me like a ton of bricks.  You have not actually called a condition in your "Activate and Set condition" action.   Right now we don't know where we are passing the Id field.  No destination... 

Have you defined the condition on the Stories model?   Made it in 'Filterable default off" state?   This must be done before you can finish the action sequence.