Sanity Library Reference Docs
    Preparing search index...
    Op: FieldOp | { activity: string; status: ActivityStatus; type: "status.set" }

    An action operation: a FieldOp or a status change on an activity in the current stage.

    For field.updateWhere and field.removeWhere, where evaluates each row as $row. Caller-fired actions also supply $params. Referenced document content is not loaded for row selection, and an unevaluable row never matches. An operation matching no rows still records opApplied history. where may read only $row, $params, $actor, $now, $self, $stage, $fields, $context, $effects, $effectStatus, $activities, $allActivitiesDone, and $anyActivityFailed; defineWorkflow and deploy validation reject any other variable, and reject $params in a cascade-fired action's where.