Sign an outgoing letter
A workflow without a document type that starts only by hand or from another workflow, such as from “Generate the notice of termination” on the notice the card “Generate document” wrote from a template; an uploaded document never starts it. The card Send for signature sends the letter to the requesting person as “Absender”, with a simple electronic signature (SES) and 14 days to sign. Acriva finds the signature fields from the template’s anchors or by itself; when it finds no certain place, the requesting person places the fields in the task Signature field review. When the letter isn’t signed, the requesting person is told. The letter may be confidential when the contract was; the workflow sends it anyway, since only the requesting person signs. Needs the add-on E-signature.
The workflow
Section titled “The workflow”The workflow starts by hand. Its file workflow.yaml:
$schema: 'https://docs.acriva.de/schemas/workflow.schema.json'format: 1schemaVersion: 10sdk: '1.0.0'key: sign-lettername: Ausgehendes Schreiben signierentemplate: customtrigger: {}fields: []start: signsteps: - kind: signature name: sign label: Schreiben signieren signers: - kind: requester label: Absender ordered: true level: ses expiryDays: 14 fieldMode: detect reviewer: kind: requester allowConfidential: true language: de next: signed onDeclined: notSigned onExpired: notSigned onSkipped: notSigned - kind: notification name: notSigned label: Absender informieren recipients: - kind: requester notice: forInformation next: open - kind: end name: signed label: Signiert outcome: completed - kind: end name: open label: Nicht signiert outcome: completed