Skip to content
Proud to collaborate with Microsoft for Startups

control.collection.pluck ​

Extract one field (dotted path) from every element into a flat list

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-control
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
itemsjsonYes——
fieldstringYes——
defaultjsonNo——
skip_missingbooleanNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
itemsjsonNo——
fieldstringNo——
defaultjsonNo——
skip_missingbooleanNo——
resultlistNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepstringNo——
failed_layerstringNo——
errorstringNo——
error_typestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—execute—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutecompleted—
* (any state)failfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "control.collection.pluck",
  "initial_data": {
    "items": "value",
    "field": "value"
  }
}