Actions199
- Collections Actions
- Forms Actions
- Actions Capabilities Actions
- Activities Actions
- Attachments Actions
- Budgets Actions
- Categories Actions
- Custom Actions Actions
- Custom Options Actions
- Documents Actions
- File Links Actions
- View File Link
- Delete File Link
- Open File Link
- Download File Link
- List Project Storages
- Get Project Storage
- Open Project Storage
- Create Storage
- Get Storage
- Update Storage
- Delete Storage
- Get Storage Files
- Prepare Storage File Upload
- Create Storage Folder
- Create Storage Oauth Credentials
- Open Storage
- Create Work Package File Link
- List Work Package File Links
- Grids Actions
- Groups Actions
- Help Texts Actions
- Memberships Actions
- Query Filter Instance Schema Actions
- News Actions
- Notifications Actions
- O Auth 2 Actions
- Posts Actions
- Principals Actions
- Priorities Actions
- Query Columns Actions
- Query Filters Actions
- Query Operators Actions
- Query Sort Bys Actions
- Relations Actions
- Previewing Actions
- Revisions Actions
- Roles Actions
- Time Entries Actions
- Time Entry Activities Actions
- Types Actions
- User Preferences Actions
- Wiki Pages Actions
- Work Schedule Actions
- Meetings Actions
- Values Property Actions
- Projects Actions
- Queries Actions
- Users Actions
- Statuses Actions
- Versions Actions
- Work Packages Actions
- Get Project Work Package Collection
- Create Project Work Package
- List Work Package File Links
- Form Create Work Package In Project
- Project Available Assignees
- List Work Packages
- Create Work Package
- Form Create Work Package
- List Work Package Schemas
- View Work Package Schema
- Delete Work Package
- View Work Package
- Update Work Package
- List Work Package Activities
- Comment Work Package
- Work Package Available Assignees
- Available Projects For Work Package
- List Available Relation Candidates
- Available Watchers
- Create Work Package File Link
- Form Edit Work Package
- Revisions
- Reminders
- List Watchers
- Add Watcher
- Remove Watcher
- Views Actions
Overview
The "Work Schedule - List Days" operation retrieves a list of days from the work schedule, optionally filtered by specific criteria. This node is useful for workflows that need to analyze or process calendar days within a project management context, such as identifying working days, non-working days, or days within a particular date range.
Practical examples include:
- Generating reports on working vs. non-working days in a given period.
- Automating task scheduling based on available working days.
- Filtering days to trigger actions only on weekends or holidays.
Properties
| Name | Meaning |
|---|---|
| Filters | A JSON string specifying filter conditions to narrow down the days returned. Supported filters include: • date: An inclusive date interval to scope the days (e.g., between two dates). • working: Boolean filter to return only working days ( true), only non-working days (false), or both if unspecified. Example: { "date": { "operator": "<>d", "values": ["2022-05-02","2022-05-26"] } } |
Output
The output contains a JSON array of day objects matching the specified filters. Each object represents a day in the work schedule and includes details such as the date and whether it is a working day or not.
If the node supports binary data output, it would typically represent attachments or related files, but this node focuses on JSON data representing days.
Dependencies
- Requires an API key credential for authenticating with the OpenProject API.
- The node depends on the OpenProject API endpoint for queries related to work schedules.
- Proper configuration of the base URL and authentication credentials in n8n is necessary.
Troubleshooting
- Invalid Filter JSON: If the
filtersproperty contains malformed JSON, the node will fail to parse it. Ensure the JSON syntax is correct. - Unsupported Filter Fields: Using unsupported filter keys may result in empty responses or errors. Use only supported filters like
dateandworking. - Authentication Errors: Missing or invalid API credentials will cause authentication failures. Verify that the API key and base URL are correctly configured.
- Date Format Issues: Dates must be in ISO format (
YYYY-MM-DD). Incorrect formats may lead to unexpected results or errors. - Empty Results: If no days match the filters, the output will be an empty array. Adjust filters accordingly.
Links and References
- OpenProject API Queries Documentation
- OpenProject Work Package Schedules (for general context)