Hi,
I pasted the error message from jBoss tracelog.
The flow finish correctly then I don't know how debug this problem.
Have you got any idea?

Thanks
cristian
------------
10:52:41,737 ERROR [ProcessImpl] Process requestId
[46f50e4251ff45b7b662aec2866e1082], Id
[cn=test12,cn=RequestDefs,cn=AppConfig,cn=UserAppli cation,cn=driverset,o=system],
activityId [Activity30]: Error persisting activity state, scheduling
activity for retry.
com.novell.soa.af.impl.activity.ActivityPersistenc eException: Activity Id
[Activity30]: Error while forwarding to activity [Activity11].
at
com.novell.soa.af.impl.core.ProcessImpl.forward(Pr ocessImpl.java:1360)
at
com.novell.soa.af.impl.activity.ActivityNode.forwa rd(ActivityNode.java:244)
at
com.novell.soa.af.impl.activity.ActivityNode.forwa rd(ActivityNode.java:217)
at
com.novell.soa.af.impl.activity.ConditionActivity. process(ConditionActivity.java:81)
at
com.novell.soa.af.impl.activity.ActivityNode.notif yArrive(ActivityNode.java:183)
at
com.novell.soa.af.impl.activity.RunnableActivity.r un(RunnableActivity.java:50)
at java.util.concurrent.ThreadPoolExecutor$Worker.run Task(Unknown
Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (Unknown
Source)
at java.lang.Thread.run(Unknown Source)
Caused by: org.hibernate.StaleObjectStateException: Row was updated or
deleted by another transaction (or unsaved-value mapping was incorrect):
[com.novell.soa.af.impl.persist.BranchCountInfo#req uestId =
[46f50e4251ff45b7b662aec2866e1082] activityId = [Activity10]]
at
org.hibernate.persister.entity.AbstractEntityPersi ster.check(AbstractEntityPersister.java:1699)
at
org.hibernate.persister.entity.AbstractEntityPersi ster.update(AbstractEntityPersister.java:2342)
at
org.hibernate.persister.entity.AbstractEntityPersi ster.updateOrInsert(AbstractEntityPersister.java:2 242)
at
org.hibernate.persister.entity.AbstractEntityPersi ster.update(AbstractEntityPersister.java:2542)
at
org.hibernate.action.EntityUpdateAction.execute(En tityUpdateAction.java:92)
at org.hibernate.engine.ActionQueue.execute(ActionQue ue.java:248)
at
org.hibernate.engine.ActionQueue.executeActions(Ac tionQueue.java:232)
at
org.hibernate.engine.ActionQueue.executeActions(Ac tionQueue.java:140)
at
org.hibernate.event.def.AbstractFlushingEventListe ner.performExecutions(AbstractFlushingEventListene r.java:298)
at
org.hibernate.event.def.DefaultFlushEventListener. onFlush(DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.j ava:1000)
at
org.hibernate.impl.SessionImpl.managedFlush(Sessio nImpl.java:338)
at
org.hibernate.transaction.JDBCTransaction.commit(J DBCTransaction.java:106)
at
com.novell.soa.persist.HibernateUtil.commit(Hibern ateUtil.java:127)
at
com.novell.soa.af.impl.core.ProcessImpl.forward(Pr ocessImpl.java:1336)
... 8 more