Skip to content

Documentation Page: Features & Refactoring#734

Open
Zayn-Javed wants to merge 53 commits intomainfrom
instance/documentation
Open

Documentation Page: Features & Refactoring#734
Zayn-Javed wants to merge 53 commits intomainfrom
instance/documentation

Conversation

@Zayn-Javed
Copy link
Copy Markdown
Contributor

@Zayn-Javed Zayn-Javed commented Apr 16, 2026

Overview:
Implemented printable documentation page for process execution instances (an extension to process documentation Page). Both pages are accessible via the shared viewer URL and support PDF export via browser print.

Summary

Code Generalisation:

  • Refactored and generalised the existing code for Process Documentation and made it resuable.

Both Documentation Pages:

  • New section for Sub-Processes (Extended Sub-Processes, Event triggered Sub-Processes)
  • Boundary Events are now shown attached with its parent without any separate section for them
  • Accessibility to both documentation pages for all registered users (by encoding spaceId in token)

BPMN order Fixes:

  • Element ordering follows actual BPMN sequence flows

Instance Documentation Page:

  • All features of the process documentation page plus execution-specific sections
  • Execution Overview showing execution ID, start/end times, overall state
  • Detailed Execution Log per element showing execution state, timing, machine, and variable changes
  • Process diagram colored by execution state with token positions overlaid
  • End states of all process variables

PDF Export:

  • Correct filename format: PROCEED - <process name> - Version: <version>
  • Page breaks before each major section
  • Fonts size consistence for headings

Backend Function:

  • Added a backend function to get the Full Name of a user given its ID
  • Added a backend function to get the Name of a Process given its ID without any other checks
  • Added a backend function to fetch process with BPMN for any authenticated user

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@Zayn-Javed Zayn-Javed requested a review from jjoderis May 6, 2026 23:52
@github-actions

This comment has been minimized.

Comment thread src/management-system-v2/app/shared-viewer/page.tsx Outdated
Comment thread src/management-system-v2/app/shared-viewer/page.tsx Outdated
Comment thread src/management-system-v2/app/shared-viewer/page.tsx Outdated
Comment thread src/management-system-v2/app/shared-viewer/page.tsx Outdated
@github-actions

This comment has been minimized.

jjoderis
jjoderis previously approved these changes May 7, 2026
@jjoderis jjoderis self-requested a review May 7, 2026 16:30
@jjoderis jjoderis dismissed their stale review May 7, 2026 16:30

Waiting for the pipeline to succeed

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 9, 2026

CLOUDRUN ACTIONS

✅ Successfully created Preview Deployment.

https://pr-734---ms-server-staging-c4f6qdpj7q-ew.a.run.app

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.

2 participants