[jboss-user] [JBoss jBPM] - Re: jbpm-console error

2008-11-17 Thread vtysh
Try this | | | | | | | | | View the original post : http://www.jboss

[jboss-user] [JBoss jBPM] - Re: How to Get All Task Instances

2008-10-16 Thread vtysh
You can do it with manual HQL query | select TaskInstance | from org.jbpm.taskmgmt.exe.TaskInstance as TaskInstance | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4182586#4182586 Reply to the post : http://www.jboss.com/index.html?module=bb&op=po

[jboss-user] [JBoss jBPM] - Re: Using fileUpload (either

2008-10-06 Thread vtysh
Here i tried to explain how we can use gravel for the file uploading in task http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4168990#4168990 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4180620#4180620 Reply to the post : http://www.jboss.com/index.

[jboss-user] [JBoss jBPM] - Re: Jbpm webapp as a portlet

2008-09-23 Thread vtysh
You can use portlet context to retrieve portal user login and then use it for task retrieval | facesContext.getExternalContext().getRemoteUser() | or | portletRequest.getRemoteUser() | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4178357#4178357

[jboss-user] [JBoss jBPM] - Re: Jbpm webapp as a portlet

2008-09-23 Thread vtysh
You should write you own portlet webapp or try to run jbpm-console as a portlet via some existing jsf portlet bridge. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4178262#4178262 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=

[jboss-user] [JBoss jBPM] - Re: purge data after processinstance reaches end ?

2008-08-08 Thread vtysh
jbpmContext.getGraphSession().deleteProcessInstance(processInstance); View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4169484#4169484 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4169484 _

[jboss-user] [JBoss jBPM] - Re: Getting comments through command object ?

2008-08-08 Thread vtysh
I propposed you better solution. Because you can simply add comments to the task or dirrectly to the process and then know for which task the comment was done. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4169482#4169482 Reply to the post : http://www.jbos

[jboss-user] [JBoss jBPM] - Re: Getting comments through command object ?

2008-08-08 Thread vtysh
Oh, i am sorry, you didn't write anything about jbpm-console. But all other recommendations are still actual. You need to find all process instance tokens with the method findAllTokens(). Then iterate through tokens and get their comments with the method token.getComments() and add all comments

[jboss-user] [JBoss jBPM] - Re: Getting comments through command object ?

2008-08-08 Thread vtysh
Comment is not gone when the task is finished. It is just the jbpm-console problem which displays only process root token comments or task comments but doesn't display all comments at the same time. To display all comments you should to iterate through process tokens and display comments for all

[jboss-user] [JBoss jBPM] - Re: IE crashing on browse for deployment file

2008-08-06 Thread vtysh
Surely it is not the JBPM console problem. It is your local system problem, perhaps you have a virus. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4169100#4169100 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4169100

[jboss-user] [JBoss jBPM] - Re: Dropdown list population in forms

2008-08-06 Thread vtysh
You can define it using JSF component h:selectOneMenu. http://www.exadel.com/tutorial/jsf/jsftags-guide.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4169046#4169046 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=41

[jboss-user] [JBoss jBPM] - Re: upload file in a task ?

2008-08-06 Thread vtysh
You shouldn't put action command to the tf:saveButton directly because all jbpm form actions described directly in the j4j:taskForm tag in the JBPM console application. To upload files in the task variable map you should to have own tag and use it inside standard action components commandButton

[jboss-user] [JBoss jBPM] - Re: multiple jBPM questions

2008-03-06 Thread vtysh
1. Not sure, but you can use jbpm-enterprise component to avoid synchronization issues if there are any 2. Jackrabbit is supported by the jbpm. Look on the jbpm documentation and cvs repository for examples. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=41346

[jboss-user] [JBoss jBPM] - Re: Whether jbpm-console in jbooss jbpm3.2.2 has implemeted

2008-02-20 Thread vtysh
Here is used custom navigation handler of gravel component org.jboss.gravel.navigation.GravelNavigationHandler. That's why you don't see navigation rules. Every navigarion rule now present dirrectly in xhtml file. And tags you haven't seen before are also from gravel. View the original post :

[jboss-user] [JBoss jBPM] - Re: Installation JBPM on SqlServer

2007-12-20 Thread vtysh
It is present in jbpm-jpdl package in db folder. It's called jbpm.jpdl.mssql.sql. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114545#4114545 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114545 ___

[jboss-user] [JBoss jBPM] - Re: Assigning a task to pooled-actors via context var

2007-12-13 Thread vtysh
Try this | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4112589#4112589 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4112589 ___ jboss-user mailing list jboss-user

[jboss-user] [JBoss jBPM] - Re: Getting first non exception transition

2007-11-28 Thread vtysh
Not sure, but maybe it can be optimized with some custom HQL query. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108451#4108451 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4108451 ___

[jboss-user] [JBoss jBPM] - Re: undeploy process definitions

2007-11-27 Thread vtysh
| GraphSession graphSession=jbpmContext.getGraphSession(); | ProcessDefinition processDefinition=graphSession.getProcessDefinition(id); | graphSession.deleteProcessDefinition(processDefinition); | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108302#

[jboss-user] [JBoss jBPM] - Re: Programmatically starting a process

2007-11-26 Thread vtysh
You should save created instance manually. Try | ProcessInstance instance=processDefinition.createProcessInstance(); | jbpmContext.save(instance); | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107944#4107944 Reply to the post : http://www.jboss.com

[jboss-user] [JBoss jBPM] - Re: jbpm 3.2.2 web console on JBoss 4.2.0 - NullPointerExcep

2007-11-26 Thread vtysh
Do you use IE for uploading? If yes gravel had a problems with IE and it was fixed in new version. Check this: http://jira.jboss.com/jira/browse/GRAVEL-22 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107942#4107942 Reply to the post : http://www.jboss.com/

[jboss-user] [JBoss jBPM] - Re: Multiple JBPM engines on one single JBoss instance

2007-11-21 Thread vtysh
You should use different war names to avoid conflicts. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106770#4106770 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106770 ___

[jboss-user] [JBoss jBPM] - Re: Multiple JBPM engines on one single JBoss instance

2007-11-20 Thread vtysh
It's easy, simply edit hibernate.cfg.xml file for another datasources which you have. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106444#4106444 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106444

[jboss-user] [JBoss jBPM] - Re: transitionButton

2007-11-17 Thread vtysh
I don't know anything about technologies which you are using, but i think that you should find jbpm4jsf.jar in your web application or application server and update it to newer version which you downloaded from repository. View the original post : http://www.jboss.com/index.html?module=bb&op=vi

[jboss-user] [JBoss jBPM] - Re: transitionButton

2007-11-16 Thread vtysh
FabianW: You can use Eclipse, just create new project, add jbpm4jsf.jar and jsf libs to classpath. About UnsupportedClassVersionError possibly you have duplicates of some classes in classpath. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4105556#4105556 Rep

[jboss-user] [JBoss jBPM] - Re: transitionButton

2007-11-16 Thread vtysh
UnsupportedClassVersionError it is a jre related problem. How i know for the jbpm web application you need to use at least java 1.5. About first question, this patch patches org/jbpm/jsf/taskform/ui/UITaskFormTransitionButton java file, you can get latest version from http://fisheye.jboss.com/b

[jboss-user] [JBoss jBPM] - Re: transitionButton

2007-11-16 Thread vtysh
FabianW: Is it that you talked about? http://jira.jboss.com/jira/browse/JBPM-1017 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4105454#4105454 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4105454 _

[jboss-user] [JBoss jBPM] - Re: Actor is group or user

2007-11-03 Thread vtysh
Actor is a simple string, you can interpret it as you like View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101523#4101523 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101523

[jboss-user] [JBoss jBPM] - Re: tomcat and mysql integration

2007-10-30 Thread vtysh
This text is present in jboss installation of the jbpm-console in login-config.xml. Maybe this will help You. | | | |java:/JbpmDS | | SELECT PASSWORD_ FROM JBPM_ID_USER WHERE NAME_=? | | |

[jboss-user] [JBoss jBPM] - Re: tomcat and mysql integration

2007-10-30 Thread vtysh
Error occurs somethere in the connection layer, maybe your mysql service is stopped or incorrectly configured. Seems that it is not a jbpm problem View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100273#4100273 Reply to the post : http://www.jboss.com/index.ht

[jboss-user] [JBoss jBPM] - Re: tomcat and mysql integration

2007-10-30 Thread vtysh
I don't know how to configure datasources in tomcat, but you can specify db connection parameters dirrectly in hibernate.cfg.xml. Find strings hibernate.connection.driver_class,hibernate.connection.url and so forth... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtop

[jboss-user] [JBoss jBPM] - Re: tomcat and mysql integration

2007-10-29 Thread vtysh
Your problem is in hibernate configuration View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099904#4099904 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4099904 ___ jboss-user m

[jboss-user] [JBoss jBPM] - Re: How to do an action link without validating jbpm variabl

2007-10-27 Thread vtysh
I think you should remove required attribute from your form input fields or try to bind it with some action. Somewhere in the web i saw that required attribute of input tag was binded with bean action which checked a pressed button/command link and returns true or false depend on situation. Her

[jboss-user] [JBoss jBPM] - Re: task form in multipart/form-data

2007-10-14 Thread vtysh
Update task.xhtml file in jbpm-console.war/sa and change enctype of h:form in the 'form' view. After that use gravel file upload components for your needs. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094985#4094985 Reply to the post : http://www.jboss.com

[jboss-user] [JBoss Tools (users)] - java.io.UnsupportedEncodingException then build an archive

2007-09-25 Thread vtysh
Platform: Java 1.5 + Eclipse Europa + Jboss Tools 2.0 beta3 Locale: ru I am trying to package war file in the "Project archive" view and getting no results. Workspace log file gives me next exception information: | !ENTRY org.eclipse.ui 4 0 2007-09-25 12:59:26.265 | !MESSAGE Unhandled event l

[jboss-user] [JBoss jBPM] - Re: next task/node name in processInstance

2007-08-23 Thread vtysh
It will give you next assigned and open task(s). Use this code after ending of taskInstance. You can download jbpm 3.1.* and see how it is used in jbpm web application. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077626#4077626 Reply to the post : http://

[jboss-user] [JBoss jBPM] - Re: next task/node name in processInstance

2007-08-23 Thread vtysh
You can try to use jbpm logs. But i don't know which results will you get in case of the next node is the join node. Here how it is used in TaskBean.java of jbpm-3.1.3 | LoggingInstance loggingInstance = processInstance.getLoggingInstance(); | List assignmentLogs = loggingInstance.ge

[jboss-user] [JBoss jBPM] - Re: assign swimlane dynamically according to previous transi

2007-08-16 Thread vtysh
It should be packed with process definition archive and lie in archive /classes folder. Actually if class is in the same project as designed model deployment tab of process designer should put necessary class automatically. View the original post : http://www.jboss.com/index.html?module=bb&op=v

[jboss-user] [JBoss jBPM] - Re: assign swimlane dynamically according to previous transi

2007-08-16 Thread vtysh
I am using jboss and all errors are listed in console output. Don't have any idea there is it in your environment... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4074713#4074713 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=r

[jboss-user] [JBoss jBPM] - Re: assign swimlane dynamically according to previous transi

2007-08-15 Thread vtysh
Give us a stacktrace View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4074660#4074660 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4074660 ___ jboss-user mailing list jboss-user

[jboss-user] [JBoss jBPM] - Re: assign swimlane dynamically according to previous transi

2007-08-15 Thread vtysh
rossputin Just write custom assignmentHandler, example you can find in jbpm sources. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4074398#4074398 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4074398 _

[jboss-user] [JBoss jBPM] - Re: can't delete a taskinstance from my database

2007-08-07 Thread vtysh
And i think you can't delete directly TaskInstance row, because task instance has relationships with other objects (see TaskInstance.hbm.xml) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071830#4071830 Reply to the post : http://www.jboss.com/index.html?mo

[jboss-user] [JBoss jBPM] - Re: can't delete a taskinstance from my database

2007-08-07 Thread vtysh
Why do you use sql not hql? See how it is done in jbpm sources. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071676#4071676 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4071676 ___

[jboss-user] [JBoss jBPM] - Re: creating a task that will not end until form variable ha

2007-08-07 Thread vtysh
Mark variable as required, but not sure whether the default web application checks variable accesses. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071490#4071490 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4071490

[jboss-user] [JBoss jBPM] - Re: how can i do research ?

2007-08-06 Thread vtysh
It is not so hard to implement. You should know what task is first in process definition, or use startTask from TaskMgmtDefinition if you have it, i mean startTask. Then you should search all taskInstances for task with id equal to startTask id and actor equal to user. As a result you should man

[jboss-user] [JBoss jBPM] - Re: Assignment mechanism

2007-08-06 Thread vtysh
If you afraid about time of performance you can write your own hql query and retrieve only tasks with name equals to taskName for current process instance. But i think performance will be enough for not very large databases. View the original post : http://www.jboss.com/index.html?module=bb&op=

[jboss-user] [JBoss jBPM] - Re: how can i do research ?

2007-08-06 Thread vtysh
I think that the most quick and efficient way is to use hql queries View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071181#4071181 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4071181 ___

[jboss-user] [JBoss jBPM] - Re: Assignment mechanism

2007-08-06 Thread vtysh
1 related: You can specify variable in model which will contain name of task from where to get an actor id in your assignment handler. | | myTask | | Then in assign method you should process all previous task instances with name equals to taskName variable value. | executionC

[jboss-user] [JBoss jBPM] - Re: Task Assignement

2007-08-06 Thread vtysh
I am not sure about your problem, but in my models i use assignment handlers without this dirrective "config-type=constructor", like it is done in examples. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071034#4071034 Reply to the post : http://www.jboss.co

[jboss-user] [JBoss jBPM] - Re: when i end the TaskInstance, an LazyInitializationExcepti

2007-08-02 Thread vtysh
Don't exactly understand where was a problem, but you're welcome! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070001#4070001 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070001 _

[jboss-user] [JBoss jBPM] - Re: when i end the TaskInstance, an LazyInitializationExcepti

2007-08-01 Thread vtysh
I don't know, maybe it is an oracle problem. Try to search forum i saw some topics where users describe theirs problems with oracle environment. My proposition is to start from simple code open and close context. Then add ProcessInstance creation, then add other parts of code... Also you can try

[jboss-user] [JBoss jBPM] - Re: when i end the TaskInstance, an LazyInitializationExcepti

2007-08-01 Thread vtysh
Try to debug this piece of code starting with some simple action gradually adding all other lines to see which code is broke your application. But it looks very strange, that after any write operation you get jbpmContext autoclose. Maybe something is wrong in hibernate or jbpm configuration? Do

[jboss-user] [JBoss jBPM] - Re: when i end the TaskInstance, an LazyInitializationExcepti

2007-08-01 Thread vtysh
You should close context after save operation View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4069578#4069578 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4069578 ___ jboss-use

[jboss-user] [JBoss jBPM] - Re: when i end the TaskInstance, an LazyInitializationExcepti

2007-08-01 Thread vtysh
Try to save process instance after creation and before the task ending | TaskInstance ti = pi.getTaskMgmtInstance().createStartTaskInstance(); | jbpmContext.save(pi); | If it will not help, try to close jbpmContext after creation of start task instance and create new one (jbpmContext). Th

[jboss-user] [JBoss jBPM] - Re: when i end the TaskInstance, an LazyInitializationExcepti

2007-08-01 Thread vtysh
Remove all manual actions with transactions and sessions Session hsession = jbpmContext.getSessionFactory().openSession(); | Transaction transaction = hsession.beginTransaction(); transaction.rollback(); hsession.close(); If you need to save some hibernate object use session from

[jboss-user] [JBoss jBPM] - Re: when i end the TaskInstance, an LazyInitializationExcepti

2007-08-01 Thread vtysh
I think you get this exception, because you do so transaction.commit(); If you got this transaction from jbpmContext session you've done wrong. If you need rollback transaction just use jbpmContext.setRollbackOnly() method and transaction will be rolled back on close() method. View the original

[jboss-user] [JBoss jBPM] - Re: how can i get task state ?

2007-07-26 Thread vtysh
taskInstance.isSuspended(); taskInstance.isOpen(); an other is... methods View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067702#4067702 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4067702

[jboss-user] [JBoss jBPM] - Re: Selecting non-string valued variable instances

2007-07-13 Thread vtysh
See on VariableInstance.hbm.xml it doesn't have a value property. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063927#4063927 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063927 _

[jboss-user] [JBoss jBPM] - Re: task instance in start state

2007-07-10 Thread vtysh
How i know start-state currently doesn't support a swimlanes View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4062279#4062279 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4062279 __

[jboss-user] [JBoss jBPM] - Re: start-state

2007-07-10 Thread vtysh
You can use NewProcessInstanceCommand with createStartTask as true, if returned value will be null then you will know, that process doesn't contain a start task. Then you can use SignalCommand or some other one to move process from start state to first task node. View the original post : http:

[jboss-user] [JBoss jBPM] - Re: start-state

2007-07-10 Thread vtysh
Seems that start-state doesn't have a node-enter event. For ricardomarques: maybe you should use StartProcessInstanceCommand instead NewProcessInstanceCommand with cmd.setCreateStartTask(false); View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4062260#4062260 R

[jboss-user] [JBoss jBPM] - Re: start-state

2007-07-09 Thread vtysh
Maybe you should signal to the process instance after creation to move from start state to first task node? Or try to add some actions to start-state, for example on node enter and perform signaling in it. But it is only in theory, i didn't use models without a task in start state. View the ori

[jboss-user] [JBoss jBPM] - Re: group list

2007-07-06 Thread vtysh
You should write your own query, for example: Query query = session.createQuery( "select g " + "from org.jbpm.identity.Group as g" ); List groups=query.list(); View the original post : http://www.jboss.com/index.html?

[jboss-user] [JBoss jBPM] - Re: couldn't commit hibernate session

2007-07-02 Thread vtysh
an perform environment.save(pi) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059548#4059548 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4059548 ___ jboss-user mailing list

[jboss-user] [JBoss jBPM] - Re: couldn't commit hibernate session

2007-07-02 Thread vtysh
Maybe you should try another costruction try ProcessInstance pi = pd.createProcessInstance(); instead ProcessInstance pi = new ProcessInstance(pd); View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059547#4059547 Reply to the post : http://www.jboss.com/index

[jboss-user] [JBoss jBPM] - Re: what is par file? + has anyone used deploy.html in jbpm.

2007-05-25 Thread vtysh
jbpm-starters-kit-3.1.3 has sources of the web application, and uploading servlet works fine with created by plugin archives. Here is a snip of a code: |ZipInputStream zipInputStream = new ZipInputStream(fileItem.getInputStream()); |JbpmContext jbpmContext =

[jboss-user] [JBoss jBPM] - Re: what is par file? + has anyone used deploy.html in jbpm.

2007-05-24 Thread vtysh
Use eclipse plugin to create process archive. (Deployment tab->Save Process Archive Locally) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4048204#4048204 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4048204 _

[jboss-user] [JBoss jBPM] - Re: Problem with update of variable value

2007-04-27 Thread vtysh
Seems that i've found a reason, even if it was not so easy. I used different name and mapped name values for variables, so the default task controller after a task ending restored values of variables in context from taskInstance but as names of source variable it got mappedName. instead String

[jboss-user] [JBoss jBPM] - Re:

2007-04-22 Thread vtysh
You should write assignment handler for a task node. Try to use some variable in contextInstance to store name of necessary actorId for handled task. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039684#4039684 Reply to the post : http://www.jboss.com/index

[jboss-user] [JBoss jBPM] - Re: Transition Exception Handling with Tasks

2007-04-19 Thread vtysh
Try to process an exception in your application while you are ending taskInstance. With session transaction mechanism you able to rollback it if ending of task fails. But i don't know how to correctly close JbpmContext after rollback, because default close method begin to throw exceptions after

[jboss-user] [JBoss jBPM] - Re: Problem with update of variable value

2007-04-18 Thread vtysh
It doesn't help. If i add jbpmContext.save(taskInstance); before "marker 1" i get same result. Or should i save a context in another way? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038462#4038462 Reply to the post : http://www.jboss.com/index.html?mod

[jboss-user] [JBoss jBPM] - Re: Problem with update of variable value

2007-04-17 Thread vtysh
Upd.: I use jbpm from jbpm-starters-kit-3.1.3 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038230#4038230 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038230 ___ jboss-use

[jboss-user] [JBoss jBPM] - Problem with update of variable value

2007-04-17 Thread vtysh
Sorry for my ugly english at first. I can't decide my problem for a few days. I am working on web application similiar to native jbpm demo app. I am using this code to load taskInstance and save variables (little simplified): | JbpmContext jbpmContext=null; | try | { |