Issue In Getting Instance Data
by gs.naidu@tcs.com
Dear Salatino,
Actually I have developed one workflow using
jbpm .In that workflow i have a user task .After completion of the user
task i wrote the code on
onexitaction of usertask .In that code i will update the data that was
inserted by user to db .Here I need to send a number( Ex:Patient Id) to
user.
I have tried in the following way.
kcontext.setVariable("genPatId","1234");
The problem is i have downloaded the code for console server and iam
changing the FormProcessingFacade.java file .The Problem iam facing is how
to
get the genPatId in FormProcessingFacade.java file.
Map dataMap = getProcessManagement().getInstanceData("68");
System.out.println("dataMap.patientName"+(String)dataMap.get(
"patientName"));
System.out.println("dataMap.patientId"+(String)dataMap.get("genPatId"
));
return Response.ok(SUCCESSFULLY_PROCESSED_INPUT).build();
iam getting genPatId as null value..
Please help me in knowing how to get the data that we will set on
onexitactions in FormProcessingFacade.java of consoleserver code.
Thanks&Regards,
G. Suresh Naidu
Tata Consultancy Services
Cell:- 8019844574
Mailto: gs.naidu(a)tcs.com
Website: http://www.tcs.com
____________________________________________
Experience certainty. IT Services
Business Solutions
Outsourcing
____________________________________________
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
12 years, 3 months
jBpm questions
by Márcio Dantas
Hi there,
some more generic questions about jBpm.
*App. integration*
1) is it possible to integrate jBpm with non-Java applications? How?
2) is API the preferred way to integrate jBpm with Java applications?
*Clustering*
3) If different servers running jBpm applications share the same database
and processes' base, is there something special to be done regarding
clustering?
4) how is the hibernate second level cache configuration done?
Thanks in advance
12 years, 3 months
jBpm web/application servers
by Márcio Dantas
Hi,
I'm doing an initial research about jBpm and would like help for the
queston below.
Does jBpm server run in web/application servers different than JBoss?
Like Glassfish, Tomcat, Jetty?
Thanks
12 years, 3 months
Human Tasks showing marshalled arguments in FTL
by Darin Wilcox
Hi,
I'm running jbpm 5.3.0.Final on JBoss 7.1.1 along with an H2 database.
Things are working well, but the arguments being consumed by the HumanTasks
are being displayed in the FTL as marshalled objects (see below):
[image: Inline image 2]
I had to dig into the code jbpm-gwt-form code and modify the
TaskFormDispatcher.provideForm(FormAuthorityRef ref) near the bottom of the
method so it looks like this:
if (input instanceof Map) {
Map<?, ?> map = (Map) input;
for (Map.Entry<?, ?> entry: map.entrySet()) {
if (entry.getKey() instanceof String) {
MarshalledContentWrapper val =
(MarshalledContentWrapper)entry.getValue();
Environment env = EnvironmentFactory.newEnvironment();
ContentMarshallerContext cmc = new
ContentMarshallerContext();
ObjectMarshallingStrategy[] strats =
(ObjectMarshallingStrategy[])env.get(EnvironmentName.OBJECT_MARSHALLING_STRATEGIES);
cmc.addStrategy(strats[0]); // Should only have one option
here...
Object o =
ContentMarshallerHelper.unmarshall("org.drools.marshalling.impl.SerializablePlaceholderResolverStrategy",
val.getContent(), cmc, env);
renderContext.put((String) entry.getKey(), o);
}
}
}
This change now results in:
[image: Inline image 3]
Is this a bug or have I done something incorrect?
Thanks,
- Darin
12 years, 3 months
Suggestion Required In ftl Forms
by gs.naidu@tcs.com
Hi,
Actually we have developed one work flow .There for each human task
we kept one ftl file.Once this human task is completed we kept the code on
onexit action and we inserted the data and after that we need to show a
message to the Same actor saying the This Id is Generated for you.Is there
a way to achieve it.i dont want to keep another human task just for
showing the id that was generated after storing the data..
Ex:just like showing alert to user when the data is stored successfully
and returned to jsp.
Suresh Naidu
Tata Consultancy Services
Cell:- 8019844574
Mailto: gs.naidu(a)tcs.com
Website: http://www.tcs.com
____________________________________________
Experience certainty. IT Services
Business Solutions
Outsourcing
____________________________________________
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
12 years, 3 months
Identification Of the User who started the Process in JBPM
by gs.naidu@tcs.com
Dear Sir,
Actually Iam developing Workflow for my project.In that
workflow i need to assign the task to the person who started the
Process.Please let me if there is a way to do it.
Thanks&Regards,
G. Suresh Naidu
Tata Consultancy Services
Cell:- 8019844574
Mailto: gs.naidu(a)tcs.com
Website: http://www.tcs.com
____________________________________________
Experience certainty. IT Services
Business Solutions
Outsourcing
____________________________________________
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
12 years, 3 months
Urgent-Identification Of the User who started the Process in JBPM
by gs.naidu@tcs.com
Hi..
Actually i have created bpmn process.In that i have a script task and a
user task and i have uploaded the same to Guvnor and i builded the package
successfully.I need to assign the human task with the person who logged in
to jbpm console and started the process.
Example: Suppose if john logged in to jbpm console and starts the process
then the actorId of the HumanTask process is john.
Please Let me know is there any way to do it.
Please do the Needful.
Thanks&Regards,
G. Suresh Naidu
Tata Consultancy Services
Cell:- 8019844574
Mailto: gs.naidu(a)tcs.com
Website: http://www.tcs.com
____________________________________________
Experience certainty. IT Services
Business Solutions
Outsourcing
____________________________________________
From:
Gs Naidu/TVM/TCS
To:
Mauricio Salatino <salaboy(a)gmail.com>
Cc:
jbpm-users(a)lists.jboss.org
Date:
08/13/2012 12:38 PM
Subject:
Re: [jbpm-users] Identification Of the User who started the Process in
JBPM
Thanks Mauricio for replying,
Actually i have written the following code in script task and i want to
assign the name value to an actor in userTask.Iam getting null value with
the following code.
String lstrUSerId=(String)kcontext.getVariable("initiator");
System.out.println("lstrUSerId"+lstrUSerId);
kcontext.setVariable("name",lstrUSerId);
Please do the Needful.
Thanks&Regards,
G. Suresh Naidu
Tata Consultancy Services
Cell:- 8019844574
Mailto: gs.naidu(a)tcs.com
Website: http://www.tcs.com
____________________________________________
Experience certainty. IT Services
Business Solutions
Outsourcing
____________________________________________
From:
Mauricio Salatino <salaboy(a)gmail.com>
To:
gs.naidu(a)tcs.com
Cc:
jbpm-users(a)lists.jboss.org
Date:
08/10/2012 10:49 PM
Subject:
Re: [jbpm-users] Identification Of the User who started the Process in
JBPM
Yes,
that's easy to do, the one calling startProcess() can insert a process
variable called: initiator and then use that to assign the task.
Cheers
On Fri, Aug 10, 2012 at 2:34 PM, <gs.naidu(a)tcs.com> wrote:
Dear Sir,
Actually Iam developing Workflow for my project.In that
workflow i need to assign the task to the person who started the
Process.Please let me if there is a way to do it.
Thanks&Regards,
G. Suresh Naidu
Tata Consultancy Services
Cell:- 8019844574
Mailto: gs.naidu(a)tcs.com
Website: http://www.tcs.com
____________________________________________
Experience certainty. IT Services
Business Solutions
Outsourcing
____________________________________________
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
_______________________________________________
jbpm-users mailing list
jbpm-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbpm-users
--
- MyJourney @ http://salaboy.wordpress.com
- Co-Founder @ http://www.jugargentina.org
- Co-Founder @ http://www.jbug.com.ar
- Salatino "Salaboy" Mauricio -
12 years, 3 months