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

Experiment with dmn generation #89

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

prestoncabe
Copy link
Owner

@prestoncabe prestoncabe commented Feb 28, 2025

@prestoncabe prestoncabe marked this pull request as draft February 28, 2025 20:23
@prestoncabe prestoncabe marked this pull request as ready for review February 28, 2025 20:23
@prestoncabe prestoncabe marked this pull request as draft February 28, 2025 20:23
Copy link
Owner Author

Choose a reason for hiding this comment

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

This file demonstrates using KIE Java libraries to create a new DMN file. You can execute the code with mvn compile exec:java -Dexec.mainClass=org.prestoncabe.generators.SimpleKogitoDMNExample

Copy link
Owner Author

Choose a reason for hiding this comment

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

This is a simple DMN file that I fed to Claude to help it get the right "flavor" of DMN (the kind of DMN that the KIE DMN Editor creates).

Copy link
Owner Author

Choose a reason for hiding this comment

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

This is example output of the SimpleKogitoDMNExample code. Note this is not idempotent because new IDs are generated for each run of the code. (this is good)

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.

1 participant