Ryan AR
BuildShip2y ago
21 replies
Ryan A

Get path/ref from field value?!?

I am trying to update a firestore document based on a path from a reference field in another table and getting errors.

e.g. Table1 has a ref field 'parent' ("parent/12314123123231") - I want to pass that into the [Firestore Update Document] node to update the associated document (path) in Table2 ("parent/12314123123231").

Tried variations like this (with + without the "ref" element)... but getting errors?!? ...see attached.

Any ideas?
Screenshot_2024-07-10_at_09.38.26.png
Screenshot_2024-07-10_at_09.38.40.png
Screenshot_2024-07-10_at_09.39.28.png
Solution
@Ryan A, can you give this workflow a try. As a temporary workaround I added a utility node at the top of your workflow for extracting document references from the Rowy row. However, I'm not too sure what you're trying to update in the "Update Document" node, so that may still be off.
Was this page helpful?