I believe I found a way to stop the behavior in my app. At least my tests are all working now.

Here is the setup that wasn’t working:

Workflow 1 is scheduled on frontend:
param2 (thing1)
param2 (thing2)

Workflow1 schedules Workflow 2.
param1 (thing1)
param2 (thing1’s things2[which = thing2])

Thing2 from param2 in workflow 2 had it’s field incorrectly hidden. This is the bug.

I solved this by just subbing thing1’s thing2, for just the thing2 that was being originally passed. Once I did this it worked.

So all of this is to say. It seems there is a bug whenever you want to use fields from a thing’s thing when chaining api workflows together.

2 Likes