loop
I am looking for some help on a buildship workflow. I have a firebase query that returns a filtered array of documents form a collection called "users". I then try to pass that array to a loop and inside that loop I use the flutterflow push notification send a push notification to the user, using information from the firestore documents in the array passed to the loop.
My problem is that I am unable to select fields inside the documents in the array passed to the loop. For instance I want to pull in the data from the word_title field for the Title of the push notification and summary_word for the Message field of the notification. I am unable to access that data from the array. Could you help?
I have tried using variables but I am unable to drill down into the loop items to select the correct fields. I have also tried to use dot notation to select the correct fields, such as "Title: {{item.reminder_list[0].word_title}}" or "Message: {{item.data.reminder_list[0].summary_word}}", but to no avail.
I am successfully sending a push notification for each document in the array from the firebase query. I am unable though to access data from those documents to input in the Title, Message, User Reference, and Parameter fields.
Screen-share below.
Thanks
https://www.loom.com/share/811c236cb6e647289c6f24cd7800d209?sid=6eda6ad1-a882-498b-b851-cd7673397e35
My problem is that I am unable to select fields inside the documents in the array passed to the loop. For instance I want to pull in the data from the word_title field for the Title of the push notification and summary_word for the Message field of the notification. I am unable to access that data from the array. Could you help?
I have tried using variables but I am unable to drill down into the loop items to select the correct fields. I have also tried to use dot notation to select the correct fields, such as "Title: {{item.reminder_list[0].word_title}}" or "Message: {{item.data.reminder_list[0].summary_word}}", but to no avail.
I am successfully sending a push notification for each document in the array from the firebase query. I am unable though to access data from those documents to input in the Title, Message, User Reference, and Parameter fields.
Screen-share below.
Thanks
https://www.loom.com/share/811c236cb6e647289c6f24cd7800d209?sid=6eda6ad1-a882-498b-b851-cd7673397e35
