|
We have added "updatedByUserLogin" and "updateDate" as fields for the orderHeader entity.
We defined an eeca
<eca entity="OrderStatus" operation="create" event="return"> <condition field-name="orderId" operator="is-not-empty" /> <condition field-name="orderItemSeqId" operator="is-empty" /> <set field-name="updatedByUserLogin" env-name="statusUserLogin" /> <set field-name="updateDate" env-name="statusDatetime"/> <action service="updateOrderHeader" mode="sync" /> </eca>
and got the ff error msg
Error in Service [changeOrderStatus]: ERROR : Could not change order status (The current transaction is marked for rollback, not beginning a new transaction and aborting current operation; the rollbackOnly was caused by: Service [changeOrderStatus] threw an unexpected exception/errororg.ofbiz.service.GenericServiceException: Service [changeOrderStatus] target threw an unexpected exception (java.sql.Timestamp) (Service [changeOrderStatus] target threw an unexpected exception (java.sql.Timestamp))).
The service is called when <set field-name="updateDate" env-name="statusDatetime"/> is removed.
Does the <set /> definition for eeca and seca only accept String values from the parameter?
|