Skip to content

Develop#779

Merged
KseniaDukhanina merged 31 commits intomainfrom
develop
Mar 2, 2026
Merged

Develop#779
KseniaDukhanina merged 31 commits intomainfrom
develop

Conversation

@KseniaDukhanina
Copy link
Copy Markdown
Member

No description provided.

KseniaDukhanina and others added 30 commits February 9, 2026 20:52
https://jira.citeck.ru/browse/ECOSENT-3571 ESign: create sign info widget for any signed document

https://jira.citeck.ru/browse/ECOSENT-3573 Esign: add sign action
ECOSENT-3571, ECOSENT-3573 upt
https://jira.citeck.ru/browse/ECOSENT-3574 Esign: add POA verification on sign
Add comprehensive documentation for BPMN Send Task notification component:
- XML examples for role-based, expression-based and config-sourced recipients
- Full attribute reference table (notificationType, notificationTemplate,
  notificationFrom, notificationLang, notificationAdditionalMeta)
- Recipient formats: roles, expressions, emails, recordRefs, comma-separated
- Calendar event (iCal) attributes with XML example
- Template reference format: notifications/template@<id>
- Model variables: $process.*, $process.event.*, $now, $user, $str.*,
  currentRunAsUser
- Attachment from event example
- additional meta with !str_ prefix explanation
…ry templates

Add missing developer-focused content to notification templates documentation:

- Fix typo: .html_ru.ft → .html_ru.ftl in section 2.4 note
- Add section 2.5: artifact directory structure in project repository
  with naming rules, multi-language layout, and full meta.yml example
- Add section 2.6: model field explained as Records API expression mapping
  with table of common expressions (nested attrs, fmt, ?localId, $process.*, etc.)
- Add section 3.5: library templates (macro libraries) — structure,
  YAML meta format, macro definition and import examples;
  note on sd-template-lib from ecos-service-desk as a real-world reference
…references

- Add general description section: ecos-notifications as the single
  notification gateway, SMTP resilience, links to related pages
- Fill in previously empty field descriptions: notification type,
  deferred send, created-from source, attempt counter, last attempt time
- Add status lifecycle section with ASCII flow diagram showing all
  transitions (WAIT_FOR_DISPATCH → SENT/ERROR/EXPIRED/BLOCKED)
- Add section 3: diagnostics guide — how to use the journal to diagnose
  delivery failures, what each status means for troubleshooting,
  how to read notification data and sent message fields
…on guide and scenarios

- Add _senders anchor for cross-referencing from other pages
- Section 1: clarify purpose (routing, blocking, custom processing);
  add step-by-step routing algorithm with sorting, matching and SKIPPED/SENT/BLOCKED logic;
  note that one notification is processed by exactly one sender
- Section 2 (new): sender form fields table — id, order, notification type,
  templates list (empty = all), conditions predicate, type, config
- Section 3.1: default senders — table of built-in senders with order 1000;
  mention ЭЦП signing option with link to mail_eds
- Section 3.2: command senders — config params table; full Kotlin implementation
  example (command class with @CommandType, CommandExecutor returning
  NotificationSenderSendStatus); correct class reference SendNotificationCommand
  from ru.citeck.ecos.notifications.lib.command
- Section 4: statuses table with journal status impact for each value
- Section 5 (new): typical scenarios — blocking by condition, external system
  delivery, conditional routing with multiple senders and fallback to default
…g and error codes

- Add _notification_lazy_approval anchor for cross-referencing
- Add section 1: step-by-step architecture diagram showing the full flow
  from task creation to email reply processing to task completion
- Add subject format explanation: Prefix-{taskId}-{Outcome}-{taskToken}
  with field descriptions and the requirement that Outcome matches ecos:outcomes id
- Add comment extraction explanation: [comment]...[comment] markers in email body
- Add section 2: config variables as table (lazy-approval-mail-for-reply,
  lazy-approval-default-comment) with descriptions of what they control
- Add section 3: BPMN UserTask configuration — full attribute reference table
  (laEnabled, laNotificationType, laNotificationTemplate,
  laManualNotificationTemplateEnabled, laManualNotificationTemplate,
  laNotificationAdditionalMeta, laReportEnabled, laSuccessReportNotificationTemplate,
  laErrorReportNotificationTemplate) with XML examples for static and dynamic templates
- Restructure section 4 (Camel DSL): convert route uri params to table format
- Restructure section 5 (templates): add subsections; add template variables table
  (task_id, task_token, mail_for_answer, default_comment) with source explanation;
  add mailto link structure breakdown
- Restructure section 6 (reports): add subsection 6.1 with complete error codes table
  (INCORRECT_DATA, USER_NOT_FOUND, TASK_NOT_FOUND, TASK_ALREADY_COMPLETED,
  OUTCOME_NOT_FOUND, TOKEN_NOT_FOUND, EXCEPTION); rename subsection 6.2 for variables
@KseniaDukhanina KseniaDukhanina merged commit fe3b16a into main Mar 2, 2026
1 check passed
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.

3 participants