[rules-users] Human Task Example

Mauricio Salatino salaboy at gmail.com
Mon Jan 25 14:01:44 EST 2010


I see that problem before. It means that you need to populate some users
first. Insert in the database an administrator user before running the
process.

On Mon, Jan 25, 2010 at 3:28 PM, Chuck.KS <chuck.irvine.ks at gmail.com> wrote:

>
>
> ramram wrote:
> >
> > Hi What do u have as a problem running the human task?
> > did u run the taskservice?
> > u cant start a humantask flow as long as u dont have a TaskService?
> >
>
> I did manage to put some code together but I didn't feel from reading the
> documentation that I knew exactly what I was doing. I think it would be
> very
> helpful and many questions would be avoided if a worked out example could
> be provided with the drools distribution. Anyway, I really appreciate your
> help. The error I got is indicated below.
>
> Jan 25, 2010 12:16:39 PM org.hibernate.util.JDBCExceptionReporter
> logExceptions
> WARNING: SQL Error: 23002, SQLState: 23002
> Jan 25, 2010 12:16:39 PM org.hibernate.util.JDBCExceptionReporter
> logExceptions
> SEVERE: Referential integrity constraint violation: FK27A9A59B680AE0:
> PUBLIC.TASK FOREIGN KEY(CREATEDBY_ID) REFERENCES
> PUBLIC.ORGANIZATIONALENTITY(ID) [23002-77]
> Jan 25, 2010 12:16:39 PM org.hibernate.util.JDBCExceptionReporter
> logExceptions
> WARNING: SQL Error: 23002, SQLState: 23002
> Jan 25, 2010 12:16:39 PM org.hibernate.util.JDBCExceptionReporter
> logExceptions
> SEVERE: Referential integrity constraint violation: FK27A9A59B680AE0:
> PUBLIC.TASK FOREIGN KEY(CREATEDBY_ID) REFERENCES
> PUBLIC.ORGANIZATIONALENTITY(ID) [23002-77]
> Jan 25, 2010 12:16:39 PM
> org.hibernate.event.def.AbstractFlushingEventListener performExecutions
> SEVERE: Could not synchronize database state with session
> org.hibernate.exception.ConstraintViolationException: Could not execute
> JDBC
> batch update
>        at
>
> org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:94)
>        at
>
> org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
>        at
> org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:275)
>        at
> org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:266)
>
> Also, I'm attaching my test file and persistence.xml file:
> http://n3.nabble.com/file/n138317/RuleFlowTest.java RuleFlowTest.java ,
> http://n3.nabble.com/file/n138317/persistence.xml persistence.xml
> --
> View this message in context:
> http://n3.nabble.com/Human-Task-Example-tp131011p138317.html
> Sent from the Drools - User mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>



-- 
- http://salaboy.wordpress.com
- http://www.jbug.com.ar
- Salatino "Salaboy" Mauricio -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20100125/4b72c331/attachment.html 


More information about the rules-users mailing list