Skip to content

Workflow SDK: changelog

The changes of every version of @acriva/workflow-sdk, newest first. A version is released once an Acriva release ships it; from then on its declarations don’t change. A workflow keeps the SDK version it was published with.

API reference: 1.0.0

  • The first version: defineScript, the hooks onDocumentArrived, beforeApproval, onApproved, onRejected and onTimer, ctx with document, instance, now, today, random, log, hint, setField, addTag, fileInto, notify, branch and result, the data sources and data tables (ctx.sources, ctx.tables), the helpers money and date (de-DE) and the workspace’s types (tenant.d.ts): document types with their fields, file types, tags, cost centers and roles.