When a record is deleted while offline, how can I filter it out of subsequent Get Record flow elements? Our most common use case for deleting records is removing Product Consumed records via the Products tab interface on Work Orders. If we run a flow that queries for Product Consumed records, the removed lines are returned as well.
We have a flow called from a Field Service Mobile App Extension scoped to the WorkOrder object. In this flow, there is a Get Records element querying ProductsConsumed where WorkOrderId==WorkOrder.Id. Primarily, we'll be removing ProductsConsumed records offline that were also added offline, all via the Products tab in the Field Service Mobile app's WorkOrder screen.
How do we prevent this?