*Workflows › Reference › Actions › Orders*

# Look up lines by resource

> Lists the order lines assigned to one or more staff or fleet resources over a date range: a technician's or a vehicle's planner.

## At a glance

| Property | Value |
| --- | --- |
| Domain | `orders` |
| Group in the editor | Orders › Orders |
| Runs as | The owner of the workflow, with their permissions |
| Permission | View access to Orders. Administrators always pass; a module outside the plan blocks everyone. |
| Destructive | Not declared |

ACTION `orders.lineItems.findByResource`

## Inputs

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `resourceType` | enum<string> | Yes |  `staff`, `vehicle` |
| `resourceIds` | string[] | Yes | IDs of the resources to look up. |
| `startDate` | string | No |  |
| `endDate` | string | No |  |
| `status` | string[] | No | Statuses of the lines to include; with no filter, all. `draft`, `reserved`, `prepared`, `picked_up`, `sold`, `returned`, `checked_in`, `cancelled`, `lost` |

## Outputs

| Name | Type | Description |
| --- | --- | --- |
| `resourceResults` | json |  |
| `unavailabilityByResource` | json |  |

---

Canonical URL: https://docs.filmo.io/workflows/reference/actions/orders-lineitems-findbyresource  
Last updated: 2026-10-25