Need an Approval Sample Process of some kind. #912
Replies: 5 comments 22 replies
-
You can solve this in different ways. For example you can create a conditional gateway to route the process instance depending on a business rule: In this example ( download it from here ) the task approval 1 is only reached if 'debug.city=="paris"' See the condition on the first sequence flow at the gateway:
Another way to is to set the approver ($owner) directly based on business rule. In this case you would add a business rule like the following to the submit event: var result={};
result.isValid=true;
if ( workitem.getItemValueString('debug.city')=='Munich') {
result.approver='anna';
} else {
result.approver='marty';
} |
Beta Was this translation helpful? Give feedback.
-
Hi Ralph
The whole BPMN thing is new to me. first time trying to do it so there is
somewhat of a learning curve. I switched over to the ticket flow for now.
going to enable debug in the app also.
is the forms app a good way to get a lot of debug logging for the flow that
is running? I noticed the plugin code does a fair amount of logging.
…On Mon, Mar 31, 2025 at 3:39 AM Ralph Soika ***@***.***> wrote:
The debug workflow (I guess you mean the one from Imixs-Office-Workflow)
does require a lot of additional modules not part of the process manager.
This is the reason why you can't copy this worklfow into your project.
—
Reply to this email directly, view it on GitHub
<#912 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BE3G5TF57HVWJ2UJ5FBSJZD2XDWJ5AVCNFSM6AAAAABZ6IYGO6VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTENRXGMYTSOI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Regards,
*Fred Forester*
Solutions Architect
*ZEPHON LLC*
E: ***@***.*** ***@***.***> M: 610.291.2145
[image: Zephon.tech] <http://Zephon.tech>
|
Beta Was this translation helpful? Give feedback.
-
Hi Ralph
Sorry I have to do some billable hours every now and then :)
I looked here https://www.imixs.org/doc/logging.html but doesn't say how
and where to set the log levels for workflow. I also want to trace the
plugins also while I run the ticket flow.
I looked at the tutorial but I need to see what's going on under the
covers.
I understand the pictures what I still have a hard time understanding is
how the task values work
<itemvalue>_ticketid</itemvalue> (<itemvalue>_teamName</itemvalue>)
trying to find youtube vids that explain this stuff is not easy :)
Since I am a java developer and not a BPMN developer, seeing the traces may
help.
Thanks again!!
Fred
…On Mon, Mar 31, 2025 at 5:06 PM Ralph Soika ***@***.***> wrote:
Hi Fred,
to get a better start with Imixs-Workflow and BPMN take a look to this
short tutorial <https://www.imixs.org/doc/modelling/howto.html> shown
some core concepts of Imixs-Worklfow.
If you just want to test your BPMN model you can also do a simple JUnit
test. Imixs-Workflow provides a Worklfow-Engine-Mock Service that can be
used for. See the examples here: https://www.imixs.org/doc/testing.html
A JUnit test is great to see if a workflow model makes sense and works as
expected. It is also possible to build very complex test classes where you
test different aspects. For example you can test a single Plugin or Adapter
class.
Using a Docker Container with Imixs-Forms
<https://www.imixs.org/doc/webforms/index.html>, the Imixs-Process-Manager
<https://github.com/imixs/imixs-process-manager>, or just the
Imixs-Microservice <https://github.com/imixs/imixs-microservice> is more
like an integration test. This allows you to test your database, your
authentication framework and other aspects within your architecture - like
for example a LDAP integration.
So to get a better understanding BPMN and Imixs-Workflow JUnit tests are
great. We also use JUnit tests in production to ensure that a model update
does not break existing business logic for more complex processes.
Regarding the logging: Imixs-Workflow print out only a processing message
when a process step is executed and logs any kind of exceptions. You can
justify the Loglevel in your environment like described here
<https://www.imixs.org/doc/logging.html>. But do not expect to much from
this settings, as these provide more a deep-technical-logging of the
internal workflow engine behavior.
Our latest plugins - like the Imixs-AI plugin
<https://github.com/imixs/imixs-ai/tree/main/imixs-ai-workflow> provide
an integrated Debug mode that can be switched on/off directly form the BPMN
model. This is really cool and help to analyze complex flows as in AI
supported business workflows.
—
Reply to this email directly, view it on GitHub
<#912 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BE3G5TEDIG5M2KC2KUH2SU32XGU7HAVCNFSM6AAAAABZ6IYGO6VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTENRYGEZTKMY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Regards,
*Fred Forester*
Solutions Architect
*ZEPHON LLC*
E: ***@***.*** ***@***.***> M: 610.291.2145
[image: Zephon.tech] <http://Zephon.tech>
|
Beta Was this translation helpful? Give feedback.
-
I've thought about your point again and I think it makes sense to expand the capabilities of the Process Manager in this direction. Originally, I always wanted to keep the PM as simple as possible, but Imixs-Forms and the Imixs-JSF Sample are equally suitable here. I have started a new issue and will expand the project in the next few days. |
Beta Was this translation helpful? Give feedback.
-
OK, the Imixs-Process Manager is now deployed in the new version 2.1.2 . Users are now stored in a database and the Wildfly configuration of the security domain 'imixsrealm' has changes from simple property file to a database realm. The marty component creates automatically the necessary tables in your database. This component provides a user search based on the user database. I have not yet extended the forms components, so your workflow form using a 'user-input' field will not yet work. Note: there is also a new system BPMN model called 'marty-1.0'. This model contains system workflows to activate/deactivate userprofiles and teams. This model is mandatory. So it may be necessary for you to deploy this model in the first time. Don't be frustrated if it does not work at the first test - changing the security model is not the easiest part if you have a running application ;-) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi All
I'm new to all this BPMN stuff and am trying to setup a simple demo where a form is submitted for approval and based on one or more attributes a dynamic approver is assigned. could be hard coded for now either result sends an email.
I was reading some of the posts and saw screen shot of the process.
#875
get invoice, add items, do approval. if that exists as a sample that would be great!
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions