@beehexa/hexasync-ai-toolkit 2611.8.3 → 2612.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/marketplace.json +2 -2
- package/.claude-plugin/plugin.json +2 -2
- package/.codex-plugin/plugin.json +3 -4
- package/.cursor-plugin/plugin.json +3 -4
- package/README.md +5 -74
- package/dist/cli.js +15 -2070
- package/gemini-extension.json +2 -11
- package/openclaw.extension.mjs +2 -3
- package/openclaw.plugin.json +2 -2
- package/package.json +3 -4
- package/plugin.json +3 -4
- package/skills/hexasync-connections/SKILL.md +11 -16
- package/skills/hexasync-connections/references/INDEX.md +20 -2
- package/skills/hexasync-connections/references/INSTALL.md +5 -48
- package/skills/hexasync-connections/references/connections.CONNECTIONS.api-recovery.md +1 -1
- package/skills/hexasync-connections/references/connections.CONNECTIONS.captured-call-and-authenticated-composition.md +2 -2
- package/skills/hexasync-connections/references/connections.CONNECTIONS.framework-understood-connection-option-catalogue.md +2 -2
- package/skills/hexasync-connections/references/connections.CONNECTIONS.how-a-step-finds-its-connection.md +2 -2
- package/skills/hexasync-connections/references/connections.CONNECTIONS.md +1 -1
- package/skills/hexasync-connections/references/connections.CONNECTIONS.one-connection-one-credential-scope.md +2 -2
- package/skills/hexasync-connections/references/connections.CONNECTIONS.related.md +5 -5
- package/skills/hexasync-connections/references/connections.CONNECTIONS.the-self-connector.md +1 -1
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.api_proxy.md +94 -0
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.expressions-and-tooling.md +35 -0
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.fail.md +48 -0
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +83 -0
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.grouped-readiness-flows.md +54 -0
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.md +16 -0
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +26 -0
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.records_form.file-import-path.md +208 -0
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.records_form.md +42 -0
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.records_form.records_form-change-set-path.md +208 -0
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.rejected-forms-non-copyable.md +23 -0
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.return.md +84 -0
- package/skills/hexasync-connections/references/frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md +92 -0
- package/skills/hexasync-error-handling/SKILL.md +9 -16
- package/skills/hexasync-error-handling/references/INDEX.md +1 -1
- package/skills/hexasync-error-handling/references/INSTALL.md +5 -48
- package/skills/hexasync-error-handling/references/routing.NEXT.md +10 -10
- package/skills/hexasync-error-handling/references/steps.EXCEPTION.md +5 -5
- package/skills/hexasync-error-handling/references/steps.Error.md +8 -8
- package/skills/hexasync-expressions/SKILL.md +10 -24
- package/skills/hexasync-expressions/references/INDEX.md +8 -3
- package/skills/hexasync-expressions/references/INSTALL.md +5 -48
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.arguments--computed-before-the-step-runs.md +1 -1
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.dialect-classification-and-silent-scriban-fallback.md +2 -2
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.exact-mutation-timeline.md +4 -4
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.executor-results-are-not-downstream-values.md +2 -2
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.graceful-failures-and-run-errors.md +1 -1
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.jsonata-call-site-scope-and-bindings.md +17 -17
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.jsonata-engine-pinned-version-and-restrictions.md +1 -1
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.jsonpath-expressions.md +2 -2
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.related.md +1 -1
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.runtime-scope.md +12 -12
- package/skills/hexasync-expressions/references/expressions.CONTEXT-AND-IO.scriban-default-and-host-custom-builtins.host-qualified-authoring-examples.md +2 -2
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.api_proxy.md +94 -0
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.expressions-and-tooling.md +11 -5
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.fail.md +48 -0
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +4 -4
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.grouped-readiness-flows.md +3 -3
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.md +6 -4
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +12 -2
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.records_form.file-import-path.md +208 -0
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.records_form.md +11 -200
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.records_form.records_form-change-set-path.md +208 -0
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.return.md +2 -2
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md +92 -0
- package/skills/hexasync-expressions/references/steps.JSONata.md +8 -8
- package/skills/hexasync-expressions/references/steps.Liquid.md +2 -2
- package/skills/hexasync-expressions/references/steps.Scriban.md +9 -9
- package/skills/hexasync-field-mapping/SKILL.md +13 -19
- package/skills/hexasync-field-mapping/references/INDEX.md +2 -2
- package/skills/hexasync-field-mapping/references/INSTALL.md +5 -48
- package/skills/hexasync-field-mapping/references/steps.SAVE_TASK_DATA.md +19 -19
- package/skills/hexasync-field-mapping/references/tables.TABLES.best-practices.md +1 -1
- package/skills/hexasync-field-mapping/references/tables.TABLES.fields.md +1 -1
- package/skills/hexasync-field-mapping/references/tables.TABLES.md +1 -1
- package/skills/hexasync-field-mapping/references/tables.TABLES.minimal-declaration-and-composed-usage.md +1 -1
- package/skills/hexasync-field-mapping/references/tables.TABLES.related.md +5 -5
- package/skills/hexasync-field-mapping/references/tables.TABLES.the-system-columns-are-not-declared-here.md +1 -1
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.puller-mapping-transformations.md +1 -1
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.related.md +6 -6
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.renamedependency--declared-but-unimplemented.md +1 -1
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.jsonata--compute-a-field-from-a-jsonata-expression.md +1 -1
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.query-argument-binding.md +2 -2
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.query_single--the-dsl-replacement-for-sql.md +4 -4
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.transformation-types.scriban--compute-a-field-from-a-scriban-expression.md +1 -1
- package/skills/hexasync-field-mapping/references/transformations.TRANSFORMATIONS.when-to-use.md +1 -1
- package/skills/hexasync-metrics-reports/SKILL.md +9 -16
- package/skills/hexasync-metrics-reports/references/INDEX.md +1 -1
- package/skills/hexasync-metrics-reports/references/INSTALL.md +5 -48
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.common-metadata-properties.md +1 -1
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.metric-configuration.md +1 -1
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.metric-kinds-reference.md +2 -2
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.related.md +4 -4
- package/skills/hexasync-metrics-reports/references/metrics.METRICS_REFERENCE.when-to-use.md +1 -1
- package/skills/hexasync-metrics-reports/references/reports.REPORTS.md +4 -4
- package/skills/hexasync-metrics-reports/references/steps.METRIC_QUERY.md +2 -2
- package/skills/hexasync-metrics-reports/references/steps.QUERY_METRICS.md +8 -8
- package/skills/hexasync-pullers/SKILL.md +11 -18
- package/skills/hexasync-pullers/references/INDEX.md +3 -3
- package/skills/hexasync-pullers/references/INSTALL.md +5 -48
- package/skills/hexasync-pullers/references/pullers.PULLERS.api-error-classification.md +3 -3
- package/skills/hexasync-pullers/references/pullers.PULLERS.entity-classification.md +1 -1
- package/skills/hexasync-pullers/references/pullers.PULLERS.entry-context-and-transitions.md +1 -1
- package/skills/hexasync-pullers/references/pullers.PULLERS.overview.md +2 -2
- package/skills/hexasync-pullers/references/pullers.PULLERS.page-termination-and-the-four-platform-guards.md +2 -2
- package/skills/hexasync-pullers/references/pullers.PULLERS.persistence-and-safe-full-pull-removal.md +2 -2
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-afterpullsteps.md +1 -1
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-beforepullsteps.md +1 -1
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-contracts.md +1 -1
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-onerrorsteps.md +2 -2
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-pullsteps.md +1 -1
- package/skills/hexasync-pullers/references/pullers.PULLERS.placement-steps.md +1 -1
- package/skills/hexasync-pullers/references/pullers.PULLERS.property-reference.md +6 -6
- package/skills/hexasync-pullers/references/pullers.PULLERS.puller-completeness-contract.md +6 -6
- package/skills/hexasync-pullers/references/pullers.PULLERS.related.md +7 -7
- package/skills/hexasync-pullers/references/pullers.PULLERS.the-resume-computation.md +2 -2
- package/skills/hexasync-pullers/references/pullers.PULLERS.the-webhook-vs-puller-division.md +1 -1
- package/skills/hexasync-pullers/references/pullers.PULLERS.two-puller-host-modes-not-two-workflow-constructs.md +2 -2
- package/skills/hexasync-pullers/references/pullers.PULLERS.watermark-trustworthiness.md +1 -1
- package/skills/hexasync-pullers/references/pullers.PULLERS.worked-example-new-kind-snapshot-pull.md +2 -2
- package/skills/hexasync-pullers/references/steps.PULLER.md +8 -8
- package/skills/hexasync-pushers/SKILL.md +20 -22
- package/skills/hexasync-pushers/references/INDEX.md +2 -2
- package/skills/hexasync-pushers/references/INSTALL.md +5 -48
- package/skills/hexasync-pushers/references/pushers.PUSHERS.association-transform-routing.md +1 -1
- package/skills/hexasync-pushers/references/pushers.PUSHERS.best-practices.md +3 -3
- package/skills/hexasync-pushers/references/pushers.PUSHERS.expression-roots-differ-from-a-puller.md +1 -1
- package/skills/hexasync-pushers/references/pushers.PUSHERS.fields.md +4 -4
- package/skills/hexasync-pushers/references/pushers.PUSHERS.four-step-phases.md +1 -1
- package/skills/hexasync-pushers/references/pushers.PUSHERS.indirect-pushers.md +2 -2
- package/skills/hexasync-pushers/references/pushers.PUSHERS.md +1 -1
- package/skills/hexasync-pushers/references/pushers.PUSHERS.minimal-configuration.md +2 -2
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-beforepushsteps.md +2 -2
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-contracts.md +3 -3
- package/skills/hexasync-pushers/references/pushers.PUSHERS.placement-finalsteps.md +2 -2
- package/skills/hexasync-pushers/references/pushers.PUSHERS.related.md +6 -6
- package/skills/hexasync-pushers/references/pushers.PUSHERS.resolution-ordering-locks-and-retries.md +4 -4
- package/skills/hexasync-pushers/references/pushers.PUSHERS.worked-example-direct-push-with-dependency.md +1 -1
- package/skills/hexasync-pushers/references/steps.PUSHER.md +8 -8
- package/skills/hexasync-pushers/references/steps.UPDATE_ITEM_STATUS.md +14 -14
- package/skills/hexasync-pushers/references/steps.UPDATE_ITEM_SYNC_PROCESS.md +48 -21
- package/skills/hexasync-query-dsl/SKILL.md +13 -17
- package/skills/hexasync-query-dsl/references/INDEX.md +2 -2
- package/skills/hexasync-query-dsl/references/INSTALL.md +5 -48
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.best-practice.md +1 -1
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-composition.md +2 -2
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-fields.md +1 -1
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-predicates.md +1 -1
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.filter-request-envelope.md +17 -9
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.filter-dsl-language-contract.md +3 -3
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operands.md +1 -1
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operands.query-arguments.md +3 -3
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operands.value-binding-and-casts.md +1 -1
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.between-takes-a-range-not-an-operand.md +1 -1
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.bitwise-predicates.md +4 -4
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.last_int_unit-needs-format-on-the-left.md +3 -3
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.membership-predicates.md +1 -1
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.null-predicates-are-unary.md +5 -5
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.regex-predicates-complete-scalar-postgresql-patterns.md +2 -2
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.text-matching-six-predicates-scalar-patterns-and-value-lists.md +2 -2
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.operators.verbatim-scalar-comparisons.md +2 -2
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.runtime-rules-and-authoring-shape.md +4 -4
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.builder-condition-tree.md +1 -1
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.grouping-precedence-and-exact-parentheses.md +2 -2
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.join-types.md +1 -1
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.the-shape.query-envelope.md +3 -3
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.troubleshooting-and-canonical-references.md +2 -2
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.when-to-use.md +1 -1
- package/skills/hexasync-query-dsl/references/query-dsl.QUERY-DSL.where-it-is-used.md +7 -7
- package/skills/hexasync-query-dsl/references/steps.QUERY_MANY.md +9 -9
- package/skills/hexasync-query-dsl/references/steps.QUERY_SINGLE.md +9 -9
- package/skills/hexasync-query-dsl/references/steps.SQL.md +12 -12
- package/skills/hexasync-query-dsl/references/steps.SQL_PROXY.md +9 -9
- package/skills/hexasync-startup-tasks-scheduling/SKILL.md +9 -16
- package/skills/hexasync-startup-tasks-scheduling/references/INDEX.md +3 -3
- package/skills/hexasync-startup-tasks-scheduling/references/INSTALL.md +5 -48
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.legacy-target-tasks.md +3 -3
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.metric-defaults.md +1 -1
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.related.md +5 -5
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.scheduler-metadata.md +6 -6
- package/skills/hexasync-startup-tasks-scheduling/references/startupTasks.STARTUP-TASKS.when-to-use.md +2 -2
- package/skills/hexasync-startup-tasks-scheduling/references/steps.ENQUEUER.md +9 -9
- package/skills/hexasync-steps-api-http/SKILL.md +19 -26
- package/skills/hexasync-steps-api-http/references/INDEX.md +9 -4
- package/skills/hexasync-steps-api-http/references/INSTALL.md +5 -48
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.api_proxy.md +94 -0
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.expressions-and-tooling.md +11 -5
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.fail.md +48 -0
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +4 -4
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.grouped-readiness-flows.md +3 -3
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.md +6 -4
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +12 -2
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.records_form.file-import-path.md +208 -0
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.records_form.md +11 -200
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.records_form.records_form-change-set-path.md +208 -0
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.return.md +2 -2
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md +92 -0
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.best-practices.md +1 -1
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.execution-order-and-shared-values.md +1 -1
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.md +1 -1
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.parsejson-boundary.md +2 -2
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.related.md +1 -1
- package/skills/hexasync-steps-api-http/references/responseFilters.RESPONSE-FILTERS.same-name-different-placement-grammars.md +4 -4
- package/skills/hexasync-steps-api-http/references/routing.NEXT.md +7 -7
- package/skills/hexasync-steps-api-http/references/steps.API.api-pagination.md +1 -1
- package/skills/hexasync-steps-api-http/references/steps.API.contract.md +2 -2
- package/skills/hexasync-steps-api-http/references/steps.API.failure-handling.md +2 -2
- package/skills/hexasync-steps-api-http/references/steps.API.fields.md +1 -1
- package/skills/hexasync-steps-api-http/references/steps.API.related.md +4 -4
- package/skills/hexasync-steps-api-http/references/steps.INDEX.md +90 -90
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE._history--the-per-step-occurrence-ring.md +1 -1
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.arguments-and-routing.md +2 -2
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.best-practices.md +1 -1
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.executor-selection-is-exact.md +6 -0
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.one-canonical-workflow-component.md +16 -16
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.recovery-bypasses-and-connector-restart.md +1 -1
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.related.md +1 -1
- package/skills/hexasync-steps-api-http/references/steps.STEP-ENVELOPE.shape.md +4 -4
- package/skills/hexasync-steps-control-data/SKILL.md +25 -31
- package/skills/hexasync-steps-control-data/references/INDEX.md +8 -3
- package/skills/hexasync-steps-control-data/references/INSTALL.md +5 -48
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.api_proxy.md +94 -0
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.expressions-and-tooling.md +11 -5
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.fail.md +48 -0
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +4 -4
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.grouped-readiness-flows.md +3 -3
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.md +6 -4
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +12 -2
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.records_form.file-import-path.md +208 -0
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.records_form.md +11 -200
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.records_form.records_form-change-set-path.md +208 -0
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.return.md +2 -2
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md +92 -0
- package/skills/hexasync-steps-control-data/references/steps.BASE64_TO_MIME_TYPE.md +3 -3
- package/skills/hexasync-steps-control-data/references/steps.Begin.md +3 -3
- package/skills/hexasync-steps-control-data/references/steps.CACHE.md +4 -4
- package/skills/hexasync-steps-control-data/references/steps.Composite.md +4 -4
- package/skills/hexasync-steps-control-data/references/steps.DIRECT_INDEX.md +12 -12
- package/skills/hexasync-steps-control-data/references/steps.DOWNLOAD_CSV.md +23 -23
- package/skills/hexasync-steps-control-data/references/steps.EXCEL_READER.md +7 -7
- package/skills/hexasync-steps-control-data/references/steps.End.md +4 -4
- package/skills/hexasync-steps-control-data/references/steps.GET_KEY_VALUE.md +6 -6
- package/skills/hexasync-steps-control-data/references/steps.GraphQL.md +7 -7
- package/skills/hexasync-steps-control-data/references/steps.IF.md +12 -12
- package/skills/hexasync-steps-control-data/references/steps.IGNORE_ITEM.md +7 -7
- package/skills/hexasync-steps-control-data/references/steps.INDEX.md +48 -48
- package/skills/hexasync-steps-control-data/references/steps.INVALIDATE_CACHE.md +2 -2
- package/skills/hexasync-steps-control-data/references/steps.LOOKUP_STEP.md +8 -8
- package/skills/hexasync-steps-control-data/references/steps.OData.md +4 -4
- package/skills/hexasync-steps-control-data/references/steps.PUBLISH_EVENT.md +5 -5
- package/skills/hexasync-steps-control-data/references/steps.QueryDSL.md +3 -3
- package/skills/hexasync-steps-control-data/references/steps.REMOVE_DATA.md +7 -7
- package/skills/hexasync-steps-control-data/references/steps.RESET_ITEM.md +12 -12
- package/skills/hexasync-steps-control-data/references/steps.RESOLVE_RAW_DATA.md +11 -11
- package/skills/hexasync-steps-control-data/references/steps.Restful.md +6 -6
- package/skills/hexasync-steps-control-data/references/steps.SEED_DATA.md +10 -10
- package/skills/hexasync-steps-control-data/references/steps.SET_KEY_VALUE.md +7 -7
- package/skills/hexasync-steps-control-data/references/steps.SLEEP.md +8 -8
- package/skills/hexasync-steps-control-data/references/steps.SWITCH.md +12 -12
- package/skills/hexasync-steps-control-data/references/steps.TRACK_FOR_REMOVAL.md +12 -12
- package/skills/hexasync-steps-control-data/references/steps.UPDATE_TASK_DATA_STATUS.md +13 -13
- package/skills/hexasync-steps-control-data/references/steps.VALUES.md +12 -12
- package/skills/hexasync-steps-control-data/references/steps.VERIFY_CACHED.md +5 -5
- package/skills/hexasync-steps-control-data/references/steps.cURL.md +8 -8
- package/skills/hexasync-tables-tasks-objects/SKILL.md +11 -18
- package/skills/hexasync-tables-tasks-objects/references/INDEX.md +2 -2
- package/skills/hexasync-tables-tasks-objects/references/INSTALL.md +5 -48
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.fields.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.related.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/dependencies.DEPENDENCIES.using-resolved-prerequisite-data.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objectAssociations.OBJECT-ASSOCIATIONS.md +7 -7
- package/skills/hexasync-tables-tasks-objects/references/objects.object.best-practices-and-pitfalls.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.dataprocessing.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.dependencies.md +2 -2
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.description.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.enqueue.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.fromconnectionid.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.id.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.ignorechange.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.ignoreremoval.md +2 -2
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.integrationtype.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.isdirtyremovable.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.metricgroups.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.metrics.md +2 -2
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.name.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.newtablename.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.oldtablename.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.priority.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.puller.md +4 -4
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.pusher.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.queuer.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.toconnectionid.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.type.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.valuetablename.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.viewname.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.fields.visible.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.minimal-declaration.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/objects.object.related.md +2 -2
- package/skills/hexasync-tables-tasks-objects/references/steps.SAVE_TASK_DATA.md +16 -16
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.best-practices.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.fields.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/tables.TABLES.related.md +3 -3
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.fields.md +5 -5
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.related.md +6 -6
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.status-and-row-clocks.md +1 -1
- package/skills/hexasync-tables-tasks-objects/references/tasks.TASKS-AND-TABLES.system-column-contract.md +1 -1
- package/skills/hexasync-templates/SKILL.md +16 -30
- package/skills/hexasync-templates/references/AI-INDEX.md +36 -35
- package/skills/hexasync-templates/references/INDEX.md +9 -4
- package/skills/hexasync-templates/references/INSTALL.md +5 -48
- package/skills/hexasync-templates/references/KB-INDEX.md +98 -98
- package/skills/hexasync-templates/references/PROFILE-ROOT.composed-and-render-only-metadata.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.md +1 -2
- package/skills/hexasync-templates/references/PROFILE-ROOT.minimal-worker-facing-profile.md +2 -2
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-references.md +10 -10
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.connectors.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.dependencies.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.api--gateway_api.md +14 -3
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.api_proxy.md +69 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.fail.md +76 -0
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.md +4 -2
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.records_form.md +7 -3
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.frontend-steps-creationsteps-setupsteps-authorizationsteps.step-envelope-fields.md +4 -4
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.getreadyflows.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.legacy-roots--do-not-author.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.metricgroups.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.objectassociations.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.objects.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.pullers.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.pushers.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.reports.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.startuptasks.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.tables.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.transformations.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.validations.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.profile-root-fields-1.webhooks.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.recommendation-selection.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.reference-composition-across-run-and-render-scope.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.rejected-reference-forms-and-safe-correction.md +1 -1
- package/skills/hexasync-templates/references/PROFILE-ROOT.related.md +1 -1
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.api_proxy.md +94 -0
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.expressions-and-tooling.md +11 -5
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.fail.md +48 -0
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.frontend-step-fields.md +4 -4
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.grouped-readiness-flows.md +3 -3
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.md +6 -4
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.preview-and-source-navigation.md +12 -2
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.records_form.file-import-path.md +208 -0
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.records_form.md +11 -200
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.records_form.records_form-change-set-path.md +208 -0
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.return.md +2 -2
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.task-and-reference-data-changes.md +92 -0
- package/skills/hexasync-transformations/SKILL.md +9 -16
- package/skills/hexasync-transformations/references/INDEX.md +2 -2
- package/skills/hexasync-transformations/references/INSTALL.md +5 -48
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.explicit-mapping-for-push.md +1 -1
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.puller-mapping-transformations.md +1 -1
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.related.md +6 -6
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.renamedependency--declared-but-unimplemented.md +1 -1
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.jsonata--compute-a-field-from-a-jsonata-expression.md +1 -1
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.query-argument-binding.md +2 -2
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.query_single--the-dsl-replacement-for-sql.md +4 -4
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.transformation-types.scriban--compute-a-field-from-a-scriban-expression.md +1 -1
- package/skills/hexasync-transformations/references/transformations.TRANSFORMATIONS.when-to-use.md +1 -1
- package/skills/hexasync-validations/SKILL.md +9 -16
- package/skills/hexasync-validations/references/INDEX.md +1 -1
- package/skills/hexasync-validations/references/INSTALL.md +5 -48
- package/skills/hexasync-validations/references/steps.CHECK_FORMAT.md +6 -6
- package/skills/hexasync-validations/references/validations.VALIDATIONS.fields.md +1 -1
- package/skills/hexasync-validations/references/validations.VALIDATIONS.how-validations-behave.md +2 -2
- package/skills/hexasync-validations/references/validations.VALIDATIONS.md +1 -1
- package/skills/hexasync-validations/references/validations.VALIDATIONS.not-the-query-dsl.md +1 -1
- package/skills/hexasync-webhooks/SKILL.md +12 -19
- package/skills/hexasync-webhooks/references/INDEX.md +2 -2
- package/skills/hexasync-webhooks/references/INSTALL.md +5 -48
- package/skills/hexasync-webhooks/references/steps.FORWARD.md +7 -7
- package/skills/hexasync-webhooks/references/steps.WEBHOOK_FORWARD.md +10 -10
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.best-practices.md +2 -2
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.gateway-mcp-webhook-workflow.md +1 -1
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.md +2 -2
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.placement-finalsteps.md +1 -1
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.placement-pullsteps.md +6 -6
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.related.md +6 -6
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.autoenqueue.md +2 -2
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.dataparser.md +3 -3
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.options.md +1 -1
- package/skills/hexasync-webhooks/references/webhooks.WEBHOOKS.target-properties.pullsteps.md +1 -1
- package/.cursor-plugin/mcp.json +0 -12
- package/.mcp.json +0 -11
- package/skills/hexasync-expressions/references/frontend.FRONTEND-FLOWS.publish_event.md +0 -42
- package/skills/hexasync-steps-api-http/references/frontend.FRONTEND-FLOWS.publish_event.md +0 -42
- package/skills/hexasync-steps-control-data/references/frontend.FRONTEND-FLOWS.publish_event.md +0 -42
- package/skills/hexasync-templates/references/PROFILE-ROOT.getreadyflows-1.md +0 -33
- package/skills/hexasync-templates/references/frontend.FRONTEND-FLOWS.publish_event.md +0 -42
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
## Contract
|
|
6
6
|
|
|
7
|
-
`IF` evaluates its **whole payload** as a route, using the same grammar as step-level
|
|
7
|
+
`IF` evaluates its **whole payload** as a route, using the same grammar as step-level `next` (search the standards MCP), and jumps to the selected step. It returns `_outputs.<KEY> = {next, executions}`. The selected route **replaces** the step's own declared `next`, even when the selection is empty (which ends the flow). Place it in any executed workflow step list wherever the flow must branch.
|
|
8
8
|
|
|
9
9
|
### Syntax
|
|
10
10
|
|
|
@@ -28,8 +28,8 @@ steps:
|
|
|
28
28
|
- Use for a two-way decision (true/false) evaluated at runtime.
|
|
29
29
|
- Use when the decision must be visible as its own step in the flow and its trace (`executions`) is useful for diagnostics.
|
|
30
30
|
- Do not use for more than two outcomes — use [SWITCH](steps.SWITCH.md#contract).
|
|
31
|
-
- Do not use when an ordinary step can branch through its own conditional
|
|
32
|
-
- Do not use to stop with an error — route to
|
|
31
|
+
- Do not use when an ordinary step can branch through its own conditional `next` (search the standards MCP); a dedicated IF step only adds a hop.
|
|
32
|
+
- Do not use to stop with an error — route to EXCEPTION (search the standards MCP).
|
|
33
33
|
|
|
34
34
|
### Sensible configuration
|
|
35
35
|
|
|
@@ -55,13 +55,13 @@ steps:
|
|
|
55
55
|
|
|
56
56
|
## Fields and behavior
|
|
57
57
|
|
|
58
|
-
Shared envelope fields (`key`, `rootStep`, `onError`, `provider` vs `displayType`, `arguments` forms) are described in the
|
|
58
|
+
Shared envelope fields (`key`, `rootStep`, `onError`, `provider` vs `displayType`, `arguments` forms) are described in the step envelope (search the standards MCP). IF reads them as usual; the IF-specific parts are below.
|
|
59
59
|
|
|
60
60
|
### `data`
|
|
61
61
|
|
|
62
62
|
`data: <string | {if, then, else, description} | null>` — required unless legacy `input` is used; no default.
|
|
63
63
|
|
|
64
|
-
The whole value is one route node in the
|
|
64
|
+
The whole value is one route node in the `next` grammar (search the standards MCP). It is evaluated after `arguments` are resolved and before this step has outputs, so read earlier results through `_outputs.<key>` and this step's arguments through `__this.arguments`.
|
|
65
65
|
|
|
66
66
|
**Conditional object** — the normal form. `if` is rendered as a template, trimmed and compared case-insensitively with `true`; only that result selects `then`, anything else (`false`, `yes`, `1`, empty) selects `else`. `then`/`else` are step keys, nested conditions or `null`. `description` is an optional label with no effect on routing.
|
|
67
67
|
|
|
@@ -113,7 +113,7 @@ Syntax: `if: <string>`
|
|
|
113
113
|
|
|
114
114
|
`if: <condition template>` — required in the conditional-object form; no default.
|
|
115
115
|
|
|
116
|
-
Rendered as a Scriban template against the current context, trimmed and compared case-insensitively with `true`: `true`, `True` and `" TRUE "` select `then`; every other result — `false`, `yes`, `1`, empty — selects `else` (
|
|
116
|
+
Rendered as a Scriban template against the current context, trimmed and compared case-insensitively with `true`: `true`, `True` and `" TRUE "` select `then`; every other result — `false`, `yes`, `1`, empty — selects `else` (routing grammar (search the standards MCP)). Write a comparison that renders a literal `true`/`false`.
|
|
117
117
|
|
|
118
118
|
```yaml
|
|
119
119
|
steps:
|
|
@@ -253,7 +253,7 @@ Downstream steps rarely need these; they are mainly for inspecting why a branch
|
|
|
253
253
|
| Selected key does not exist in the same list (exact case) | Flow fails with `Branch next target '<key>' names no existing step.` | Use an existing step key. |
|
|
254
254
|
| Payload is an array or boolean (e.g. `data: true`) | Fails with `Next step data is invalid: ...` | Use a string, conditional object or null. |
|
|
255
255
|
| Condition renders `yes`, `1`, `false` etc. | No error; `else` is taken | Make the condition render `true`/`false` (case and surrounding spaces are ignored). |
|
|
256
|
-
| Template rendering error | Step fails; declared `next` is not used as fallback | Fix the template, or handle with
|
|
256
|
+
| Template rendering error | Step fails; declared `next` is not used as fallback | Fix the template, or handle with `onError` (search the standards MCP). |
|
|
257
257
|
|
|
258
258
|
### Rejected form (non-copyable)
|
|
259
259
|
|
|
@@ -272,13 +272,13 @@ steps:
|
|
|
272
272
|
- **Prepare inputs in `arguments`** and keep the `if` template short; it is easier to read and the trace shows the resolved value.
|
|
273
273
|
- **Don't rely on step-level `next`** after IF; it is always overridden.
|
|
274
274
|
- **Prefer SWITCH for multi-way choices** instead of chaining IF steps, which multiplies hops and traces.
|
|
275
|
-
- **Branch on a computed verdict, not on each error class.** For response failures, classify once in a JSONata/Scriban step and use a single IF to the success path or one `Error` (
|
|
275
|
+
- **Branch on a computed verdict, not on each error class.** For response failures, classify once in a JSONata/Scriban step and use a single IF to the success path or one `Error` (Classify once, raise once (search the standards MCP)); a chain of IF + Error per status is an anti-pattern.
|
|
276
276
|
|
|
277
277
|
## Related
|
|
278
278
|
|
|
279
|
-
-
|
|
280
|
-
-
|
|
279
|
+
- Routing grammar (search the standards MCP)
|
|
280
|
+
- Conditional object form (search the standards MCP)
|
|
281
281
|
- [SWITCH](steps.SWITCH.md#contract)
|
|
282
|
-
-
|
|
283
|
-
-
|
|
282
|
+
- Step envelope (search the standards MCP)
|
|
283
|
+
- Runtime scope (search the standards MCP)
|
|
284
284
|
- [Step catalog](steps.INDEX.md)
|
|
@@ -52,7 +52,7 @@ steps:
|
|
|
52
52
|
|
|
53
53
|
## Fields
|
|
54
54
|
|
|
55
|
-
Shared envelope fields (`key`, `rootStep`, `next`, `onError`, `arguments`, `data` vs legacy `input`) are described in the
|
|
55
|
+
Shared envelope fields (`key`, `rootStep`, `next`, `onError`, `arguments`, `data` vs legacy `input`) are described in the step envelope (search the standards MCP). `logOutput` and `gracefulException` have no effect on this step.
|
|
56
56
|
|
|
57
57
|
### `data.objectId`
|
|
58
58
|
|
|
@@ -129,7 +129,7 @@ Example effect: an item with `__status: 1` (Changed) becomes `__status: 5` (Chan
|
|
|
129
129
|
|
|
130
130
|
## Failure behavior
|
|
131
131
|
|
|
132
|
-
All failures stop the step (no graceful handling); use
|
|
132
|
+
All failures stop the step (no graceful handling); use `onError` (search the standards MCP) to route them.
|
|
133
133
|
|
|
134
134
|
| Cause | Effect | Fix |
|
|
135
135
|
| --- | --- | --- |
|
|
@@ -162,9 +162,9 @@ steps:
|
|
|
162
162
|
## Related
|
|
163
163
|
|
|
164
164
|
- [RESET_ITEM](steps.RESET_ITEM.md#contract) — undo an ignore.
|
|
165
|
-
-
|
|
166
|
-
-
|
|
167
|
-
-
|
|
168
|
-
-
|
|
169
|
-
-
|
|
165
|
+
- QUERY_MANY (search the standards MCP) — find stored item IDs.
|
|
166
|
+
- JSONata (search the standards MCP)
|
|
167
|
+
- Tasks and tables (search the standards MCP)
|
|
168
|
+
- Step envelope (search the standards MCP)
|
|
169
|
+
- Runtime scope (search the standards MCP)
|
|
170
170
|
- [Step catalog](steps.INDEX.md)
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
> Addressable through MCP as **`hexasync://docs/steps/INDEX`**.
|
|
4
4
|
|
|
5
|
-
A step is one entry in a Workflow step list. Every step shares the same envelope — `key`, `displayType`, `data`, `next`, `onError`, `arguments`, … — documented in the
|
|
5
|
+
A step is one entry in a Workflow step list. Every step shares the same envelope — `key`, `displayType`, `data`, `next`, `onError`, `arguments`, … — documented in the step envelope (search the standards MCP). `displayType` picks the step type, and the step type defines what goes in `data` (some types read `arguments` instead). Pick a type below, then read its page for fields, defaults, output and failure behavior.
|
|
6
6
|
|
|
7
7
|
```yaml
|
|
8
8
|
steps:
|
|
@@ -17,86 +17,86 @@ steps:
|
|
|
17
17
|
|
|
18
18
|
| You need to… | Use | Not |
|
|
19
19
|
| --- | --- | --- |
|
|
20
|
-
| Call an external system over HTTP / its connector |
|
|
20
|
+
| Call an external system over HTTP / its connector | API (search the standards MCP) | GraphQL, Restful, OData, cURL (unsupported placeholders) |
|
|
21
21
|
| Download and parse a CSV file | [DOWNLOAD_CSV](steps.DOWNLOAD_CSV.md) | API + manual parsing |
|
|
22
22
|
| Read an Excel workbook already in context | [EXCEL_READER](steps.EXCEL_READER.md) | |
|
|
23
|
-
| Run a SQL statement through a database connection |
|
|
24
|
-
| Read profile data (task, reference, report tables) |
|
|
25
|
-
| Read metrics |
|
|
26
|
-
| Reshape data structurally |
|
|
27
|
-
| Render text templates / simple field values |
|
|
23
|
+
| Run a SQL statement through a database connection | SQL (search the standards MCP), SQL_PROXY (search the standards MCP) | QUERY_* (they read profile data, not external databases) |
|
|
24
|
+
| Read profile data (task, reference, report tables) | QUERY_SINGLE (search the standards MCP) (one row), QUERY_MANY (search the standards MCP) (all rows) | SQL |
|
|
25
|
+
| Read metrics | QUERY_METRICS (search the standards MCP) (`METRIC_QUERY` is an alias) | |
|
|
26
|
+
| Reshape data structurally | JSONata (search the standards MCP) | Scriban for structure |
|
|
27
|
+
| Render text templates / simple field values | Scriban (search the standards MCP) | |
|
|
28
28
|
| Emit literal rows (seed, fixtures, empty page) | [VALUES](steps.VALUES.md) | |
|
|
29
|
-
| Pick values out of context without calling anything |
|
|
30
|
-
| Branch two ways | [IF](steps.IF.md) or a conditional
|
|
29
|
+
| Pick values out of context without calling anything | FORWARD (search the standards MCP) | |
|
|
30
|
+
| Branch two ways | [IF](steps.IF.md) or a conditional `next` (search the standards MCP) | |
|
|
31
31
|
| Branch many ways | [SWITCH](steps.SWITCH.md) | chained IFs |
|
|
32
|
-
| Save pulled rows into a task |
|
|
32
|
+
| Save pulled rows into a task | SAVE_TASK_DATA (search the standards MCP) (current puller mode), [DIRECT_INDEX](steps.DIRECT_INDEX.md) | |
|
|
33
33
|
| Mark rows missing from a full snapshot as removed | [TRACK_FOR_REMOVAL](steps.TRACK_FOR_REMOVAL.md) | REMOVE_DATA |
|
|
34
34
|
| Change status flags on task rows by filter | [UPDATE_TASK_DATA_STATUS](steps.UPDATE_TASK_DATA_STATUS.md) | |
|
|
35
|
-
| Change status flags on specific item ids |
|
|
36
|
-
| Record destination ids / sync state after a push |
|
|
35
|
+
| Change status flags on specific item ids | UPDATE_ITEM_STATUS (search the standards MCP) | |
|
|
36
|
+
| Record destination ids / sync state after a push | UPDATE_ITEM_SYNC_PROCESS (search the standards MCP) | |
|
|
37
37
|
| Skip / un-skip items | [IGNORE_ITEM](steps.IGNORE_ITEM.md), [RESET_ITEM](steps.RESET_ITEM.md) | |
|
|
38
38
|
| Delete or soft-delete task rows | [REMOVE_DATA](steps.REMOVE_DATA.md) (preview with `dryRun`) | |
|
|
39
39
|
| Seed reference rows into a task | [SEED_DATA](steps.SEED_DATA.md) | |
|
|
40
|
-
| Queue stored rows for a pusher |
|
|
41
|
-
| Run a pusher for one item now / run another puller |
|
|
40
|
+
| Queue stored rows for a pusher | ENQUEUER (search the standards MCP) | PUSHER (runs immediately) |
|
|
41
|
+
| Run a pusher for one item now / run another puller | PUSHER (search the standards MCP), PULLER (search the standards MCP) | |
|
|
42
42
|
| Persist a value between runs (cursor, token) | [SET_KEY_VALUE](steps.SET_KEY_VALUE.md), [GET_KEY_VALUE](steps.GET_KEY_VALUE.md) | |
|
|
43
43
|
| Skip unchanged work using content hashes | [CACHE](steps.CACHE.md), [VERIFY_CACHED](steps.VERIFY_CACHED.md), [INVALIDATE_CACHE](steps.INVALIDATE_CACHE.md) | |
|
|
44
44
|
| Read an earlier occurrence of a step | [LOOKUP_STEP](steps.LOOKUP_STEP.md) | |
|
|
45
45
|
| Decode a stored raw payload | [RESOLVE_RAW_DATA](steps.RESOLVE_RAW_DATA.md) | |
|
|
46
46
|
| Wait / throttle | [SLEEP](steps.SLEEP.md) | busy loops |
|
|
47
|
-
| Forward a webhook message to other URLs |
|
|
47
|
+
| Forward a webhook message to other URLs | WEBHOOK_FORWARD (search the standards MCP) | |
|
|
48
48
|
| Publish a platform event | [PUBLISH_EVENT](steps.PUBLISH_EVENT.md) | |
|
|
49
|
-
| Validate incoming item format |
|
|
49
|
+
| Validate incoming item format | CHECK_FORMAT (search the standards MCP) | |
|
|
50
50
|
| Detect an image type from Base64 | [BASE64_TO_MIME_TYPE](steps.BASE64_TO_MIME_TYPE.md) | |
|
|
51
|
-
| Fail recoverably (route to `onError`) |
|
|
52
|
-
| Stop the run deliberately (bypasses `onError`) |
|
|
51
|
+
| Fail recoverably (route to `onError`) | EXCEPTION (search the standards MCP) | Error |
|
|
52
|
+
| Stop the run deliberately (bypasses `onError`) | Error (search the standards MCP) | EXCEPTION |
|
|
53
53
|
|
|
54
54
|
## Implemented step components
|
|
55
55
|
|
|
56
56
|
| Step | Canonical component document |
|
|
57
57
|
| --- | --- |
|
|
58
|
-
| API |
|
|
58
|
+
| API | API (search the standards MCP) |
|
|
59
59
|
| BASE64_TO_MIME_TYPE | [BASE64_TO_MIME_TYPE](steps.BASE64_TO_MIME_TYPE.md) |
|
|
60
60
|
| CACHE | [CACHE](steps.CACHE.md) |
|
|
61
|
-
| CHECK_FORMAT |
|
|
61
|
+
| CHECK_FORMAT | CHECK_FORMAT (search the standards MCP) |
|
|
62
62
|
| DIRECT_INDEX | [DIRECT_INDEX](steps.DIRECT_INDEX.md) |
|
|
63
63
|
| DOWNLOAD_CSV | [DOWNLOAD_CSV](steps.DOWNLOAD_CSV.md) |
|
|
64
|
-
| ENQUEUER |
|
|
64
|
+
| ENQUEUER | ENQUEUER (search the standards MCP) |
|
|
65
65
|
| EXCEL_READER | [EXCEL_READER](steps.EXCEL_READER.md) |
|
|
66
|
-
| EXCEPTION |
|
|
67
|
-
| Error |
|
|
68
|
-
| FORWARD |
|
|
66
|
+
| EXCEPTION | EXCEPTION (search the standards MCP) |
|
|
67
|
+
| Error | Error (search the standards MCP) |
|
|
68
|
+
| FORWARD | FORWARD (search the standards MCP) |
|
|
69
69
|
| GET_KEY_VALUE | [GET_KEY_VALUE](steps.GET_KEY_VALUE.md) |
|
|
70
70
|
| IF | [IF](steps.IF.md) |
|
|
71
71
|
| IGNORE_ITEM | [IGNORE_ITEM](steps.IGNORE_ITEM.md) |
|
|
72
72
|
| INVALIDATE_CACHE | [INVALIDATE_CACHE](steps.INVALIDATE_CACHE.md) |
|
|
73
|
-
| JSONata |
|
|
73
|
+
| JSONata | JSONata (search the standards MCP) |
|
|
74
74
|
| LOOKUP_STEP | [LOOKUP_STEP](steps.LOOKUP_STEP.md) |
|
|
75
|
-
| METRIC_QUERY |
|
|
75
|
+
| METRIC_QUERY | METRIC_QUERY (search the standards MCP) |
|
|
76
76
|
| PUBLISH_EVENT | [PUBLISH_EVENT](steps.PUBLISH_EVENT.md) |
|
|
77
|
-
| PULLER |
|
|
78
|
-
| PUSHER |
|
|
79
|
-
| QUERY_MANY |
|
|
80
|
-
| QUERY_METRICS |
|
|
81
|
-
| QUERY_SINGLE |
|
|
77
|
+
| PULLER | PULLER (search the standards MCP) |
|
|
78
|
+
| PUSHER | PUSHER (search the standards MCP) |
|
|
79
|
+
| QUERY_MANY | QUERY_MANY (search the standards MCP) |
|
|
80
|
+
| QUERY_METRICS | QUERY_METRICS (search the standards MCP) |
|
|
81
|
+
| QUERY_SINGLE | QUERY_SINGLE (search the standards MCP) |
|
|
82
82
|
| REMOVE_DATA | [REMOVE_DATA](steps.REMOVE_DATA.md) |
|
|
83
83
|
| RESET_ITEM | [RESET_ITEM](steps.RESET_ITEM.md) |
|
|
84
84
|
| RESOLVE_RAW_DATA | [RESOLVE_RAW_DATA](steps.RESOLVE_RAW_DATA.md) |
|
|
85
|
-
| SAVE_TASK_DATA |
|
|
85
|
+
| SAVE_TASK_DATA | SAVE_TASK_DATA (search the standards MCP) |
|
|
86
86
|
| SEED_DATA | [SEED_DATA](steps.SEED_DATA.md) |
|
|
87
87
|
| SET_KEY_VALUE | [SET_KEY_VALUE](steps.SET_KEY_VALUE.md) |
|
|
88
88
|
| SLEEP | [SLEEP](steps.SLEEP.md) |
|
|
89
|
-
| SQL |
|
|
90
|
-
| SQL_PROXY |
|
|
89
|
+
| SQL | SQL (search the standards MCP) |
|
|
90
|
+
| SQL_PROXY | SQL_PROXY (search the standards MCP) |
|
|
91
91
|
| SWITCH | [SWITCH](steps.SWITCH.md) |
|
|
92
|
-
| Scriban |
|
|
92
|
+
| Scriban | Scriban (search the standards MCP) |
|
|
93
93
|
| TRACK_FOR_REMOVAL | [TRACK_FOR_REMOVAL](steps.TRACK_FOR_REMOVAL.md) |
|
|
94
|
-
| UPDATE_ITEM_STATUS |
|
|
95
|
-
| UPDATE_ITEM_SYNC_PROCESS |
|
|
94
|
+
| UPDATE_ITEM_STATUS | UPDATE_ITEM_STATUS (search the standards MCP) |
|
|
95
|
+
| UPDATE_ITEM_SYNC_PROCESS | UPDATE_ITEM_SYNC_PROCESS (search the standards MCP) |
|
|
96
96
|
| UPDATE_TASK_DATA_STATUS | [UPDATE_TASK_DATA_STATUS](steps.UPDATE_TASK_DATA_STATUS.md) |
|
|
97
97
|
| VALUES | [VALUES](steps.VALUES.md) |
|
|
98
98
|
| VERIFY_CACHED | [VERIFY_CACHED](steps.VERIFY_CACHED.md) |
|
|
99
|
-
| WEBHOOK_FORWARD |
|
|
99
|
+
| WEBHOOK_FORWARD | WEBHOOK_FORWARD (search the standards MCP) |
|
|
100
100
|
|
|
101
101
|
## The 9 scaffolds
|
|
102
102
|
|
|
@@ -108,30 +108,30 @@ These names are recognized by the editor but **fail whenever they run**. Their p
|
|
|
108
108
|
| Composite | [Composite](steps.Composite.md) |
|
|
109
109
|
| End | [End](steps.End.md) |
|
|
110
110
|
| GraphQL | [GraphQL](steps.GraphQL.md) |
|
|
111
|
-
| Liquid |
|
|
111
|
+
| Liquid | Liquid (search the standards MCP) |
|
|
112
112
|
| OData | [OData](steps.OData.md) |
|
|
113
113
|
| QueryDSL | [QueryDSL](steps.QueryDSL.md) |
|
|
114
114
|
| Restful | [Restful](steps.Restful.md) |
|
|
115
115
|
| cURL | [cURL](steps.cURL.md) |
|
|
116
116
|
|
|
117
|
-
The `QueryDSL` step name is not the
|
|
117
|
+
The `QueryDSL` step name is not the query language (search the standards MCP). All HTTP work — REST, GraphQL and similar — goes through the API step (search the standards MCP). Mark the first step with `rootStep: true` instead of using `Begin`, and end a flow with `next: null` instead of `End`.
|
|
118
118
|
|
|
119
119
|
## Best practices
|
|
120
120
|
|
|
121
|
-
- **Loops.** A backward `next` edge is legal but must terminate: exit on a value that changes every visit (page cursor, `hasNextPage`, counter) and set a deliberate
|
|
122
|
-
- **Retries.** Rely on connection-level rate limits and the platform's connector retry before building retry loops. When a retry loop is needed, cap attempts, wait between them with [SLEEP](steps.SLEEP.md), and branch on
|
|
121
|
+
- **Loops.** A backward `next` edge is legal but must terminate: exit on a value that changes every visit (page cursor, `hasNextPage`, counter) and set a deliberate `maxStepIterations` (search the standards MCP). A loop whose exit never changes repeats side effects, burns the run's time budget and ends in a loop-guard failure that `onError` cannot catch.
|
|
122
|
+
- **Retries.** Rely on connection-level rate limits and the platform's connector retry before building retry loops. When a retry loop is needed, cap attempts, wait between them with [SLEEP](steps.SLEEP.md), and branch on `gracefulException` (search the standards MCP) output so only retryable failures loop.
|
|
123
123
|
- **Idempotency.** A run can restart from its root or be re-run. Write with upserts keyed by stable identifiers, set status flags (add/remove) rather than toggling them, and only sweep for removals after a complete, successful snapshot — sweeping after a partial page marks live rows as removed.
|
|
124
124
|
- **Incremental over full pulls.** Persist a cursor (for example with [SET_KEY_VALUE](steps.SET_KEY_VALUE.md)) and fetch only changes; full pulls cost more calls, take longer and raise the risk of hitting rate limits.
|
|
125
125
|
- **Explicit flow.** One `rootStep: true`, explicit `next` on every non-terminal step, and results read from `_outputs.<KEY>`.
|
|
126
|
-
- **Fail deliberately.** Use
|
|
126
|
+
- **Fail deliberately.** Use EXCEPTION (search the standards MCP) for failures that `onError` should handle and Error (search the standards MCP) for conditions that must stop the run.
|
|
127
127
|
|
|
128
128
|
## Where a step's configuration lives
|
|
129
129
|
|
|
130
|
-
Read the step's page together with the
|
|
130
|
+
Read the step's page together with the step envelope (search the standards MCP). Use the context/expression reference (search the standards MCP) for available bindings and routing (search the standards MCP) for continuation. A payload valid for one step type or placement is not automatically valid in another.
|
|
131
131
|
|
|
132
132
|
## Related
|
|
133
133
|
|
|
134
|
-
-
|
|
135
|
-
-
|
|
136
|
-
-
|
|
137
|
-
-
|
|
134
|
+
- Step envelope (search the standards MCP)
|
|
135
|
+
- Routing (search the standards MCP)
|
|
136
|
+
- Context and expressions (search the standards MCP)
|
|
137
|
+
- Query languages (search the standards MCP)
|
|
@@ -44,7 +44,7 @@ steps:
|
|
|
44
44
|
|
|
45
45
|
## Fields
|
|
46
46
|
|
|
47
|
-
All three fields are required argument keys. Presence is checked by key, not by content: an empty string is matched literally (never as a wildcard), while an empty `object_id` fails id parsing. Values are rendered to strings by
|
|
47
|
+
All three fields are required argument keys. Presence is checked by key, not by content: an empty string is matched literally (never as a wildcard), while an empty `object_id` fails id parsing. Values are rendered to strings by argument parsing (search the standards MCP); no lookup or hashing is done here.
|
|
48
48
|
|
|
49
49
|
### `arguments.object_id`
|
|
50
50
|
|
|
@@ -171,5 +171,5 @@ READ sees `destination`; after EVICT, AFTER no longer returns it, while any othe
|
|
|
171
171
|
## Related
|
|
172
172
|
|
|
173
173
|
- [CACHE](steps.CACHE.md#contract), [VERIFY_CACHED](steps.VERIFY_CACHED.md#contract)
|
|
174
|
-
-
|
|
174
|
+
- Workflow and step envelope (search the standards MCP)
|
|
175
175
|
- [Step catalog](steps.INDEX.md)
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
Use it when you need an earlier occurrence of a step that has since run again (for example the previous page of a loop), or want a stable copy under a new key.
|
|
12
12
|
|
|
13
|
-
Choose something else when the target's latest result is enough (read `_outputs.<target>` directly), or the data is in a table (use
|
|
13
|
+
Choose something else when the target's latest result is enough (read `_outputs.<target>` directly), or the data is in a table (use `QUERY_SINGLE` (search the standards MCP)).
|
|
14
14
|
|
|
15
15
|
## Syntax
|
|
16
16
|
|
|
@@ -36,9 +36,9 @@ Choose something else when the target's latest result is enough (read `_outputs.
|
|
|
36
36
|
|
|
37
37
|
Set `target` to an existing step key and omit `occurrence` for the newest run; reach further back (`-2`, …) only when the target retains enough history. A miss still succeeds, so downstream steps should check for `error` in the output.
|
|
38
38
|
|
|
39
|
-
**Output:** on a hit, `_outputs.<key>` is the target's recorded fields plus `__source: {target, occurrence, resolvedFlow, resolvedOccurrence}`. On a miss the step still succeeds and publishes `{error: {code, requested, available, target}, __source: {target, occurrence}}` with `code` `TARGET_NOT_EXECUTED` (no history) or `OCCURRENCE_OUT_OF_RANGE` (older than retained). History is recorded only for successful step returns in the step-list workflow mode; see
|
|
39
|
+
**Output:** on a hit, `_outputs.<key>` is the target's recorded fields plus `__source: {target, occurrence, resolvedFlow, resolvedOccurrence}`. On a miss the step still succeeds and publishes `{error: {code, requested, available, target}, __source: {target, occurrence}}` with `code` `TARGET_NOT_EXECUTED` (no history) or `OCCURRENCE_OUT_OF_RANGE` (older than retained). History is recorded only for successful step returns in the step-list workflow mode; see runtime scope (search the standards MCP). If this step's key equals `target`, its publication replaces the target's latest `_outputs` value.
|
|
40
40
|
|
|
41
|
-
Shared envelope fields (`key`, `rootStep`, `next`, `onError`, `provider`/`displayType`, `data` vs compatible `input`, root `maxStepIterations`, history retention) are owned by
|
|
41
|
+
Shared envelope fields (`key`, `rootStep`, `next`, `onError`, `provider`/`displayType`, `data` vs compatible `input`, root `maxStepIterations`, history retention) are owned by STEP-ENVELOPE (search the standards MCP).
|
|
42
42
|
|
|
43
43
|
## Fields
|
|
44
44
|
|
|
@@ -79,7 +79,7 @@ Syntax: `occurrence: <integer>`
|
|
|
79
79
|
|
|
80
80
|
Syntax: `maxStepIterations: <number | null>`
|
|
81
81
|
|
|
82
|
-
`maxStepIterations: <integer >= 1>` — caps how many times this step key may run in one workflow run; exceeding it fails the run and bypasses `onError`. A root `maxStepIterations` takes precedence. See
|
|
82
|
+
`maxStepIterations: <integer >= 1>` — caps how many times this step key may run in one workflow run; exceeding it fails the run and bypasses `onError`. A root `maxStepIterations` takes precedence. See cross-cutting step flags (search the standards MCP).
|
|
83
83
|
|
|
84
84
|
```yaml
|
|
85
85
|
- key: PREVIOUS
|
|
@@ -121,7 +121,7 @@ At the start of a run where `FETCH` has not executed, the output is `error.code:
|
|
|
121
121
|
count: {expression: '$count(_outputs.PREVIOUS.items)'}
|
|
122
122
|
```
|
|
123
123
|
|
|
124
|
-
[`VALUES`](steps.VALUES.md#contract) runs first; PREVIOUS copies `{items: [{sku: "A-1"}], hasNextPage: false}` plus `__source`;
|
|
124
|
+
[`VALUES`](steps.VALUES.md#contract) runs first; PREVIOUS copies `{items: [{sku: "A-1"}], hasNextPage: false}` plus `__source`; `JSONata` (search the standards MCP) emits `{count: 1}`.
|
|
125
125
|
|
|
126
126
|
## Boundaries and errors
|
|
127
127
|
|
|
@@ -140,7 +140,7 @@ At the start of a run where `FETCH` has not executed, the output is `error.code:
|
|
|
140
140
|
|
|
141
141
|
## Related
|
|
142
142
|
|
|
143
|
-
-
|
|
144
|
-
-
|
|
145
|
-
-
|
|
143
|
+
- Step envelope (search the standards MCP)
|
|
144
|
+
- Context and expression dialects (search the standards MCP)
|
|
145
|
+
- Routing (search the standards MCP)
|
|
146
146
|
- [All step types](steps.INDEX.md)
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
## When to use
|
|
10
10
|
|
|
11
|
-
Never — do not author it. Call an OData service with
|
|
11
|
+
Never — do not author it. Call an OData service with API (search the standards MCP) and the REST request builder (search the standards MCP), passing OData system options (`$filter`, `$top`, …) as ordinary query parameters. The service, not the platform, interprets the OData grammar.
|
|
12
12
|
|
|
13
13
|
## Syntax
|
|
14
14
|
|
|
@@ -123,11 +123,11 @@ A response `{"value":[{"Id":1},{"Id":2}]}` gives `_outputs.REPORT = {count: 2}`;
|
|
|
123
123
|
|
|
124
124
|
- Replace every `OData` step when you find one: it can only fail.
|
|
125
125
|
- Put OData options in `data.queries`, not in `data.url`: REST appends its own `?` rather than merging an existing query string.
|
|
126
|
-
- `$top` alone is not pagination: follow the service's next link / skip token with
|
|
126
|
+
- `$top` alone is not pagination: follow the service's next link / skip token with API pagination (search the standards MCP).
|
|
127
127
|
- Always state an explicit `acceptHttpStatuses` policy.
|
|
128
128
|
|
|
129
129
|
## Related
|
|
130
130
|
|
|
131
|
-
-
|
|
132
|
-
-
|
|
131
|
+
- API (search the standards MCP)
|
|
132
|
+
- Workflow and step envelope (search the standards MCP)
|
|
133
133
|
- [Step catalog](steps.INDEX.md)
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
`PUBLISH_EVENT` publishes one named platform event with a payload. The rendered event name must exist, enabled, in the runtime event catalog; undeclared names are refused. The step renders its string fields and payload string leaves with Scriban, adds the runtime-owned `event` and `profileId` payload fields last, and publishes with either **MultiFire** (every run publishes) or **FireOnce** (one publication per `idempotencyKey` within the deduplication window).
|
|
8
8
|
|
|
9
|
-
**When to use:** Use it when a workflow must announce a milestone (sync finished, batch ready) to platform subscribers. **Do not use it when** you need an HTTP call to an external system (use
|
|
9
|
+
**When to use:** Use it when a workflow must announce a milestone (sync finished, batch ready) to platform subscribers. **Do not use it when** you need an HTTP call to an external system (use API (search the standards MCP)) or need to forward a webhook (use WEBHOOK_FORWARD (search the standards MCP)).
|
|
10
10
|
|
|
11
11
|
**Syntax** (annotated skeleton):
|
|
12
12
|
|
|
@@ -268,7 +268,7 @@ Authored payload keys `event` and `profileId` are always overwritten by the runt
|
|
|
268
268
|
## Related
|
|
269
269
|
|
|
270
270
|
- [Step family](steps.INDEX.md)
|
|
271
|
-
-
|
|
272
|
-
-
|
|
273
|
-
-
|
|
274
|
-
-
|
|
271
|
+
- Shared step envelope (search the standards MCP)
|
|
272
|
+
- Runtime context (search the standards MCP)
|
|
273
|
+
- Scriban step (search the standards MCP)
|
|
274
|
+
- Routing and root restart (search the standards MCP)
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
## When to use
|
|
10
10
|
|
|
11
|
-
Never — do not author it. Read one row with
|
|
11
|
+
Never — do not author it. Read one row with QUERY_SINGLE (search the standards MCP) or all matching rows with QUERY_MANY (search the standards MCP); both compile the Builder DSL (search the standards MCP).
|
|
12
12
|
|
|
13
13
|
## Syntax
|
|
14
14
|
|
|
@@ -121,6 +121,6 @@ Bind a value from an earlier step as an argument and use it as a `PARAM` (bound,
|
|
|
121
121
|
|
|
122
122
|
## Related
|
|
123
123
|
|
|
124
|
-
-
|
|
125
|
-
-
|
|
124
|
+
- QUERY_SINGLE (search the standards MCP), QUERY_MANY (search the standards MCP)
|
|
125
|
+
- Query DSL (search the standards MCP)
|
|
126
126
|
- [All step types](steps.INDEX.md)
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
> **Warning:** non-dry-run removal currently fails at execution on the current database, for both `hard` and `soft` modes. Use `dryRun: true` to preview matches, and use [TRACK_FOR_REMOVAL](steps.TRACK_FOR_REMOVAL.md#contract) for supported logical removal. Do not treat a removal declaration as proof that anything was deleted.
|
|
10
10
|
|
|
11
|
-
**When to use:** Use it when you need to preview how many stored rows match simple column comparisons. **Choose another step when** you need working removal (use [TRACK_FOR_REMOVAL](steps.TRACK_FOR_REMOVAL.md#contract) or a scoped [UPDATE_TASK_DATA_STATUS](steps.UPDATE_TASK_DATA_STATUS.md#contract)), structured queries (use
|
|
11
|
+
**When to use:** Use it when you need to preview how many stored rows match simple column comparisons. **Choose another step when** you need working removal (use [TRACK_FOR_REMOVAL](steps.TRACK_FOR_REMOVAL.md#contract) or a scoped [UPDATE_TASK_DATA_STATUS](steps.UPDATE_TASK_DATA_STATUS.md#contract)), structured queries (use QUERY_MANY (search the standards MCP)), or nested/OR logic. `conditions` here is its own flat list, **not** a Builder DSL (search the standards MCP) tree.
|
|
12
12
|
|
|
13
13
|
**Syntax** (annotated skeleton):
|
|
14
14
|
|
|
@@ -45,7 +45,7 @@ Why: `dryRun: true` is the only mode that currently completes, and the defaults
|
|
|
45
45
|
|
|
46
46
|
**Output (preview):** `_outputs.<key> = {dryRun: true, previewCount, previewRows, removalTime, removalStartedAt, status: "preview"}`. `previewCount` is the total match count; `previewRows` holds up to 10 full stored rows (no order, may include system columns); timestamps are Unix milliseconds. Count and sample are read separately, so concurrent writes can make them disagree. A successful removal would return `{affectedRows, removalTime, removalStartedAt, status: "success"}`, but see the warning above.
|
|
47
47
|
|
|
48
|
-
**Failure:** invalid input, unknown task, unknown column, failed cast or a database error fails the step (no result object). This step has no graceful-failure option; use `onError` routing (
|
|
48
|
+
**Failure:** invalid input, unknown task, unknown column, failed cast or a database error fails the step (no result object). This step has no graceful-failure option; use `onError` routing (STEP-ENVELOPE (search the standards MCP)).
|
|
49
49
|
|
|
50
50
|
## Fields
|
|
51
51
|
|
|
@@ -231,7 +231,7 @@ Returns the preview result for rows whose `sku` is `A1`, without writing.
|
|
|
231
231
|
next: null
|
|
232
232
|
```
|
|
233
233
|
|
|
234
|
-
[VALUES](steps.VALUES.md#contract) publishes `sku: "A1"`; PREVIEW binds it as a parameter;
|
|
234
|
+
[VALUES](steps.VALUES.md#contract) publishes `sku: "A1"`; PREVIEW binds it as a parameter; Scriban (search the standards MCP) reports the count. Zero matches is a successful preview (`previewCount: 0`, empty `previewRows`), not an error.
|
|
235
235
|
|
|
236
236
|
## Boundaries and errors
|
|
237
237
|
|
|
@@ -255,10 +255,10 @@ Returns the preview result for rows whose `sku` is `A1`, without writing.
|
|
|
255
255
|
|
|
256
256
|
## Related
|
|
257
257
|
|
|
258
|
-
-
|
|
259
|
-
-
|
|
260
|
-
-
|
|
261
|
-
-
|
|
258
|
+
- Workflow and step envelope (search the standards MCP)
|
|
259
|
+
- Runtime context (search the standards MCP)
|
|
260
|
+
- Builder Query DSL (search the standards MCP) — a different grammar from this `conditions` list.
|
|
261
|
+
- Tasks and tables (search the standards MCP)
|
|
262
262
|
- [TRACK_FOR_REMOVAL](steps.TRACK_FOR_REMOVAL.md#contract)
|
|
263
263
|
- [UPDATE_TASK_DATA_STATUS](steps.UPDATE_TASK_DATA_STATUS.md#contract)
|
|
264
264
|
- [All step types](steps.INDEX.md)
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
`RESET_ITEM` updates selected stored items of one task: it clears their push notes and destination id, and removes only the Ignore status flag. Every other status flag is left unchanged. It does not mark items Changed, queue them for pushing, restore a previous destination id, or reset items to their initial state.
|
|
8
8
|
|
|
9
|
-
**When to use:** Use it when you need to undo [IGNORE_ITEM](steps.IGNORE_ITEM.md#contract) or clear an item's push link so it is no longer tied to a destination record. **Choose another step when** you need to set other status flags (use
|
|
9
|
+
**When to use:** Use it when you need to undo [IGNORE_ITEM](steps.IGNORE_ITEM.md#contract) or clear an item's push link so it is no longer tied to a destination record. **Choose another step when** you need to set other status flags (use UPDATE_ITEM_STATUS (search the standards MCP)) or to trigger a push.
|
|
10
10
|
|
|
11
11
|
**Syntax** (annotated skeleton):
|
|
12
12
|
|
|
@@ -34,7 +34,7 @@ Why: the ids come from a query on the same task, and the `[ … ]` wrapper keeps
|
|
|
34
34
|
|
|
35
35
|
**Output:** `_outputs.<key> = {affected: N}` — the number of stored rows updated (rows whose id matched; repeated ids count once). When the selection is empty, the output is `{}` with no `affected` member. A non-empty selection that matches nothing gives `{affected: 0}`.
|
|
36
36
|
|
|
37
|
-
**Failure:** an invalid or unknown task id, an invalid selection expression or result, or a database error fails the step. This step has no graceful-failure option; use `onError` routing (
|
|
37
|
+
**Failure:** an invalid or unknown task id, an invalid selection expression or result, or a database error fails the step. This step has no graceful-failure option; use `onError` routing (STEP-ENVELOPE (search the standards MCP)).
|
|
38
38
|
|
|
39
39
|
## Fields
|
|
40
40
|
|
|
@@ -127,7 +127,7 @@ If the id matches one stored row: `_outputs.APPLY = {affected: 1}`; if it matche
|
|
|
127
127
|
next: null
|
|
128
128
|
```
|
|
129
129
|
|
|
130
|
-
|
|
130
|
+
QUERY_MANY (search the standards MCP) returns the matching stored ids; APPLY resets them; JSONata (search the standards MCP) reports the count and whether the selection was empty (`{}`), which is distinct from a non-empty selection matching zero rows.
|
|
131
131
|
|
|
132
132
|
## Boundaries and errors
|
|
133
133
|
|
|
@@ -141,7 +141,7 @@ Rejected forms (do not copy):
|
|
|
141
141
|
Other boundaries:
|
|
142
142
|
|
|
143
143
|
- Values of `itemIds` other than an array or string select nothing; they are not supported forms.
|
|
144
|
-
- Declaring `objectId` here does not associate the task with the puller; see
|
|
144
|
+
- Declaring `objectId` here does not associate the task with the puller; see task association (search the standards MCP).
|
|
145
145
|
- Resetting does not schedule a retry or guarantee the item will be pushed again.
|
|
146
146
|
|
|
147
147
|
## Best practices
|
|
@@ -149,16 +149,16 @@ Other boundaries:
|
|
|
149
149
|
- Prefer selecting ids with a query step and an array-producing expression over hard-coded ids, because stored ids differ between environments.
|
|
150
150
|
- Wrap expression paths in `[ … ]`, because a single match otherwise returns a bare value that is not a list.
|
|
151
151
|
- Check `$exists(_outputs.<key>.affected)` downstream when an empty selection must be distinguished from zero matches.
|
|
152
|
-
- Prefer
|
|
152
|
+
- Prefer UPDATE_ITEM_STATUS (search the standards MCP) when other status flags must change, because this step changes only Ignore.
|
|
153
153
|
|
|
154
154
|
## Related
|
|
155
155
|
|
|
156
|
-
-
|
|
157
|
-
-
|
|
158
|
-
-
|
|
159
|
-
-
|
|
156
|
+
- Workflow and step envelope (search the standards MCP)
|
|
157
|
+
- Runtime context (search the standards MCP)
|
|
158
|
+
- JSONata call-site scope and bindings (search the standards MCP)
|
|
159
|
+
- Tasks and tables (search the standards MCP)
|
|
160
160
|
- [IGNORE_ITEM](steps.IGNORE_ITEM.md#contract)
|
|
161
|
-
-
|
|
162
|
-
-
|
|
163
|
-
-
|
|
161
|
+
- UPDATE_ITEM_STATUS (search the standards MCP)
|
|
162
|
+
- QUERY_MANY (search the standards MCP)
|
|
163
|
+
- Routing (search the standards MCP)
|
|
164
164
|
- [All step types](steps.INDEX.md)
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
## When to use
|
|
10
10
|
|
|
11
|
-
Use it when a row read by
|
|
11
|
+
Use it when a row read by `QUERY_SINGLE` (search the standards MCP) or `QUERY_MANY` (search the standards MCP) has only flattened columns and you need fields of the original payload.
|
|
12
12
|
|
|
13
13
|
Choose something else when the needed value is already a table column (just select it), or when the data comes from an external task-data response — those never carry `__raw`.
|
|
14
14
|
|
|
@@ -40,7 +40,7 @@ Precede it with a query that projects `__raw` explicitly (e.g. `select: [{alias:
|
|
|
40
40
|
|
|
41
41
|
**Routing caution:** if the decoded object has a top-level `next` member, it overrides the step's declared `next` (null ends the list; an unknown key fails). Account for this when the stored payload may contain `next`.
|
|
42
42
|
|
|
43
|
-
Shared envelope fields (`key`, `rootStep`, `next`, `onError`, `provider`/`displayType`, `data` vs compatible `input`, `arguments`, root `maxStepIterations`) are owned by
|
|
43
|
+
Shared envelope fields (`key`, `rootStep`, `next`, `onError`, `provider`/`displayType`, `data` vs compatible `input`, `arguments`, root `maxStepIterations`) are owned by STEP-ENVELOPE (search the standards MCP).
|
|
44
44
|
|
|
45
45
|
## Fields
|
|
46
46
|
|
|
@@ -53,7 +53,7 @@ Syntax: `path: <string>`
|
|
|
53
53
|
- `$( … )` JSONata and `$$( … )` JSONPath serialize the context first, so binary `__raw` becomes its base64 text — **the reliable choice**.
|
|
54
54
|
- `{{ … }}` Scriban renders values as text; binary columns can become unusable text such as `System.Byte[]`, which then fails decoding.
|
|
55
55
|
|
|
56
|
-
See
|
|
56
|
+
See dialect classification (search the standards MCP).
|
|
57
57
|
|
|
58
58
|
```yaml
|
|
59
59
|
- key: DECODE
|
|
@@ -92,7 +92,7 @@ Syntax: `logOutput: <boolean>`
|
|
|
92
92
|
|
|
93
93
|
Syntax: `maxStepIterations: <number | null>`
|
|
94
94
|
|
|
95
|
-
`maxStepIterations: <integer >= 1>` — caps how many times this step key may run in one workflow run; exceeding it fails the run and bypasses `onError`. A root `maxStepIterations` takes precedence. See
|
|
95
|
+
`maxStepIterations: <integer >= 1>` — caps how many times this step key may run in one workflow run; exceeding it fails the run and bypasses `onError`. A root `maxStepIterations` takes precedence. See cross-cutting step flags (search the standards MCP).
|
|
96
96
|
|
|
97
97
|
```yaml
|
|
98
98
|
- key: DECODE
|
|
@@ -152,14 +152,14 @@ Reached after a step `READ` that projected `__raw`. If the stored object is `{"c
|
|
|
152
152
|
next: null
|
|
153
153
|
```
|
|
154
154
|
|
|
155
|
-
READ projects only `__raw`; DECODE publishes the whole decoded object;
|
|
155
|
+
READ projects only `__raw`; DECODE publishes the whole decoded object; `FORWARD` (search the standards MCP) with a response filter (search the standards MCP) yields `{customerName: "Ada"}`. With no row, `_outputs.DECODE` is `{}` and `customerName` is absent.
|
|
156
156
|
|
|
157
157
|
## Boundaries and errors
|
|
158
158
|
|
|
159
159
|
- Rejected form: `path: 'System.Byte[]'` (or a Scriban path producing it) — not base64; fails as a decrypt anomaly. Use a JSONata/JSONPath path.
|
|
160
160
|
- Rejected form: `path: '$(_outputs.READ.row)'` — selects the whole row; point at `row.__raw`.
|
|
161
161
|
- Rejected form: `path: '$(_outputs.READ.row.__raw.customer)'` — cannot reach inside encrypted data; decode first.
|
|
162
|
-
- `metadata`, `fieldName` and `replace` belong to the same-named
|
|
162
|
+
- `metadata`, `fieldName` and `replace` belong to the same-named transformation (search the standards MCP), not to this step; without `data.path` the step fails.
|
|
163
163
|
- Decrypt anomalies need the storage or key problem fixed; re-running alone does not help.
|
|
164
164
|
|
|
165
165
|
## Best practices
|
|
@@ -172,9 +172,9 @@ READ projects only `__raw`; DECODE publishes the whole decoded object; [`FORWARD
|
|
|
172
172
|
|
|
173
173
|
## Related
|
|
174
174
|
|
|
175
|
-
-
|
|
176
|
-
-
|
|
177
|
-
-
|
|
178
|
-
-
|
|
179
|
-
-
|
|
175
|
+
- Step envelope (search the standards MCP)
|
|
176
|
+
- Runtime context (search the standards MCP)
|
|
177
|
+
- Tasks and tables (search the standards MCP)
|
|
178
|
+
- `QUERY_SINGLE` (search the standards MCP)
|
|
179
|
+
- Transformation counterpart (search the standards MCP)
|
|
180
180
|
- [Step family](steps.INDEX.md)
|