Skip to content

docs(intent): send a document by e-mail - the notify block + attach: print (#6356) - #154

Merged
delchev merged 1 commit into
masterfrom
docs/intent-send-document-by-email
Jul 28, 2026
Merged

docs(intent): send a document by e-mail - the notify block + attach: print (#6356)#154
delchev merged 1 commit into
masterfrom
docs/intent-send-document-by-email

Conversation

@delchev

@delchev delchev commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Documents the feature added in eclipse-dirigible/dirigible#6435 (closes eclipse-dirigible/dirigible#6356).

Glue page gains The notify block - and attach: print, sending the document itself:

  • to / subject / body is one reusable block, not a shape peculiar to notifications - a table shows the four call sites (notifications[], schedules[].notify, transitions[].notify, a serviceTask's args.notify) and the class each generates (<Name>Notification.java, <Name>Job.java, inside <Name>Transition.java, <Process><Step>Send.java).
  • attach: print reuses the generated <Entity>PrintFeeder + sdk.print.Print (the snapshot delegate's two steps) and rides along as an application/pdf part named after the document's number:.
  • Failure semantics per call site: a recipient that resolves to nothing is a logged no-op, a transitions[].notify is fail-soft (the flip already committed), a sending serviceTask fails so the engine retries.
  • Only a document (header + line-items child) can be attached - a parse-time error otherwise.

Also in this PR: the glue status table lists the feature, the stale "Event-driven document generation - planned" row now reflects reality (mailed by attach: print, stored by function: Snapshot), and the DSL reference's transitions example shows the optional notify block.

🤖 Generated with Claude Code

…print (#6356)

The glue page gains "The notify block - and attach: print": one reusable block
(to / subject / body with {field} interpolation) at four call sites, the class
each one generates (<Name>Notification / <Name>Job / inside <Name>Transition /
<Process><Step>Send), how attach: print reuses the generated <Entity>PrintFeeder
plus sdk.print.Print, the attachment naming, and the per-call-site failure
semantics (no-recipient no-op, fail-soft transition, failing send step).

Also: the glue status table lists the feature and the stale "event-driven document
generation - planned" row now reflects reality (mailed by attach: print, stored by
function: Snapshot); the DSL reference's transitions example shows the optional
notify block.
@delchev
delchev merged commit 0e8ea2e into master Jul 28, 2026
@delchev
delchev deleted the docs/intent-send-document-by-email branch July 28, 2026 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Intent: declarative send-document-by-e-mail glue (process step / transition / schedule attach)

1 participant