Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workspace prep demo #1

Merged
merged 9 commits into from
May 16, 2023
Merged

Workspace prep demo #1

merged 9 commits into from
May 16, 2023

Conversation

knstvk
Copy link
Contributor

@knstvk knstvk commented May 11, 2023

No description provided.

README.md Outdated Show resolved Hide resolved
doc/workspace-preparation-process.png Outdated Show resolved Hide resolved
src/main/java/com/company/demo/app/ProcessLogService.java Outdated Show resolved Hide resolved
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Speaking about further process definition improvements:

  • Since we have some process logging, we may also demonstrate how to use execution or task listener. We may create a listener that will write a log message like "Task XXX has been started". This listener will be added to each user task.
  • We don't demonstrate working with task outcomes in this sample. We could add outcomes to the Check request task, e.g. our favorite Approve - Reject or Complete and Restart (return the process to the beginning).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please create issues for future improvements

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#3, #4

@UiController("WorkspaceRequest.edit")
@UiDescriptor("workspace-request-edit.xml")
@EditedEntityContainer("workspaceRequestDc")
@ProcessForm(allowedProcessKeys = {"workspace-preparation"})
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have you considered having a separate screen for process form? One screen will be a regular editor that has nothing to do with BPM and the second screen will be used as a process form only.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps it's a good idea. Create an issue for this.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#2

@knstvk
Copy link
Contributor Author

knstvk commented May 12, 2023

Finished minor fixes. Let's make other improvements later.

@knstvk knstvk merged commit 0261db4 into main May 16, 2023
@knstvk knstvk deleted the workspace-prep-demo branch May 16, 2023 06:56
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