[jboss-user] [jBPM] - Re: Learning JBPM

2013-03-13 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: Learning JBPM"

To view the discussion, visit: https://community.jboss.org/message/802454#802454

--
There you go :

 http://www.jboss.org/jbpm/documentation http://www.jboss.org/jbpm/documentation

--

Reply to this message by going to Community
[https://community.jboss.org/message/802454#802454]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: Audit Trail

2013-03-13 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: Audit Trail"

To view the discussion, visit: https://community.jboss.org/message/802401#802401

--
There is something called as JPAWorkingMemoryDbLogger. Once you create it in 
your code, it starts to put the information in the log tables of jBPM.
--

Reply to this message by going to Community
[https://community.jboss.org/message/802401#802401]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: How to deploy jbpm 5.4 to jboss 7 project

2013-03-13 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: How to deploy jbpm 5.4 to jboss 7 project"

To view the discussion, visit: https://community.jboss.org/message/802399#802399

--
Mike,
The link that I gave you in the other discussion will help you achieve it.
Some libraries are common and some depend on the web container you use, the 
type of human task service you use etc.
Tables are gonna be created through JPA.
--

Reply to this message by going to Community
[https://community.jboss.org/message/802399#802399]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: Where are the sql statements to create tables in database for jbpm 5.4

2013-03-13 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: Where are the sql statements to create tables in database for jbpm 5.4"

To view the discussion, visit: https://community.jboss.org/message/802394#802394

--
Hi Mike,

I dont understand what you mean by jboss project here. If you need help in 
creating a web application using jbpm5 then this may get you started.  
https://community.jboss.org/people/roxy1987/blog/2013/01/22/jbpm5-web-application-example
 
https://community.jboss.org/people/roxy1987/blog/2013/01/22/jbpm5-web-application-example.
 But its in WebSphere server. So you will need to change a few config. Good 
luck.

Regards.

--

Reply to this message by going to Community
[https://community.jboss.org/message/802394#802394]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: ProcessContext Throwing NPE

2013-03-13 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: ProcessContext Throwing NPE"

To view the discussion, visit: https://community.jboss.org/message/802390#802390

--
Hi Thomas,

I wanna set a variable after the process has been started. For instance, 
consider a process with 2 tasks.
User fills in a text field(say 'newUser') while completing 1st task and the 
value of the text field is used as the actor id for the next task('#newUser').
And I dont wanna use any script node in between.
I have tried using a Map and putting it in the content of the task and mapping 
with out parameter but no luck. So probably I did nt use it correctly. So may 
be you could give me a running example code.

Thanks.



--

Reply to this message by going to Community
[https://community.jboss.org/message/802390#802390]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: Where are the sql statements to create tables in database for jbpm 5.4

2013-03-12 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: Where are the sql statements to create tables in database for jbpm 5.4"

To view the discussion, visit: https://community.jboss.org/message/802139#802139

--
Like I said. The tables are generated with JPA Entities. If you checkout the 
persistence file, you can get the class names. Eg. Table SESSIONINFO entity 
class is in 
drools-persistence-jpa-5.x.x.jar. These are classes with @ Entity annotation 
and are created when you deploy jpbm-console-server war.

For help on migration, checkout this link. 
http://planet.jboss.org/post/migrating_to_jbpm5

Regards.

--

Reply to this message by going to Community
[https://community.jboss.org/message/802139#802139]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: Where are the sql statements to create tables in database for jbpm 5.4

2013-03-11 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: Where are the sql statements to create tables in database for jbpm 5.4"

To view the discussion, visit: https://community.jboss.org/message/801957#801957

--
There are table entity classes. You can check out the persistence.xml file for 
the classes and their path.

jbpm-installer\db\task-persistence. &
jbpm-installer\db\jbpm-persistence

Regards.

--

Reply to this message by going to Community
[https://community.jboss.org/message/801957#801957]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: Invoke Human Task Flow - Using API

2013-03-11 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: Invoke Human Task Flow - Using API"

To view the discussion, visit: https://community.jboss.org/message/801956#801956

--
To start a process


public static void startProc() throws Exception
 {
  try {
   KnowledgeBase kbase = readKnowledgeBase();
   StatefulKnowledgeSession ksession = createKnowledgeSession(kbase);
   KnowledgeRuntimeLogger logger = 
KnowledgeRuntimeLoggerFactory.newThreadedFileLogger(ksession, "test", 1000);
   ksession.startProcess("com.sample.demoProc");
   if(humanTaskHandler.isConnected())
   {
    humanTaskHandler.dispose();
   }
   System.out.println("Process started ...");
   logger.close();
  } catch (Throwable t) {
   t.printStackTrace();
  }
 }
 private static KnowledgeBase readKnowledgeBase() throws Exception {
  KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder();
  kbuilder.add(ResourceFactory.newClassPathResource("demoProc.bpmn"), 
ResourceType.BPMN2);
  return kbuilder.newKnowledgeBase();
 }
 
 private static StatefulKnowledgeSession createKnowledgeSession(KnowledgeBase 
kbase) {
  StatefulKnowledgeSession ksession = kbase.newStatefulKnowledgeSession();
  humanTaskHandler = new HornetQHTWorkItemHandler(ksession);
  humanTaskHandler.setIpAddress("localhost");
  humanTaskHandler.setPort(5153);
  ksession.getWorkItemManager().registerWorkItemHandler("Human Task", 
humanTaskHandler);  
  return ksession;
 }
 


To complete a human task


public static void completeTask(long taskId, String userId) throws Exception
 {
  String name = "client 1"+UUID.randomUUID();
  TaskClient client = new TaskClient(new HornetQTaskClientConnector(name, new 
HornetQTaskClientHandler(SystemEventListenerFactory.getSystemEventListener(;
  BlockingTaskOperationResponseHandler responseHandler = new 
BlockingTaskOperationResponseHandler();
  ContentData contentData = null;
  client.connect(ipAddress, port);
  try
  {
   client.start(taskId, userId, responseHandler);
   responseHandler = new BlockingTaskOperationResponseHandler();
   responseHandler.waitTillDone(5000);
   client.complete(taskId, userId, contentData, responseHandler);
   responseHandler.waitTillDone(5000);
   BpmAPI.completeWorkItem(taskId);
  }
  catch(Exception e)
  {
   BpmExceptionHandler.handleException(e);
  }
  finally
  {
   if(client != null)
   {
    client.disconnect();
   } 
  }
 }


To Pause/Suspend


public static void completeTask(long taskId, String userId, Map 
map) throws Exception
 {
  String name = "client 1"+UUID.randomUUID();
  TaskClient client = new TaskClient(new HornetQTaskClientConnector(name, new 
HornetQTaskClientHandler(SystemEventListenerFactory.getSystemEventListener(;
  BlockingTaskOperationResponseHandler responseHandler = new 
BlockingTaskOperationResponseHandler();
  client.connect(ipAddress, port);
  try
  {
   client.suspend(taskId, userId, responseHandler);
   responseHandler.waitTillDone(5000);
  }
  catch(Exception e)
  {
   BpmExceptionHandler.handleException(e);
  }
  finally
  {
   if(client != null)
   {
    client.disconnect();
   } 
  }
 }
 


I dont use Guvnor so cant say about that.

Regards.
--

Reply to this message by going to Community
[https://community.jboss.org/message/801956#801956]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: ProcessContext Throwing NPE

2013-03-11 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: ProcessContext Throwing NPE"

To view the discussion, visit: https://community.jboss.org/message/801952#801952

--
Guys, 
Any Help on this please?

Regards.
--

Reply to this message by going to Community
[https://community.jboss.org/message/801952#801952]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: Startup of task service

2013-03-08 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: Startup of task service"

To view the discussion, visit: https://community.jboss.org/message/801611#801611

--
Well to start up human task using ant, all you need to run is start.h2 before 
it. Or the target data base server should be runnning in case you have migrated 
it to another db.
If you run the ant scripts in the sequence 

+ant start.h2+ 
+ant start.jboss+ 
+ant start.human.task+ 
+ant start.eclipse+ 


Then I believe you will get a conflict with the address:port usage as the 
script +ant start.jboss+  has already started task service. I dont remember 
correctly but If I am not wrong, in the very first draft of jbpm 5, task 
service was required to start up this way. STarting up jboss did not start 
human task service with that version. And quite a lot of documentation has not 
been modified with the upgrades. I am not sure about it though.

Well All you need to do is 

+ant start.h2+ 
+ant start.human.task+

+Regards.+

--

Reply to this message by going to Community
[https://community.jboss.org/message/801611#801611]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: Startup of task service

2013-03-08 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: Startup of task service"

To view the discussion, visit: https://community.jboss.org/message/801605#801605

--
Well to start up human task using ant, all you need to run is start.h2 before 
it. Or the target data base server should be runnning in case you have migrated 
it to another db.
If you run the ant scripts in the sequence 

+ant start.h2+ 
+ant start.jboss+ 
+ant start.human.task+ 
+ant start.eclipse+ 


Then I believe you will get a conflict with the address:port usage as the 
script +ant start.jboss+  has already started task service. I dont remember 
correctly but If I am not wrong, in the very first draft of jbpm 5, task 
service was required to start up this way. STarting up jboss did not start 
human task service with that version. And quite a lot of documentation has not 
been modified with the upgrades. I am not sure about it though.

Well All you need to do is 

+ant start.h2+ 
+ant start.human.task+

+Regards.+
--

Reply to this message by going to Community
[https://community.jboss.org/message/801605#801605]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: JBPM 5.4 Installation Does not work

2013-03-08 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: JBPM 5.4 Installation Does not work"

To view the discussion, visit: https://community.jboss.org/message/801597#801597

--
Whats difficult in its installation. All you need is to run 
ant install.demo.
And then you gotta keep looking at failures and fulfil the dependencies(Just 
one I think that of eclipse). It gets a little tricky when you try to move it 
to a different web container or a different database. But I believe thats true 
with any tool integration.
--

Reply to this message by going to Community
[https://community.jboss.org/message/801597#801597]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: Startup of task service

2013-03-08 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: Startup of task service"

To view the discussion, visit: https://community.jboss.org/message/801593#801593

--
I am not sure if I understand your question correctly.

When you start jboss server, it deploy all the war files, including the human 
task war. The human task war contains a servlet which is loaded on startup. And 
it has the logic to fire up HornetQ task server by default. So you dont need to 
start up the task server, just deploying the war file starts it up.
If you are looking to create a web application of some sort then you have 2 
options to use the human task service : 
a) Either you use the Servlet in your project and load it on start up. 
b) Or you use the human task war directly and modify the persistence.xml inside 
for data sources and a few other modifications.

If you wanna use the human task war then you can follow  
https://community.jboss.org/people/roxy1987/blog/2013/02/19/web-application-with-human-task-war
 
https://community.jboss.org/people/roxy1987/blog/2013/02/19/web-application-with-human-task-war
 for modification.

Lemme know if that answers your query.
Regards.



--

Reply to this message by going to Community
[https://community.jboss.org/message/801593#801593]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: Startup of task service

2013-03-08 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: Startup of task service"

To view the discussion, visit: https://community.jboss.org/message/801539#801539

--
That was a typo, I am sorry. What I meant is :

** 
 









--

Reply to this message by going to Community
[https://community.jboss.org/message/801539#801539]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: Startup of task service

2013-03-07 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: Startup of task service"

To view the discussion, visit: https://community.jboss.org/message/801459#801459

--
Your task service is not getting started because your roles.properties file 
link. Just look for the following code snippet in your build.xml

 
  
    
    
  
    


And add the line *  
like this :* 




  
    
    
  
    


--

Reply to this message by going to Community
[https://community.jboss.org/message/801459#801459]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: How to user jbpm5.4 integration Tomcat 6.x?

2013-03-07 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: How to user jbpm5.4 integration Tomcat 6.x?"

To view the discussion, visit: https://community.jboss.org/message/801378#801378

--
I believe this is what youare looking for  
https://community.jboss.org/people/bpmn2user/blog/2011/01/21/test 
https://community.jboss.org/people/bpmn2user/blog/2011/01/21/test

--

Reply to this message by going to Community
[https://community.jboss.org/message/801378#801378]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: Unable to build EntityManagerFactory [PersistenceUnit: org.jbpm.persistence.jpa]

2013-03-07 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: Unable to build EntityManagerFactory [PersistenceUnit: 
org.jbpm.persistence.jpa]"

To view the discussion, visit: https://community.jboss.org/message/801373#801373

--
You can remove the driver from from the application as the module is already 
defined. Just to ensure there are no duplicates.
--

Reply to this message by going to Community
[https://community.jboss.org/message/801373#801373]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: Example Mina & Human task list

2013-03-07 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: Example Mina & Human task list"

To view the discussion, visit: https://community.jboss.org/message/801370#801370

--
Hey,

There seems to be a duplicate of the persistence unit.
org.jboss.msc.service.DuplicateServiceException.

Please see if the same name is being used by any other persistence unit.

Also on a different note, a couple of observations : 
I see that you have commented the look up class property. Please uncomment it 
and change the class from websphere to jboss.
Please remove the connection properties from the persistence unit 
*org.jbpm.persistence.jpa,*  since you have defined a data source there.

Regards.



--

Reply to this message by going to Community
[https://community.jboss.org/message/801370#801370]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - ProcessContext Throwing NPE

2013-03-07 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"ProcessContext Throwing NPE"

To view the discussion, visit: https://community.jboss.org/message/801365#801365

--
Hi community,

I have run into an issue trying to set a variable.
What I want is to set a variable while completing a task. The following is what 
I do : 


//Just before task complete I call the following code.
 
StatefulKnowledgeSession kSession = BpmRepositoryConfig.createSession();
  ProcessContext kContext = new ProcessContext(kSession);
  ProcessInstance processInstance = 
kSession.getProcessInstance(taskData.getProcessInstanceId());
  logger.info("ProcInst : "+processInstance.getId());
  kContext.setProcessInstance(processInstance);
  for (Entry entry : map.entrySet())
  {
  logger.info(entry.getKey() + "/" + entry.getValue());
  if(!(kContext == null))
   kContext.setVariable(entry.getKey(), entry.getValue());
  else
   logger.severe("KContext is Null");
  }
 


KContext is not null. But it throws the following NPE : 


[3/7/13 10:47:46:951 COT] 0110 SystemErr R 
java.lang.NullPointerException
[3/7/13 10:47:46:951 COT] 0110 SystemErr R  at 
org.jbpm.process.instance.impl.ProcessInstanceImpl.getProcess(ProcessInstanceImpl.java:68)
[3/7/13 10:47:46:951 COT] 0110 SystemErr R  at 
org.jbpm.process.instance.impl.ProcessInstanceImpl.getContextInstance(ProcessInstanceImpl.java:133)
[3/7/13 10:47:46:951 COT] 0110 SystemErr R  at 
org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.setVariable(WorkflowProcessInstanceImpl.java:238)
[3/7/13 10:47:46:951 COT] 0110 SystemErr R  at 
org.drools.spi.ProcessContext.setVariable(ProcessContext.java:68)
[3/7/13 10:47:46:951 COT] 0110 SystemErr R  at 
pe.com.bcp.model.BpmAPI.createTaskVariables(Unknown Source)


Need help please. And other ideas to create task variables are welcome. Thanks.
--

Reply to this message by going to Community
[https://community.jboss.org/message/801365#801365]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: JBPM Project deployment to IBM WAS

2013-03-05 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: JBPM Project deployment to IBM WAS"

To view the discussion, visit: https://community.jboss.org/message/800899#800899

--
Without any DB? So you dont wanna persist the data? But then I believe you wont 
need to worry about running jbpm on websphere or any web container for that 
matter. since it looks like all you need websphere for is to display web pages. 
In that case you can use the same sample project that you have and change it to 
a simple dynamic web project by adding the pages to it. Dont worry about 
transaction or any thing.
--

Reply to this message by going to Community
[https://community.jboss.org/message/800899#800899]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: JBPM Project deployment to IBM WAS

2013-03-05 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: JBPM Project deployment to IBM WAS"

To view the discussion, visit: https://community.jboss.org/message/800892#800892

--
If you check the persistence.xml inside, you will find the transaction lookup 
class for websphere server. The same needs to change for running this on other 
web containers.
--

Reply to this message by going to Community
[https://community.jboss.org/message/800892#800892]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: JBPM Project deployment to IBM WAS

2013-03-05 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: JBPM Project deployment to IBM WAS"

To view the discussion, visit: https://community.jboss.org/message/800891#800891

--
Shibasis,

 
https://community.jboss.org/people/roxy1987/blog/2013/01/22/jbpm5-web-application-example
 
https://community.jboss.org/people/roxy1987/blog/2013/01/22/jbpm5-web-application-example
 this is an example of web application.Its a running example configured to run 
with WAS and DB2. I created this in my initial days of exploring jBPM5. A lot 
has been changed by now but atleast this will get you started. Any questions 
let me know..

Regards.

--

Reply to this message by going to Community
[https://community.jboss.org/message/800891#800891]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: JBPM Project deployment to IBM WAS

2013-03-05 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: JBPM Project deployment to IBM WAS"

To view the discussion, visit: https://community.jboss.org/message/800840#800840

--
Dont forget to change the transaction class look up..
--

Reply to this message by going to Community
[https://community.jboss.org/message/800840#800840]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: What is actually the processId and does it depend on the process version?

2013-03-04 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: What is actually the processId and does it depend on the process version?"

To view the discussion, visit: https://community.jboss.org/message/800699#800699

--
Unlike jbpm4, jbpm5 doesnot deploy the process definitions in the database. 
There may be a possibility with guvnor but as far as I know, it is not possible 
with guvnor too.
--

Reply to this message by going to Community
[https://community.jboss.org/message/800699#800699]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: Example Mina & Human task list

2013-03-04 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: Example Mina & Human task list"

To view the discussion, visit: https://community.jboss.org/message/800698#800698

--
CHeck it out.

 
https://community.jboss.org/people/roxy1987/blog/2013/01/22/jbpm5-web-application-example
 
https://community.jboss.org/people/roxy1987/blog/2013/01/22/jbpm5-web-application-example


--

Reply to this message by going to Community
[https://community.jboss.org/message/800698#800698]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: jbpm 5.4 installation problems with eclipse

2013-03-04 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: jbpm 5.4 installation problems with eclipse"

To view the discussion, visit: https://community.jboss.org/message/800697#800697

--
Yeah you can use other versions. Dont depend on ant to get eclipse. Just 
download it your self and update build.xml with the new eclipse package name 
and copy the file in jbpm-installer/lib.
--

Reply to this message by going to Community
[https://community.jboss.org/message/800697#800697]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: How to reload knowledgeSession from database?

2013-02-25 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: How to reload knowledgeSession from database?"

To view the discussion, visit: https://community.jboss.org/message/799400#799400

--
To use JMS human task service, you need to modify the human task war. In 
web.xml, you can change the value of the parameter from hornetQ or mina to jms.
--

Reply to this message by going to Community
[https://community.jboss.org/message/799400#799400]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: NullPointerException while executing knowledgeSession.getProcessInstance

2013-02-25 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: NullPointerException while executing knowledgeSession.getProcessInstance"

To view the discussion, visit: https://community.jboss.org/message/799376#799376

--
I dont know about the question you raised but I can give you other alternatives 
to get process related details. But it all depends on why you want the process 
instance object.

If you are creating the process in the same session then you can get the 
instance while starting the process.


ProcessInstance processInstance = ksession.startProcess(processDefId);


If you are saving the session then I believe you can save the process instance 
object too.

On the other hand if your Session is killed, and if you have the process 
instance id, which I believe you do have as I see the hardcoded value 16 in the 
code, you could use the following code to get process instance related details 
: 



JPAProcessInstanceDbLog.findProcessInstance(id);


Regards.

Another way is to connect to the taskclient and getting the TaskSummary List 
object.

client.getTasksByStatusByProcessId(processInstanceId,statusList, "en-UK", 
responseHandler);
   taskSummaryList = responseHandler.getResults();
--

Reply to this message by going to Community
[https://community.jboss.org/message/799376#799376]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: NullPointerException while executing knowledgeSession.getProcessInstance

2013-02-22 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: NullPointerException while executing knowledgeSession.getProcessInstance"

To view the discussion, visit: https://community.jboss.org/message/799148#799148

--
What do you want to achieve by the code?
--

Reply to this message by going to Community
[https://community.jboss.org/message/799148#799148]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: jBPM straying after user task completed

2013-02-22 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: jBPM straying after user task completed"

To view the discussion, visit: https://community.jboss.org/message/799099#799099

--
I believe so. I removed the workitem completion code and tried it just with 
TaskClient.complete(...), it just completed the task and did not signal the 
workflow. So yeah.
--

Reply to this message by going to Community
[https://community.jboss.org/message/799099#799099]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: jBPM straying after user task completed

2013-02-21 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: jBPM straying after user task completed"

To view the discussion, visit: https://community.jboss.org/message/798970#798970

--
Okay. I think I know what is wrong with your code. I believe you are not 
completing the workitem but completing the task.
Just add the code WorkItemManager.completeWorkItem(workItemId, );
This will move your workflow forward.

Regards.
--

Reply to this message by going to Community
[https://community.jboss.org/message/798970#798970]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: Error on task complete.

2013-02-21 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: Error on task complete."

To view the discussion, visit: https://community.jboss.org/message/798840#798840

--
Can you try to use the same code with jbpm 5.4? Just for the proof of it. I 
read the same stack somewhere and there is a chance that this may be a bug in 
5.1.
--

Reply to this message by going to Community
[https://community.jboss.org/message/798840#798840]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: jBPM straying after user task completed

2013-02-20 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: jBPM straying after user task completed"

To view the discussion, visit: https://community.jboss.org/message/798596#798596

--
Since your process did not print the statement, so well I looked for problems 
in your human task. Only thing I could find is the comment parameter of the 
node which is empty. It cannot be left null. I dont know if it is the root 
cause but leaving it blank results in a weird behaviour.
--

Reply to this message by going to Community
[https://community.jboss.org/message/798596#798596]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: jBPM5.4 Integrating tomcat6 with jbpm-console jBPM-console

2013-02-20 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: jBPM5.4 Integrating tomcat6 with jbpm-console jBPM-console"

To view the discussion, visit: https://community.jboss.org/message/798585#798585

--
Dont worry about Birt related steps, Birt is only for reporting.
--

Reply to this message by going to Community
[https://community.jboss.org/message/798585#798585]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: Error on task complete.

2013-02-19 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: Error on task complete."

To view the discussion, visit: https://community.jboss.org/message/798427#798427

--
Also just dispose or disconnect the client evertime after its usage. May be you 
can put the code in finally for each method.
--

Reply to this message by going to Community
[https://community.jboss.org/message/798427#798427]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: Error on task complete.

2013-02-19 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: Error on task complete."

To view the discussion, visit: https://community.jboss.org/message/798425#798425

--
Ok. Are you using the same name for the task client everytime?
Just try to use a random name for task client while creating the client object. 
Something like following :


String name = "client 1" ++UUID.randomUUID();
TaskClient client = new TaskClient(new HornetQTaskClientConnector(name, new 
HornetQTaskClientHandler(SystemEventListenerFactory.getSystemEventListener(;


Regards.
--

Reply to this message by going to Community
[https://community.jboss.org/message/798425#798425]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: jBPM straying after user task completed

2013-02-19 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: jBPM straying after user task completed"

To view the discussion, visit: https://community.jboss.org/message/798422#798422

--
So the statement is not printed? Will it be possible for you to attach your 
process definition?
--

Reply to this message by going to Community
[https://community.jboss.org/message/798422#798422]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: jBPM TaskService.getTasksAssignedAsPotentialOwner pagination method deprecated

2013-02-19 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: jBPM TaskService.getTasksAssignedAsPotentialOwner  pagination method 
deprecated"

To view the discussion, visit: https://community.jboss.org/message/798420#798420

--
Well I dont know about filtering the group tasks, but personal tasks can be 
filtered with status etc.
And for deprecation, well the method that I told you is not deprecated.

Regards.
--

Reply to this message by going to Community
[https://community.jboss.org/message/798420#798420]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: jBPM straying after user task completed

2013-02-19 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: jBPM straying after user task completed"

To view the discussion, visit: https://community.jboss.org/message/798395#798395

--
Just replace you service task with a script task that prints a statement. Just 
to check if there is something wrong with the process or with the way you 
implement the service task.
--

Reply to this message by going to Community
[https://community.jboss.org/message/798395#798395]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: jBPM straying after user task completed

2013-02-19 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: jBPM straying after user task completed"

To view the discussion, visit: https://community.jboss.org/message/798394#798394

--
Oh there is a service task after your human task. I thought your human tasks 
are not getting assigned and created. What are you using service task for?
--

Reply to this message by going to Community
[https://community.jboss.org/message/798394#798394]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: jBPM 5.x : User and Group sharing same table

2013-02-19 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: jBPM 5.x : User and Group sharing same table"

To view the discussion, visit: https://community.jboss.org/message/798374#798374

--
Its not a bug. This is how it is. Both user ids and group ids are stored in the 
same table.
--

Reply to this message by going to Community
[https://community.jboss.org/message/798374#798374]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: jBPM5.4 Integrating tomcat6 with jbpm-console jBPM-console

2013-02-19 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: jBPM5.4 Integrating tomcat6 with jbpm-console jBPM-console"

To view the discussion, visit: https://community.jboss.org/message/798372#798372

--
check this out.  
https://community.jboss.org/people/bpmn2user/blog/2011/01/21/test 
https://community.jboss.org/people/bpmn2user/blog/2011/01/21/test

--

Reply to this message by going to Community
[https://community.jboss.org/message/798372#798372]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: jBPM TaskService.getTasksAssignedAsPotentialOwner pagination method deprecated

2013-02-19 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: jBPM TaskService.getTasksAssignedAsPotentialOwner  pagination method 
deprecated"

To view the discussion, visit: https://community.jboss.org/message/798371#798371

--
You can register UserGroupCallBack via UserGroupCallbackManager. Or may be you 
can use the DefaultUserGroupCallBackImpl which can be created based on simple 
java.util.Properties files that has user and group mappings e.g.

alex=manager,sales,admin

After that you can use the method *taskClient.getTasksAssignedAsPotentialOwner 
(* 
http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true
 *String* *userId, *  
http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true
 *String* *language,*  
http://docs.jboss.org/jbpm/v5.4/javadocs/org/jbpm/task/service/TaskClientHandler.TaskSummaryResponseHandler.html
 *TaskClientHandler.TaskSummaryResponseHandler* *responseHandler)* 

This will invoke the callback and will collect tasks considering all the groups 
of the userid, for instance for alex it will find tasks for all three groups 
(manager,sales,admin).

Regards.


--

Reply to this message by going to Community
[https://community.jboss.org/message/798371#798371]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: Error on task complete.

2013-02-19 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: Error on task complete."

To view the discussion, visit: https://community.jboss.org/message/798367#798367

--
Why are you still using version 5.1. A lot of fixes are there in version 5.4
--

Reply to this message by going to Community
[https://community.jboss.org/message/798367#798367]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: jBPM installer can't download Eclipse

2013-02-19 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: jBPM installer can't download Eclipse"

To view the discussion, visit: https://community.jboss.org/message/798366#798366

--
You can put the url for the latest version. But its better if you download the 
package manually and copy it in the lib directory.
--

Reply to this message by going to Community
[https://community.jboss.org/message/798366#798366]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: jBPM straying after user task completed

2013-02-19 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: jBPM straying after user task completed"

To view the discussion, visit: https://community.jboss.org/message/798363#798363

--
Looks like you have a problem with your UserGroupCallBack. The assignee of the 
task should be loaded by Call Back class and hence should be a valid jbpm user. 
If not then the task is not assigned and is not logged in the database.
--

Reply to this message by going to Community
[https://community.jboss.org/message/798363#798363]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: Question Regarding LDAP UserCallBack Implementation

2013-02-15 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: Question Regarding LDAP UserCallBack Implementation"

To view the discussion, visit: https://community.jboss.org/message/797937#797937

--
Amazing. Thanks a million.  :)
--

Reply to this message by going to Community
[https://community.jboss.org/message/797937#797937]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: Implementing "Where Is the Process Now" feature

2013-02-15 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: Implementing "Where Is the Process Now" feature"

To view the discussion, visit: https://community.jboss.org/message/797936#797936

--
yeah well your link dont use the same method.
Cant check out the video in office. ANyway. good luck with that.
--

Reply to this message by going to Community
[https://community.jboss.org/message/797936#797936]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: Could not connect task client: on ip: 127.0.0.1 - port: 5153

2013-02-15 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: Could not connect task client: on ip: 127.0.0.1 - port: 5153"

To view the discussion, visit: https://community.jboss.org/message/797934#797934

--
You need to run the ant script start.demo. it will start up your jboss server 
and deploy your human task war file.. Human task war has a servlet which loads 
on startup and starts HornetQ server by default on 127.0.0.1:5153 for jbpm 5.4
Once this is up, you can try to run the evaluation example and see if it starts 
the process.

Regards.
--

Reply to this message by going to Community
[https://community.jboss.org/message/797934#797934]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: Question Regarding LDAP UserCallBack Implementation

2013-02-15 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: Question Regarding LDAP UserCallBack Implementation"

To view the discussion, visit: https://community.jboss.org/message/797928#797928

--
:)  Thanks Sandra.
I can handle the exception as long as it is not getting in the way of the 
process. WIll it be okay for you to share your call back class with me?

Regards.
--

Reply to this message by going to Community
[https://community.jboss.org/message/797928#797928]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Question Regarding LDAP UserCallBack Implementation

2013-02-14 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Question Regarding LDAP UserCallBack Implementation"

To view the discussion, visit: https://community.jboss.org/message/797778#797778

--
Hi,

With the default implementation of UserCallBack, I believe, jBPM checks the 
table ORGANIZATIONALENTITY to see if the user is valid or not.

Now if I implement callBack with LDAP server, do I need to worry about putting 
the user information in the table ORGANIZATIONALENTITY??
I am concerned that if I use LDAP directly, and if I leave the table empty, 
there may be some feature/API which look for user information in the database. 

Regards.
--

Reply to this message by going to Community
[https://community.jboss.org/message/797778#797778]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: Implementing "Where Is the Process Now" feature

2013-02-14 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: Implementing "Where Is the Process Now" feature"

To view the discussion, visit: https://community.jboss.org/message/797718#797718

--
To get the status of a process graphically, you need to find out the 
coordinates of the activity which is currently pending. The coordinates are 
saved in the bpmn file and can be retrieved as following :
process = kbase.getProcess(processDefId);
ArrayList coordinates = new ArrayList();
try
{
List nodeInstanceLogList;
for (Node node : (Node[])((WorkflowProcessImpl) process).getNodes())
{
nodeInstanceLogList = 
JPAProcessInstanceDbLog.findNodeInstances(Long.parseLong(processInstanceId), 
new Long(node.getId()).toString());
if(nodeInstanceLogList.size() == 1)
{
logger.info("Name of the Node : "+node.getName());
coordinates.add(node.getMetaData().get("x"));
coordinates.add(node.getMetaData().get("y"));
coordinates.add(node.getMetaData().get("height"));
coordinates.add(node.getMetaData().get("width"));
}
}
coordinates.add(processName);
}
catch(Exception e)
{
CustomExceptionHandler.handleException(e);
}
 


Once you have the coordinates you can use div tags in html to relatively places 
images of process and arrow.
--

Reply to this message by going to Community
[https://community.jboss.org/message/797718#797718]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: Could not connect task client: on ip: 127.0.0.1 - port: 5153

2013-02-14 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: Could not connect task client: on ip: 127.0.0.1 - port: 5153"

To view the discussion, visit: https://community.jboss.org/message/797713#797713

--
Check if you are able to listen on port 5153? And after you start a process, 
add a line to dispose the client handler.
--

Reply to this message by going to Community
[https://community.jboss.org/message/797713#797713]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: userGroupCallback : getGroupTaskList

2013-02-14 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: userGroupCallback : getGroupTaskList"

To view the discussion, visit: https://community.jboss.org/message/797709#797709

--
Sandra,

The group task thing troubled me a lot too.
I dont know whats wrong with your impl but this is what I do :

//Connect the task handler 
BlockingTaskSummaryResponseHandler summaryHandler = new 
BlockingTaskSummaryResponseHandler();
ArrayList groupTaskDetail = new ArrayList();
List tasks = null; 
 
List groups = getGroupsForUser(userId);  // Get the group IDs for the 
target user..
client.getTasksAssignedAsPotentialOwner(userId, groups, "en-UK", 
summaryHandler);
tasks = summaryHandler.getResults();


Regards.
--

Reply to this message by going to Community
[https://community.jboss.org/message/797709#797709]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: JBPM5 persistence process

2013-02-14 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: JBPM5 persistence process"

To view the discussion, visit: https://community.jboss.org/message/797705#797705

--
No Need for persistence.
--

Reply to this message by going to Community
[https://community.jboss.org/message/797705#797705]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: Transaction Problems jBPM5

2013-02-11 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: Transaction Problems jBPM5"

To view the discussion, visit: https://community.jboss.org/message/797127#797127

--
Maciej,

You are right. The UserCallBack was removing users because while moving human 
task war to another web container, I didnot take care of roles.properties. 
file.. So all the users were invalid for it. Thanks mate.  :)
--

Reply to this message by going to Community
[https://community.jboss.org/message/797127#797127]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: HornetQTaskHandler Issue

2013-02-11 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: HornetQTaskHandler Issue"

To view the discussion, visit: https://community.jboss.org/message/797126#797126

--
Got it  :) 
Human TaskServlet war was missing roles.properties.
--

Reply to this message by going to Community
[https://community.jboss.org/message/797126#797126]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: Transaction Problems jBPM5

2013-02-11 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: Transaction Problems jBPM5"

To view the discussion, visit: https://community.jboss.org/message/797100#797100

--
I think so Maciej. To have the task service running. I deployed the human task 
war in websphere server after making a few changes to its persistence. And I 
believe by default the human task war uses UserGroupCallBack? But I am not 
sure. In that case how do I make sure that it does not remove the users.
--

Reply to this message by going to Community
[https://community.jboss.org/message/797100#797100]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - HornetQTaskHandler Issue

2013-02-11 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"HornetQTaskHandler Issue"

To view the discussion, visit: https://community.jboss.org/message/797093#797093

--
*Hi,*
** 
*I picked the human task war file from jbpm-installer and deployed it in 
websphere server after making some changes to persistence.xml. The following is 
what the persistence.xml in the human task war looks like. Starting up 
websphere starts the human task service.*

 



http://java.sun.com/xml/ns/persistence 
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd
http://java.sun.com/xml/ns/persistence/orm 
http://java.sun.com/xml/ns/persistence/orm_1_0.xsd"; 
xmlns:orm="http://java.sun.com/xml/ns/persistence/orm"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns="http://java.sun.com/xml/ns/persistence";>
  
    org.hibernate.ejb.HibernatePersistence 
    META-INF/Taskorm-JPA2.xml
    
    org.jbpm.task.Attachment
    org.jbpm.task.BooleanExpression
    org.jbpm.task.Comment
    org.jbpm.task.Content
    org.jbpm.task.Deadline
    org.jbpm.task.Delegation
    org.jbpm.task.EmailNotification
    org.jbpm.task.EmailNotificationHeader
    org.jbpm.task.Escalation
    org.jbpm.task.Group
    org.jbpm.task.I18NText
    org.jbpm.task.Notification
    org.jbpm.task.OnAllSubTasksEndParentEndStrategy
    org.jbpm.task.OnParentAbortAllSubTasksEndStrategy
    org.jbpm.task.PeopleAssignments
    org.jbpm.task.Reassignment
    org.jbpm.task.Status
    org.jbpm.task.SubTasksStrategy
    org.jbpm.task.Task
    org.jbpm.task.TaskData
    org.jbpm.task.User
    
    
    
    
    
    
    
  
  
    
  
  
    
  
    
  


 



*Then I start the process like following :* 

****

*It starts a process but it doesnot assign the task to the user. It just 
creates a process instance and the first task remains in CREATED state. But it 
should be in RESERVED state.*
*COuld anyone help me here please.*
*Thanks.*
public void initiateProcess(String processName, String processDefId) throws 
Exception
 {
   StatefulKnowledgeSession ksession = 
BpmRepositoryConfig.createSession(processName);
  KnowledgeRuntimeLogger logger = 
KnowledgeRuntimeLoggerFactory.newThreadedFileLogger(ksession, "test", 1000);
  HornetQHTWorkItemHandler humanTaskHandler = new 
HornetQHTWorkItemHandler(ksession);
  humanTaskHandler.setIpAddress(ipAddress);
  humanTaskHandler.setPort(port);
  ksession.getWorkItemManager().registerWorkItemHandler("Human Task", 
humanTaskHandler);
  JPAWorkingMemoryDbLogger logger2 = new JPAWorkingMemoryDbLogger(ksession);
 ProcessInstance processInstance = ksession.startProcess(processDefId);
   long processInstanceId = processInstance.getId();
   System.out.println("Process Started : "+processInstanceId);
  logger.close();
  logger2.dispose();
 }
public static void readKnowledgeBase(String processName) throws Exception
 {
  try
  {
   if(kbase == null)
   {
    ProcessBuilderFactory.setProcessBuilderFactoryService(new 
ProcessBuilderFactoryServiceImpl());
    ProcessMarshallerFactory.setProcessMarshallerFactoryService(new 
ProcessMarshallerFactoryServiceImpl());
    ProcessRuntimeFactory.setProcessRuntimeFactoryService(new 
ProcessRuntimeFactoryServiceImpl());
    BPMN2ProcessFactory.setBPMN2ProcessProvider(new BPMN2ProcessProviderImpl());
    KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder();
    
    kbuilder.add(ResourceFactory.newClassPathResource(processName), 
ResourceType.BPMN2);
   }
  }
  catch(Exception e)
  {
   BpmExceptionHandler.handleException(e);
  }
 }
 
 
 public static StatefulKnowledgeSession createSession(String processName) 
throws Exception
 {
  KnowledgeSessionConfiguration config = null;
  readKnowledgeBase(processNames);
  EntityManagerFactory emf = Persistence.createEntityManagerFactory( 
"org.jbpm.persistence.jpa" );
  Environment env = KnowledgeBaseFactory.newEnvironment();
  try
  {  
   env.set( EnvironmentName.ENTITY_MANAGER_FACTORY, emf );
   env.set( EnvironmentName.GLOBALS, new MapGlobalResolver() );  
   Properties properties = new Properties();
   properties.put("drools.processInstanceManagerFactory", 
"org.jbpm.persistence.processinstance.JPAProcessInstanceManagerFactory");
   properties.put("drools.processSignalManagerFactory", 
"org.jbpm.persistence.processinstance.JPASignalManagerFactory");
   config = KnowledgeBaseFactory.newKnowledgeSessionConfiguration(properties);
  }
  catch(Exception e)
  {
   BpmExceptionHandler.handleException(e);
  }
  return JPAKnowledgeService.newStatefulKnowledgeSession(kbase, config, env);
   
 }
 
--

Reply to this message by going to Community
[https://commu

[jboss-user] [jBPM] - Re: How to call external web service in jbpm process.

2013-02-07 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: How to call external web service in jbpm process."

To view the discussion, visit: https://community.jboss.org/message/796648#796648

--
Just create a client class and call client method from your script task. You 
will need to create a process variable of the client class in your process and 
then in script node you can just call the method using the variable.
--

Reply to this message by going to Community
[https://community.jboss.org/message/796648#796648]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: Transaction Problems jBPM5

2013-02-07 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: Transaction Problems jBPM5"

To view the discussion, visit: https://community.jboss.org/message/796640#796640

--
No no. Its not a variable, I have hardcoded the actor id in the process 
definition itself.
See, I have deployed the human task server war in my websphere after making the 
datasource changes the persistence inside it.
Thats the only thing I changed. Even running the evaluation example creates a 
task but in CREATED state. thats what is weird. It should be in RESERVED state 
isnt it?
--

Reply to this message by going to Community
[https://community.jboss.org/message/796640#796640]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: Transaction Problems jBPM5

2013-02-07 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: Transaction Problems jBPM5"

To view the discussion, visit: https://community.jboss.org/message/796626#796626

--
Vladimir,

I call start and then complete. It just completes the task and creates the next 
task, but the task is not assigned to anyone. is there a workaround to assign 
the task after prior task has been completed?
--

Reply to this message by going to Community
[https://community.jboss.org/message/796626#796626]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: Transaction Problems jBPM5

2013-02-07 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: Transaction Problems jBPM5"

To view the discussion, visit: https://community.jboss.org/message/796605#796605

--
Thanks Guys. Really helpful answers.
I tried to use the HornetQTaskHandler instead of MinaTaskHandler. I guess the 
transactions are managed in the human task war as i didnot write any 
transaction in the code and yet it works and everything.
Just another question not regarding the transactions but the HornetQHandler. I 
started the process and the task goes in to the Created state and is not 
assigned to the user that I have specified in the process definition. Is it 
working correctly? If yes then how do I make sure that immediately when the 
process starts, the task is assigned to the user and is not in Created state 
but in Reserved state. 

And the same thing happens when I complete the task. If I start a process using 
MinaTaskHandler, it assigns the task to the user. I complete the task using 
HornetQ but it completes the task and the next task is not assigned. Next task 
stays in the Created state. I might be missing some piece of code here?

This is what I do to complete a task : 


public static void completeTask(long taskId, String userId) throws Exception
 {
  String name = "client 1"+UUID.randomUUID();
  TaskClient client = new TaskClient(new HornetQTaskClientConnector(name, new 
HornetQTaskClientHandler(SystemEventListenerFactory.getSystemEventListener(;
  BlockingTaskOperationResponseHandler responseHandler = new 
BlockingTaskOperationResponseHandler();
  ContentData contentData = null;
  client.connect(ipAddress, port);
  try
  {
   client.complete(taskId, userId, contentData, responseHandler);
   responseHandler.waitTillDone(5000);
  }
  catch(Exception e)
  {
   BpmExceptionHandler.handleException(e);
  }
  finally
  {
   if(client != null)
    client.disconnect();
  }
 }
 
--

Reply to this message by going to Community
[https://community.jboss.org/message/796605#796605]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Re: Transaction Problems jBPM5

2013-02-06 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: Transaction Problems jBPM5"

To view the discussion, visit: https://community.jboss.org/message/796413#796413

--
Any help here please. I have been stuck with this for 2 days now and have tried 
putting User Transaction almost everywhere in the code. Thanks
--

Reply to this message by going to Community
[https://community.jboss.org/message/796413#796413]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

[jboss-user] [jBPM] - Delegation of tasks

2013-01-31 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Delegation of tasks"

To view the discussion, visit: https://community.jboss.org/message/795457#795457

--
Hi,

Is it possible to delegate a task to a group from a user?

Regards.
--

Reply to this message by going to Community
[https://community.jboss.org/message/795457#795457]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: Abort/Delete process instance

2013-01-24 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: Abort/Delete process instance"

To view the discussion, visit: https://community.jboss.org/message/794161#794161

--
Hi Maciej,

Thanks for the reply. I have used abortProcessINstance, it just runs without 
any exceptions but doesnt rilly stop the process. WHat do you mean by a 
persistent session? How do I maintain that.?
--

Reply to this message by going to Community
[https://community.jboss.org/message/794161#794161]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: Abort/Delete process instance

2013-01-24 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: Abort/Delete process instance"

To view the discussion, visit: https://community.jboss.org/message/794142#794142

--
ANything regarding this please guys.. Ve been struggling from a long time..
--

Reply to this message by going to Community
[https://community.jboss.org/message/794142#794142]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: Use jBPM 5.3 with a simple Java EE application

2013-01-24 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: Use jBPM 5.3 with a simple Java EE application"

To view the discussion, visit: https://community.jboss.org/message/794071#794071

--
Siva,

Have you modified the transaction lookup class in persistence.xml as per your 
web server. Right now it is as per websphere. I was having a similar trouble 
when I moved my code from tomcat to websphere and the problem went away when I 
replaced the look up class. But not sure if thats the issue in your case. You 
will need to change the property at 2 places in persistence.xml.
--

Reply to this message by going to Community
[https://community.jboss.org/message/794071#794071]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - How to implement a decision node in jbpm 5?

2013-01-23 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"How to implement a decision node in jbpm 5?"

To view the discussion, visit: https://community.jboss.org/message/793864#793864

--
Hi Guys,

How can I implement a decision node in jbpm version 5. LIke the one we have in 
jbpm 4.

Regards.
--

Reply to this message by going to Community
[https://community.jboss.org/message/793864#793864]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: Hi, everyone, I want to execute bpmn process from jsp page

2013-01-23 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: Hi,everyone,I want to execute  bpmn process from jsp page"

To view the discussion, visit: https://community.jboss.org/message/793804#793804

--
https://community.jboss.org/people/roxy1987/blog/2013/01/22/jbpm5-web-application-example
 
https://community.jboss.org/people/roxy1987/blog/2013/01/22/jbpm5-web-application-example.
 check this out.. may be of some help..

--

Reply to this message by going to Community
[https://community.jboss.org/message/793804#793804]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: Use jBPM 5.3 with a simple Java EE application

2013-01-22 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: Use jBPM 5.3 with a simple Java EE application"

To view the discussion, visit: https://community.jboss.org/message/793568#793568

--
There you go. Post a comment there if you have trouble running it. It uses jbpm 
5.4 and is configured to run on DB2 and Websphere. But can be configured to run 
on other DBs and Webcontainers too.

 
https://community.jboss.org/people/roxy1987/blog/2013/01/22/jbpm5-web-application-example
 
https://community.jboss.org/people/roxy1987/blog/2013/01/22/jbpm5-web-application-example

--

Reply to this message by going to Community
[https://community.jboss.org/message/793568#793568]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: Group Assignment

2013-01-22 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: Group Assignment"

To view the discussion, visit: https://community.jboss.org/message/793538#793538

--
Yeah well I guess thats what I would need to do. Thanks Thomas. Your help Much 
appreciated.
--

Reply to this message by going to Community
[https://community.jboss.org/message/793538#793538]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: JBPM5 database empty

2013-01-21 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: JBPM5 database empty"

To view the discussion, visit: https://community.jboss.org/message/793253#793253

--
y lab,

which db? what do you mean by db emtpy.. no data? or no tables?
--

Reply to this message by going to Community
[https://community.jboss.org/message/793253#793253]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: Use jBPM 5.3 with a simple Java EE application

2013-01-21 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: Use jBPM 5.3 with a simple Java EE application"

To view the discussion, visit: https://community.jboss.org/message/793252#793252

--
if you can wait 1 day.. I will post my web app in my blog tomorrow. It is a 
simple servlet/jsp application. with many diff process defs.. group tasks, 
status of processes both graphical and task wise.
--

Reply to this message by going to Community
[https://community.jboss.org/message/793252#793252]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: Abort/Delete process instance

2013-01-21 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: Abort/Delete process instance"

To view the discussion, visit: https://community.jboss.org/message/793247#793247

--
Hi Thomas,

Thanks for the answer. Though I cant use REST. any other way to treat this that 
you might know of? there is a method called abortProcessINstance. but calling 
it is not terminating the prcoess.
--

Reply to this message by going to Community
[https://community.jboss.org/message/793247#793247]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: Group Assignment

2013-01-21 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: Group Assignment"

To view the discussion, visit: https://community.jboss.org/message/793242#793242

--
Thanks for your reply Thomas. I am able to workout the 2nd question. I just 
need the name of the group to which the task was assigned. Is there no way to 
get the group id using the taskSummary Object that I have?
I cant find out the information using just the id of the user as it is gonna be 
assigned to many different groups.

Regards.
--

Reply to this message by going to Community
[https://community.jboss.org/message/793242#793242]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: Few Questions on JBPM

2013-01-18 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: Few Questions on JBPM"

To view the discussion, visit: https://community.jboss.org/message/792866#792866

--
This willl help you with all your queries : 

 http://docs.jboss.org/jbpm/v5.4/userguide/ 
http://docs.jboss.org/jbpm/v5.4/userguide/

--

Reply to this message by going to Community
[https://community.jboss.org/message/792866#792866]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: How to show process diagram displaying all nodes executed in that process instance?

2013-01-18 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: How to show process diagram displaying all nodes executed in that process 
instance?"

To view the discussion, visit: https://community.jboss.org/message/792865#792865

--
There you go :
//You probably have just the process instance id. so you need to get teh proc 
def id
  String processDefId = 
JPAProcessInstanceDbLog.findProcessInstance(Long.parseLong(processInstanceId)).getProcessId();
// And process name to get a process object. I maintain an XML file to map 
process ids with process names and process image file names. So that i dont 
have to hard code process id or name anywhere. You can get the name whichever 
way you like...
  String processName = 
  logger.info("Process Name : "+processName);
// FInally you need a process object. using process def id and process name.. 
// read your knowledge base feeding it your process name
  readKnowledgeBase(processName);
  process = kbase.getProcess(processDefId);
 
//Now you can get the nodes and coordinates using following code.  
  ArrayList coordinates = new ArrayList();
  try
  {
   List nodeInstanceLogList;
   for (Node node : (Node[])((WorkflowProcessImpl) process).getNodes())
   {
    nodeInstanceLogList = 
JPAProcessInstanceDbLog.findNodeInstances(Long.parseLong(processInstanceId), 
new Long(node.getId()).toString());
    if(nodeInstanceLogList.size() == 1)
    {
 logger.info("Name of the Node : "+node.getName());
 coordinates.add(node.getMetaData().get("x"));
 coordinates.add(node.getMetaData().get("y"));
 coordinates.add(node.getMetaData().get("height"));
 coordinates.add(node.getMetaData().get("width"));
    }
   }
   coordinates.add(processName);
  }
 

Code above gives you the coordinates of the active workitem.

In your jsp you can have an image of your process in a div and another div to 
create a box or an arrow or whatever using the coordinates from the method 
above.

Regards.
--

Reply to this message by going to Community
[https://community.jboss.org/message/792865#792865]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Abort/Delete process instance

2013-01-18 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Abort/Delete process instance"

To view the discussion, visit: https://community.jboss.org/message/792850#792850

--
Hi,

I am looking to add following functionality to my application but cant get it 
working.

a) Stop Process Instance: To abort an active process instance which would mean 
tasks disappearing from user task lists but the history of the process stays.
b) Delete Process Instance: To delete a process instance(active or inactive) 
which would mean tasks go away along with any trace of the process in the db.

Can anyone help me with this please.

Thanks
--

Reply to this message by going to Community
[https://community.jboss.org/message/792850#792850]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: Group Assignment

2013-01-18 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: Group Assignment"

To view the discussion, visit: https://community.jboss.org/message/792849#792849

--
Well I have solved the second part by adding a list of groups to the method 
claim.


client.getTasksAssignedAsPotentialOwner(userId, groups, "en-UK", 
summaryHandler);


But still wondering about 1st question.
--

Reply to this message by going to Community
[https://community.jboss.org/message/792849#792849]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Group Assignment

2013-01-18 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Group Assignment"

To view the discussion, visit: https://community.jboss.org/message/792845#792845

--
Hi,

I tried assigning task to a group. EVerything is good except a couple of issues 
i am having.

a) When we retrieve a taskSummary object for a group task, we can get to know 
its userid provided it is not a group task but in case it is a group task, how 
do we get its group ID? Since a user might be part of various groups, so it 
becomes important to know to which group the task was assigned.

b) Secondly, I am able to retrieve the task but when I try to claim it, I get 
the following permission exception : 


 org.jbpm.task.service.PermissionDeniedException: User '[User:'mary']' does not 
have permissions to execution operation 'Claim' on task id 1

 
 public static void claimTask(long taskId, String userId)
{
 connect();
 BlockingTaskOperationResponseHandler responseHandler = new 
BlockingTaskOperationResponseHandler();
 try
 {
 // client.release(taskId, "Administrator", responseHandler); 
  client.claim(taskId, userId, responseHandler);
  responseHandler.waitTillDone(5000);
 }
 catch(Exception e)
 {
  CustomExceptionHandler.handleException(e);
 }
}
 

 The code looks like above. I tried to release it from Administrator's queue 
too. but it did not work may be coz the task is in ready state until it is 
claimed.

Regards.
--

Reply to this message by going to Community
[https://community.jboss.org/message/792845#792845]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: PostgreSQL - empty database - install.demo.db does not exist

2013-01-16 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: PostgreSQL - empty database - install.demo.db does not exist"

To view the discussion, visit: https://community.jboss.org/message/792363#792363

--
Wishmaster7,

It has to work with any db. I use DB2 with jbpm5, so believe me you can run 
this with any. Please post again if you face problems.
--

Reply to this message by going to Community
[https://community.jboss.org/message/792363#792363]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: jbpm5 deployment

2013-01-16 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: jbpm5 deployment"

To view the discussion, visit: https://community.jboss.org/message/792360#792360

--
y lab. 

If you dont want to use persistence and if you dont wanna use drools. Then you 
should go ahead with jbpm 4. But there is no community support left for jbpm 4. 
and If you face bugs then you wont be able to get them fixed.
--

Reply to this message by going to Community
[https://community.jboss.org/message/792360#792360]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: Could not connect task client: on ip: 127.0.0.1 - port: 5153

2013-01-16 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: Could not connect task client: on ip: 127.0.0.1 - port: 5153"

To view the discussion, visit: https://community.jboss.org/message/792359#792359

--
Please follow  Section 3.7 of user guide. Way till sub section 3.7.4 and if you 
face trouble then please start a new thread as suggested by Jiri. Hope you dont 
have to start another discussion  :)
--

Reply to this message by going to Community
[https://community.jboss.org/message/792359#792359]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: Dynamic task assignment

2013-01-15 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: Dynamic task assignment"

To view the discussion, visit: https://community.jboss.org/message/792135#792135

--
Hey,
Thanks.
So there in fact is a Handler which can help me achieve what I am looking for. 
I actually read salaboy's post somewhere that there is no assignment handler in 
jbpm 5.
Well I cant access the link you posted from my office but will definitely look 
at it once I am home.

WorkItemHandler is providing me 2 methods. abortWorkItem and executeWorkItem. 
So what you are saying is using WorkItem and WorkItemManager arguments, I will 
be able to get my job done?

Regards.
--

Reply to this message by going to Community
[https://community.jboss.org/message/792135#792135]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: jbpm5 deployment

2013-01-15 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: jbpm5 deployment"

To view the discussion, visit: https://community.jboss.org/message/792131#792131

--
yLab,

If you want to call your jBPM processes from another web application or perform 
any action(w/ or w/o jbpm) for that matter, you can have links in your primary 
application having references of the target web application urls.
But reallly your question is not clear. 
--

Reply to this message by going to Community
[https://community.jboss.org/message/792131#792131]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Dynamic task assignment

2013-01-15 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Dynamic task assignment"

To view the discussion, visit: https://community.jboss.org/message/792128#792128

--
Hi,

I am in a scenario where I need to dynamically assign task to actors. But I 
dont wanna use expressions and variables. I believe there is no Assignment 
Handler in jbpm 5 unlike jbpm 4. So what I have in mind is to leave the actor 
ID parameter blank and while starting the process I can search my custom tables 
and match task names to get the appropriate actors and then may be map the 
tasks with the actors using jbpm API. Is there a possibility for such a design? 
I get the ProcessInstance object while starting a process. So I can use the 
process instance id for creating such a mapping. But I am not getting how to 
use the PI object.

Or may be some one could suggest a better way of achieving this.

Thanks.
--

Reply to this message by going to Community
[https://community.jboss.org/message/792128#792128]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: PostgreSQL - empty database - install.demo.db does not exist

2013-01-15 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: PostgreSQL - empty database - install.demo.db does not exist"

To view the discussion, visit: https://community.jboss.org/message/792126#792126

--
Wishmaster7,

Why would you wanna create the schema using script when persistence is doing 
this for you. You were not able to connect at the begining and manually 
creating the schema did not change anything. So ofcourse you are still not able 
to connect.
My advice, clean your installation and start configuration again. There should 
be something that you missed and looking at your configuration files, I missed 
it too. You might catch the problem if you repeat the whole process again.

Regards.
--

Reply to this message by going to Community
[https://community.jboss.org/message/792126#792126]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: NodeInstanceLog not logging data

2013-01-15 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: NodeInstanceLog not logging data"

To view the discussion, visit: https://community.jboss.org/message/792037#792037

--
Okay. I clean the database. Started a process. Everything got listed. All the 
tables got populated. I restarted tomcat server. And process history is there, 
but task list is empty. There is nothing in table TASK but NodeInstanceLog 
shows data and so does WorkItem table. 
I dont understand what is going on with this tool.

Regards.
--

Reply to this message by going to Community
[https://community.jboss.org/message/792037#792037]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Unable to activate or stop workitem

2013-01-14 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Unable to activate or stop workitem"

To view the discussion, visit: https://community.jboss.org/message/791712#791712

--
Hi,

As part of terminating a process instance, I believe it is required to stop the 
workitem before. But it doesnt allow me to do that. it gives me the exception 
below. After stop I tried to activate the workitem, hoping that once it is 
activated the stop API might work but even activating it gave me the same 
exception.

org.jbpm.task.service.PermissionDeniedException: User '[User:'mary']' was 
unable to execution operation 'Activate' on task id 29 due to a no 'current 
status' match.

I use the code frag below : 

client.activate(taskSummary.getId(), taskSummary.getActualOwner().getId(), 
operationResponseHandler);
client.stop(taskSummary.getId(), taskSummary.getActualOwner().getId(), 
operationResponseHandler);

What could be the reason?
--

Reply to this message by going to Community
[https://community.jboss.org/message/791712#791712]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: NodeInstanceLog not logging data

2013-01-14 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: NodeInstanceLog not logging data"

To view the discussion, visit: https://community.jboss.org/message/791703#791703

--
I just tried another instance of the same process. Now it populated table with 
node data. This is weird, populating data on and off.
--

Reply to this message by going to Community
[https://community.jboss.org/message/791703#791703]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - NodeInstanceLog not logging data

2013-01-14 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"NodeInstanceLog not logging data"

To view the discussion, visit: https://community.jboss.org/message/791701#791701

--
Hi Community,

I have been executing a process with human task for quite some time but 
suddenly it has started giving me problems.
I am able to complete the entire process successfully. All the tasks appear in 
the list of the users the task is assigned to. But NODEINSTANCELOG table is not 
being modified accordingly. It still has data as if the first task is pending. 
The data is correctly populated in the Table TASK.
Any clue about the cause of this problem?

Regards.
--

Reply to this message by going to Community
[https://community.jboss.org/message/791701#791701]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: Alternate to the deprecated methods?

2013-01-14 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: Alternate to the deprecated methods?"

To view the discussion, visit: https://community.jboss.org/message/791688#791688

--
Great. Thankyou Maciej.
--

Reply to this message by going to Community
[https://community.jboss.org/message/791688#791688]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: Hierarchy in jBPM 5?

2013-01-14 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: Hierarchy in jBPM 5?"

To view the discussion, visit: https://community.jboss.org/message/791687#791687

--
Ok. Thanks  :)
--

Reply to this message by going to Community
[https://community.jboss.org/message/791687#791687]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: Alternate to the deprecated methods?

2013-01-14 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: Alternate to the deprecated methods?"

To view the discussion, visit: https://community.jboss.org/message/791603#791603

--
> one that is without groupIds and register UserGroupCallback that will 
> retrieve user groups on demand when querying.

"There is a method which doesnt take groupids as parameter but takes a 
registered userGroupCallBack". Is that what you meant?  I could not find the 
method you are talking about. Or may be I misunderstood.
--

Reply to this message by going to Community
[https://community.jboss.org/message/791603#791603]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: Hierarchy in jBPM 5?

2013-01-14 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: Hierarchy in jBPM 5?"

To view the discussion, visit: https://community.jboss.org/message/791596#791596

--
Thanks Maciej.

See what I am looking to achieve is for a manager to be able to view the tasks 
of the employees he is senior to. 
Eg. Say there is a group called manager with 2 users, manager1 and manager2. 
and There is another group say employee with 2 users emp1, emp2. Manager1 is 
manager of emp1 and should be allowed to view his tasks. and same for manager2. 
So is there a feature to maintain such mapping between group users?
The same can be achieved in IBM ProcessServer and hence is a requirement I need 
to work on. If not then I would need to maintain external mapping.
--

Reply to this message by going to Community
[https://community.jboss.org/message/791596#791596]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Hierarchy in jBPM 5?

2013-01-11 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Hierarchy in jBPM 5?"

To view the discussion, visit: https://community.jboss.org/message/790524#790524

--
Hi
Can we maintain hierarchy between the groups in jbpm5? I am talking about the 
relationship between , say, a group of employees and a user from manager group.

Thanks
--

Reply to this message by going to Community
[https://community.jboss.org/message/790524#790524]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: Question regarding jbpm 5.4 schema

2013-01-11 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: Question regarding jbpm 5.4 schema"

To view the discussion, visit: https://community.jboss.org/message/790468#790468

--
No Problem. Thanks man.
--

Reply to this message by going to Community
[https://community.jboss.org/message/790468#790468]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Alternate to the deprecated methods?

2013-01-11 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Alternate to the deprecated methods?"

To view the discussion, visit: https://community.jboss.org/message/790464#790464

--
Hi,

The following method/class are deprecated, what alternate method can be used 
for the same functionality?

1) *taskClient.getTasksAssignedAsPotentialOwner ( 
http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true
 String userId,  
http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true
 List< 
http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true
 String> groupIds,  
http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true
 String language,  
http://docs.jboss.org/jbpm/v5.4/javadocs/org/jbpm/task/service/TaskClientHandler.TaskSummaryResponseHandler.html
 TaskClientHandler.TaskSummaryResponseHandler responseHandler)* : Need to use 
this for retrieving group tasks.

2) *commandBasedWSHumanTaskHandler.connect()*

Thanks.
--

Reply to this message by going to Community
[https://community.jboss.org/message/790464#790464]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM] - Re: Question regarding jbpm 5.4 schema

2013-01-11 Thread roxy1987
roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: Question regarding jbpm 5.4 schema"

To view the discussion, visit: https://community.jboss.org/message/790459#790459

--
Thanks Jiri.
I was looking to query the database to get some task related information. But 
anyway I achieved that using TaskClient.
Still if we need a foreign key, we can add one manually, but is this 
recommended? I mean in a scenario where nothing is going your way and joining 
two tables is only thing you have left. Will this affect may be some thing in 
some way?
Or is it just that if you need it you can create one. No issues at all?
--

Reply to this message by going to Community
[https://community.jboss.org/message/790459#790459]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


  1   2   3   >