1. Tasks
  2. Get Stubs

Tasks

Get Stubs

Task to retrieve multiple matching Stubs' data

Basic Usage

Task to find all stubs with "VIP" in the subject.

loading...

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

loading...

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.