Hi,

In a workflow the first Approval Activity will either be Approved or
TimeOut.
If approved some data from the form needs to be available on the next
approval form hence I use Post Activity.
It works if first approval is Approved, but if it Times Out I get an
Error in UA which tells me that the fields that I have put into Post
Activity is required (see below).

If I remove those Post Activities there is no errors, but then I miss
the data in the second approval if the first is approved.

Anyone who has an idea how to fix or work around.

Thanks

*** CUT FROM jbossidm.log ***
13:16:53,050 INFO [LogEvent] [Workflow_Timedout] Initiated by System,
Process ID: 010fcbea03ce462dbc8769fbf9aca71e, Process Name:
CN=FMK-AUTO-GODKENDNAVN,CN=RequestDefs,CN=AppConfig,CN=UAMETA, CN=Driver
Set,
OU=idm,OU=services,O=dk, Activity: Activity, Recipient:
cn=moldi,ou=users,o=dk
13:16:53,062 INFO [LogEvent] [Workflow_Error] Initiated by System,
Error Message: null, Process ID: 010fcbea03ce462dbc8769fbf9aca71e,
Process Name:
CN=FMK-AUTO-GODKENDNAVN,CN=RequestDefs,CN=AppConfig,CN=UAM
ETA,CN=Driver Set,OU=idm,OU=services,O=dk, Activity: Activity,
Recipient: cn=moldi,ou=users,o=dk
13:16:53,058 ERROR [UserActivity$TimeoutRunner] Process requestId
[010fcbea03ce462dbc8769fbf9aca71e], Id
[CN=FMK-AUTO-GODKENDNAVN,CN=RequestDefs,CN=AppConfig,CN=UAMETA, CN=Driver
Set,OU=idm,OU=services,O=dk],
activityId [Activity]: Error updating flow data.
com.novell.soa.af.impl.activity.ActivityException: Process requestId
[010fcbea03ce462dbc8769fbf9aca71e], Id
[CN=FMK-AUTO-GODKENDNAVN,CN=RequestDefs,CN=AppConfig,CN=UAMETA, CN=Driver
Set,OU=idm,OU=services,O=d
k], activityId [Activity]: Error updating flow data.
at
com.novell.soa.af.impl.activity.ActivityNode.apply Changes(ActivityNode.java:418)
at
com.novell.soa.af.impl.activity.UserActivity.apply Changes(UserActivity.java:624)
at
com.novell.soa.af.impl.core.ProcessImpl.persistWor kFlowData(ProcessImpl.java:270)
at
com.novell.soa.af.impl.core.ProcessImpl.forward(Pr ocessImpl.java:1442)
at
com.novell.soa.af.impl.activity.ActivityNode.forwa rd(ActivityNode.java:242)
at
com.novell.soa.af.impl.activity.UserActivity$Timeo utRunner.doTimeout(UserActivity.java:1673)
at
com.novell.soa.af.impl.timers.IActivityTimeoutRunn er.run(IActivityTimeoutRunner.java:33)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run Task(ThreadPoolExecutor.java:650)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
Caused by: com.novell.soa.af.DataItemException: Dataitem [newfirstname]
is required.
at
com.novell.soa.af.impl.core.DataItemEvaluator.eval uateTarget(DataItemEvaluator.java:503)
at
com.novell.soa.af.impl.core.DataItemEvaluator.eval uate(DataItemEvaluator.java:473)
at
com.novell.soa.af.impl.core.DataItemEvaluator.eval uate(DataItemEvaluator.java:423)
at
com.novell.soa.af.impl.activity.ActivityNode.apply Changes(ActivityNode.java:407)
... 9 more


--
moldin
------------------------------------------------------------------------
moldin's Profile: http://forums.novell.com/member.php?userid=32211
View this thread: http://forums.novell.com/showthread.php?t=408827