[jBPM Development] - Custom (queryable) property in JPDL process-node
by mvermand
mvermand [https://community.jboss.org/people/mvermand] created the discussion
"Custom (queryable) property in JPDL process-node"
To view the discussion, visit: https://community.jboss.org/message/647124#647124
--------------------------------------------------------------
Hi,
I have the following requirement (using JBPM4.4 on Hibernate):
In order to work on future "versions" of a Process definition, our customers need to be able to make a branch of the current workflow definition and make modifications.
Then, when the time is right (for example, a certain law gets active) the new branch needs to be made current (gets deployed).
The different braches are maintained in our own repository.
Now, we need to be able to retrieve the "branch-number" from which the deployed definition originates.
I was hoping that it would be possible to add a custom attribute to the process node in the jpdl and retrieve it afterwards, but it seems that custom attributes are not saved (I looked in JBPM4_DEPLOYPROP).
I found some information about disabling the jpdl validation but that seems not such a good idea.
So my question(s):
1) is it possible to add a custom attribute to a process definition?
2) or is there a different way to save and retrieve custom meta data of a process definition?
Thank you very much!
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/647124#647124]
Start a new discussion in jBPM Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years
[jBPM Development] - Re: [jbpm5.1]Can get the current nodeId, correctly??
by leo li
leo li [https://community.jboss.org/people/leo87601] created the discussion
"Re: [jbpm5.1]Can get the current nodeId,correctly??"
To view the discussion, visit: https://community.jboss.org/message/646954#646954
--------------------------------------------------------------
Thanks for you suggestion and we had tried to implement them, but we found following problem:
3.X It works in the way you want out of the box.
For the Process Versioning, the process instance's data is working fine, but process Definition is stored in Kbase, and we try to add both version on the same Kbase,but the Ksession don't know which version they should work with. It always work with the last one which we added into the Kbase.Attachment is our testing casees for this problem.
Do the Process Definition (Kbase) and Ksession mapping should be maintanced by ourselves?
Should we share the Kbase for diferent version snapshot?
If Yes, I'm worry the older process request and newer process request happen concurrently, how should we handle that?
2.you never need to fix that table, never touch that table because it contains internal information from the engine, users should never touch that.
We found that the JBPM5 doesn't raise any exception when concurrent request and there are different status in the Process Instance and Node Instance,and the work item cannot be completed any more. For this problem,I think we have some way to fix error, no matter we fix them by changing db or invoking JBPM's API. Would you mind let me know how to do that in JBPM5?
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/646954#646954]
Start a new discussion in jBPM Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years
[JBoss AS 7 Development] - Building AS7
by Paweł Kubica
Paweł Kubica [https://community.jboss.org/people/pawcyk] created the discussion
"Building AS7"
To view the discussion, visit: https://community.jboss.org/message/646916#646916
--------------------------------------------------------------
I have problem with building AS7.
[INFO] JBoss Application Server: Arquillian Common ....... SUCCESS [7.425s]
[INFO] JBoss Application Server: Arquillian Protocol JMX . SUCCESS [6.269s]
[INFO] JBoss Application Server: Arquillian Managed Container FAILURE [1:15.138s]
[INFO] JBoss Application Server: Arquillian Remote Container SKIPPED
[INFO] JBoss Application Server: Arquillian TestNG Integration SKIPPED
It stop build on Arquillian Managed Container tests:
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Forking command line: /bin/sh -c cd /opt/jboss-as/arquillian/container-managed && /opt/sun-jdk-1.6.0.29/jre/bin/java -jar /opt/jboss-as/arquillian/container-managed/target/surefire/surefirebooter1451506914025761381.jar /opt/jboss-as/arquillian/container-managed/target/surefire/surefire4562649437214461632tmp /opt/jboss-as/arquillian/container-managed/target/surefire/surefire763432821862937573tmp
Running org.jboss.as.arquillian.container.managed.ManagedAsClientEnterpriseArchiveServletTestCase
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 68.244 sec <<< FAILURE!
Running org.jboss.as.arquillian.container.managed.IntegrationTestCase Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.044 sec <<< FAILURE!
Running org.jboss.as.arquillian.container.managed.ManagedInContainerTestCase Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.014 sec <<< FAILURE!
Running org.jboss.as.arquillian.container.managed.ManagedAsClientWebArchiveServletTestCase Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.01 sec <<< FAILURE!
Running org.jboss.as.arquillian.container.managed.ManagedAsClientTestCase Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.005 sec
Here are reports from test that don't pass:
http://pastebin.com/iC4TXUqQ http://pastebin.com/iC4TXUqQ
http://pastebin.com/PBCVjhsR http://pastebin.com/PBCVjhsR
Is it normal or I'm doing something wrong?
Thanks in advance.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/646916#646916]
Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years
[jBPM Development] - Re: How to bypass the jbpm console login form
by Ram Biradar
Ram Biradar [https://community.jboss.org/people/ram-biradar] created the discussion
"Re: How to bypass the jbpm console login form"
To view the discussion, visit: https://community.jboss.org/message/646320#646320
--------------------------------------------------------------
Hi Mauricio,
Thanks for your response. Our requirement is to embed/open the BPM Tasks screen and Process screens within our application. We do not want to enter the user name and password in the console again, because the used has already entered his user id and password in our web application. We looked for options to find a way to supply username and password to the console application and bypass the login and then open the BPMConsole home page within our webapplication. Is this acheivable ? Earlier we have received feedback from the forum members that we have download the console source and modify to suit our needs. I am not sure whether we are proceeding in right direction. Can you please suggest your opinion if this is not the best approach? If we are proceeding in the right direction, then we are facing few issues on deploying the BPM Console source code. I will post the steps/issue that we have tried so far and the current problem that we face as well.
Background on the versions
BPM Version------------------JBPM 5.1 version
JBOSS Version---------------JBoss 5.1.0GA
BPM Console source code- https://github.com/bpmc/bpm-console https://github.com/bpmc/bpm-console..
gwt version---------------------2.4
MVN Installer-------------------3.0.3
Steps followed:
1.Downloaded source code from https://github.com/bpmc/bpm-console https://github.com/bpmc/bpm-console..
2.Extracted in a folder (bpmc-bpm-console-1cf8710).
3.Completed "mvn clean install" from the bpmc-bpm-console-1cf8710 folder.
4. Completed "mvn package" from the bpmc-bpm-console-1cf8710 folder
5. I deployed generated War files from gui,server folders in JBoss Running Instance.
6.All the Pom.xml files are having 2.4.0 Snapshots versions
But,It is generating exception:
RROR [org.reflections.Reflections] (HDScanner) could not create Vfs.Dir from url. ignoring the exception and continuing
org.reflections.ReflectionsException: could not create Dir using org.jboss.errai.bus.server.service.metadata.VFSUrlType from url vfszip:/D:/jbpm5.1_BKP/jbpm-installer/jboss-5.1.0.GA/server/default/deploy/jbpm-gwt-console.war/WEB-INF/classes/
at org.reflections.vfs.Vfs.fromURL(Vfs.java:99).
Unable to Process deployment descriptor for /gwt-console.
I'm struggling with these issues.Could you please suggest me.
Thanks
Ram
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/646320#646320]
Start a new discussion in jBPM Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years