Tasks
Get Stubs
Retrieves multiple matching stubs. Useful for reporting, bulk workflows, dashboards, and cross-process data aggregation.
Basic Usage
Task to find all stubs with "VIP" in the subject.
Parameters
fieldname required string
The name of the field to save the result data to: VIP_stubs
query required string
A MongoDB-formatted query string used to find all matching stubs.
projection optional string
A MongoDB-formatted projection string used to specify which stub fields to return.
Default: {'stubref':1,'subject':1}
Result
Properties
fieldname
The name of the field created: VIP_stubs
stubs
An array of stub data objects retrieved for all matching stubs. The projection parameter determines which fields are included in the results.