Actions13
Overview
This node integrates with the myLIMS system API to retrieve information related to laboratory works. Specifically, for the Work resource and the Works operation, it fetches a list of work records from the myLIMS system. This is useful in scenarios where users want to query multiple work entries, possibly filtered by certain criteria or limited in number.
Practical examples include:
- Retrieving the latest 10 work orders created in the lab.
- Filtering works by specific identification codes or statuses using API-supported filter syntax.
- Exporting batches of work data for reporting or further processing.
Properties
| Name | Meaning |
|---|---|
| Top | Maximum number of work records to return. Example: 10 |
| Filter | Query filter string to apply on the works list, following the API's filtering syntax. Example: (Identification eq 'PROPOSTA COMERCIAL ESPORÁDICA') |
Output
The node outputs an array of JSON objects representing the retrieved work records. Each object corresponds to a single work entry as returned by the myLIMS API. The exact structure depends on the API response but typically includes fields such as work identifiers, descriptions, statuses, dates, and other metadata relevant to laboratory works.
No binary data output is produced by this operation.
Dependencies
- Requires an active connection to the myLIMS API.
- Needs an API authentication token or key configured in the node credentials to authorize requests.
- The node uses HTTP GET requests to the myLIMS API endpoints corresponding to works.
Troubleshooting
- API Request failed: This error indicates that the request to the myLIMS API did not succeed. Common causes include invalid API credentials, network issues, or incorrect filter syntax.
- Verify that the API key or token is correctly set up in the node credentials.
- Check network connectivity to the myLIMS API endpoint.
- Ensure the filter string follows the API's expected syntax.
- Unsupported resource or operation: If the resource or operation parameters are incorrectly set, the node will throw an error. Confirm that "Work" is selected as the resource and "Works" as the operation.
- Empty results: If no works are returned, try adjusting the filter or increasing the "Top" value to ensure matching records exist.
Links and References
- myLIMS API Documentation (Replace with actual URL if available)
- n8n Documentation on Creating Custom Nodes