-
1. Re: JBPM6 Console add attachment
swiderski.maciej Feb 19, 2014 10:49 AM (in response to grafvader)1 of 1 people found this helpfulcurrently this is not supported out of the box so you would need to create separate logic that would upload a file and make it as process variable. As far as I know it's on the road map for form modeler but feel free to drop jira for it so it can be tracked.
HTH
-
2. Re: JBPM6 Console add attachment
pzapataf Feb 19, 2014 11:13 AM (in response to grafvader)1 of 1 people found this helpfulYou can use custom form fields to implement file upload and storage. There's an example at jbpm-form-modeler/jbpm-form-modeler-sample-custom-types at master · droolsjbpm/jbpm-form-modeler · GitHub which is explained in the jBPM 6 user manual, chapter 13.3.3.1.1. 'How to create Custom Field Types'
-
3. Re: JBPM6 Console add attachment
lakshjee May 8, 2014 4:47 AM (in response to pzapataf)Hi,
Could anyone can elaborate how to add custome form field? because in my form modeler properties custom field drop down is null.
Thanks in advance
-
4. Re: JBPM6 Console add attachment
lakshjee May 20, 2014 2:51 AM (in response to lakshjee)Hi,
I could be able to create attachment through JBPM6. But at the task when i uploading an attachment and complete, it doesn't get complete. Please advise.
Server log as follows.
,196 WARN [org.jbpm.services.task.persistence.TaskTransactionInterceptor] (http--127.0.0.1-8080-5) Could not commit session: java.lang.IllegalArgumentException: Named query not found: getAllTasksEvents
at org.hibernate.ejb.AbstractEntityManagerImpl.createNamedQuery(AbstractEntityManagerImpl.java:636) [hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]
at org.jbpm.services.task.persistence.JPATaskPersistenceContext.queryWithParametersInTransaction(JPATaskPersistenceContext.java:371) [jbpm-human-task-core-6.0.1.Final.jar:6.0.1.Final]
at org.jbpm.services.task.audit.GetAuditEventsCommand.execute(GetAuditEventsCommand.java:33) [jbpm-human-task-audit-6.0.1.Final.jar:6.0.1.Final]
-
5. Re: JBPM6 Console add attachment
lakshjee May 21, 2014 2:15 AM (in response to lakshjee)I could be able to resolve my problem. The problem was i didn't define the field type in the data modler. when i define it as string at the data modler, it worked.
-
6. Re: JBPM6 Console add attachment
lakshjee May 21, 2014 11:16 PM (in response to lakshjee)even though i set it to field type String and complete the task the file attachment does not get save. A message displays as no file chosen. Please assist me.