Trying to read an aux class attribute from the "approver" on a workflow
(during the denial part of the flow). I have already seen in a log
message that approval.getAddressee() is returning the DN I need, but
trying to use that, even in a log message, as
IDVault.get(approval.getAddressee(),'user','twcMag icSequenceNumber') is
returning an error (see trace to follow).

I have made certain the attribute is on the user entity in the DAL,
deployed the entity definition to eDirectory, flushed the cache, etc.
What am I forgetting?

UA 3.5.1, IDM v3.5.1 ir3, eDir 8.8 SP1 FT2 20114.29


<TRACE>
2008-06-06 12:18:53,187 INFO [STDOUT:write] SERVLET REQUEST
LOCALE:en_US
2008-06-06 12:18:53,558 INFO
[com.novell.soa.af.impl.LogEvent:logAFEvent] [Workflow_Started]
Initiated by CN=IDM,OU=SERVICES,O=LAB, Process ID:
27f798233fda45beb118aa96aa8e9808, Process Name:
CN=VPN,CN=RequestDefs,CN=AppConfig,CN=UserApplicat ion35,CN=IDVAULT,OU=SERVICES,O=LAB,
Activity: start, Recipient: CN=ABoozer,OU=ACTIVE,OU=EMPLOYEES,O=LAB,
Secondary User: null
2008-06-06 12:18:53,621 INFO
[com.novell.soa.af.impl.LogEvent:logAFEvent] [Workflow_Forwarded]
Initiated by System, Process ID: 27f798233fda45beb118aa96aa8e9808,
Process Name:
CN=VPN,CN=RequestDefs,CN=AppConfig,CN=UserApplicat ion35,CN=IDVAULT,OU=SERVICES,O=LAB,
Activity: start, Recipient: CN=ABoozer,OU=ACTIVE,OU=EMPLOYEES,O=LAB
2008-06-06 12:18:53,700 INFO
[com.novell.soa.af.impl.LogEvent:logAFEvent] [Workflow_Forwarded]
Initiated by System, Process ID: 27f798233fda45beb118aa96aa8e9808,
Process Name:
CN=VPN,CN=RequestDefs,CN=AppConfig,CN=UserApplicat ion35,CN=IDVAULT,OU=SERVICES,O=LAB,
Activity: Activity1, Recipient: CN=ABoozer,OU=ACTIVE,OU=EMPLOYEES,O=LAB
2008-06-06 12:19:26,111 INFO
[com.novell.soa.af.impl.LogEvent:logAFEvent] [Workflow_Claimed]
Initiated by cn=SDolan,ou=ACTIVE,ou=EMPLOYEES,o=LAB, Process ID:
27f798233fda45beb118aa96aa8e9808, Process Name:
CN=VPN,CN=RequestDefs,CN=AppConfig,CN=UserApplicat ion35,CN=IDVAULT,OU=SERVICES,O=LAB,
Activity: approval, Recipient: CN=ABoozer,OU=ACTIVE,OU=EMPLOYEES,O=LAB,
Secondary User: null
2008-06-06 12:19:30,039 INFO
[com.novell.soa.af.impl.LogEvent:logAFEvent] [Workflow_Denied]
Initiated by cn=SDolan,ou=ACTIVE,ou=EMPLOYEES,o=LAB, Process ID:
27f798233fda45beb118aa96aa8e9808, Process Name:
CN=VPN,CN=RequestDefs,CN=AppConfig,CN=UserApplicat ion35,CN=IDVAULT,OU=SERVICES,O=LAB,
Activity: approval, Recipient: CN=ABoozer,OU=ACTIVE,OU=EMPLOYEES,O=LAB,
Secondary User: null
2008-06-06 12:19:30,506 INFO
[com.novell.soa.af.impl.LogEvent:logAFEvent] [Workflow_Forwarded]
Initiated by System, Process ID: 27f798233fda45beb118aa96aa8e9808,
Process Name:
CN=VPN,CN=RequestDefs,CN=AppConfig,CN=UserApplicat ion35,CN=IDVAULT,OU=SERVICES,O=LAB,
Activity: approval, Recipient: CN=ABoozer,OU=ACTIVE,OU=EMPLOYEES,O=LAB
2008-06-06 12:19:31,027 ERROR
[com.novell.soa.af.impl.activity.LogActivityrocess] Error
initializing scripting engine or scripting context
com.novell.soa.af.DataItemException: Error initializing scripting
engine or scripting context
at
com.novell.soa.af.impl.core.DataItemEvaluator.eval uateToString(DataItemEvaluator.java:624)
at
com.novell.soa.af.impl.activity.LogActivity.proces s(LogActivity.java:88)
at
com.novell.soa.af.impl.activity.ActivityNode.notif yArrive(ActivityNode.java:182)
at
com.novell.soa.af.impl.activity.RunnableActivity.r un(RunnableActivity.java:50)
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.script.ScriptException: Error Evaluating
Script
at
com.novell.soa.script.impl.lang.es.impl.EcmaScript Engine.evalToString(EcmaScriptEngine.java:553)
at
com.novell.soa.af.impl.core.DataItemEvaluator.eval uateToString(DataItemEvaluator.java:616)
... 6 more
Caused by: com.novell.soa.script.ScriptException: Error Evaluating
Script com.novell.soa.script.mozilla.javascript.WrappedEx ception:
Wrapped com.novell.soa.af.ProvisioningException: Invalid Attribute:
[twcMagicSequenceNumber] detected.
at
com.novell.soa.script.impl.lang.es.impl.EcmaScript Engine.executeExpression(EcmaScriptEngine.java:665 )
at
com.novell.soa.script.impl.lang.es.impl.EcmaScript Engine.evalToString(EcmaScriptEngine.java:544)
... 7 more
Caused by: com.novell.soa.script.mozilla.javascript.WrappedEx ception:
Wrapped com.novell.soa.af.ProvisioningException: Invalid Attribute:
[twcMagicSequenceNumber] detected.
at
com.novell.soa.script.mozilla.javascript.Context.t hrowAsScriptRuntimeEx(Unknown
Source)
at com.novell.soa.script.mozilla.javascript.MemberBox .invoke(Unknown
Source)
at
com.novell.soa.script.mozilla.javascript.NativeJav aMethod.call(Unknown
Source)
at
com.novell.soa.script.mozilla.javascript.Interpret er.interpret(Unknown
Source)
at
com.novell.soa.script.mozilla.javascript.Interpret edFunction.call(Unknown
Source)
at
com.novell.soa.script.mozilla.javascript.ScriptRun time.doTopCall(Unknown
Source)
at
com.novell.soa.script.mozilla.javascript.Interpret edFunction.call(Unknown
Source)
at
com.novell.soa.script.mozilla.javascript.Interpret edFunction.exec(Unknown
Source)
at
com.novell.soa.script.impl.lang.es.impl.EcmaScript Engine.executeExpression(EcmaScriptEngine.java:657 )
... 8 more
Caused by: com.novell.soa.af.ProvisioningException: Invalid Attribute:
[twcMagicSequenceNumber] detected.
at
com.novell.soa.af.impl.scripting.VDXScript.getValu e(VDXScript.java:259)
at com.novell.soa.af.impl.scripting.VDXScript.get(VDX Script.java:375)
at sun.reflect.GeneratedMethodAccessor790.invoke(Unkn own Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
... 16 more
2008-06-06 12:19:31,029 INFO
[com.novell.soa.af.impl.activity.LogActivityrocess] [User_Message]
Initiated by CN=IDM,OU=SERVICES,O=LAB, Process ID:
27f798233fda45beb118aa96aa8e9808, Process Name:
CN=VPN,CN=RequestDefs,CN=AppConfig,CN=UserApplicat ion35,CN=IDVAULT,OU=SERVICES,O=LAB,
Activity: Activity2, Recipient: CN=ABoozer,OU=ACTIVE,OU=EMPLOYEES,O=LAB,
Author: CN=IDM,OU=SERVICES,O=LAB, Message:
2008-06-06 12:19:31,200 INFO
[com.novell.soa.af.impl.LogEvent:logAFEvent] [Workflow_Forwarded]
Initiated by System, Process ID: 27f798233fda45beb118aa96aa8e9808,
Process Name:
CN=VPN,CN=RequestDefs,CN=AppConfig,CN=UserApplicat ion35,CN=IDVAULT,OU=SERVICES,O=LAB,
Activity: Activity2, Recipient: CN=ABoozer,OU=ACTIVE,OU=EMPLOYEES,O=LAB
2008-06-06 12:19:31,386 INFO
[com.novell.soa.af.impl.LogEvent:logAFEvent] [Provision_Failure]
Initiated by System, Process ID: 27f798233fda45beb118aa96aa8e9808,
Process Name:
CN=VPN,CN=RequestDefs,CN=AppConfig,CN=UserApplicat ion35,CN=IDVAULT,OU=SERVICES,O=LAB,
Activity: Activity, Recipient: CN=ABoozer,OU=ACTIVE,OU=EMPLOYEES,O=LAB
2008-06-06 12:19:31,512 ERROR
[com.novell.soa.af.impl.LogEvent:logError] [Workflow_Error] Initiated
by CN=IDM,OU=SERVICES,O=LAB, Error Message: Dataitem [twcWOLastUser]
with expression
[IDVault.get(approval.getAddressee(),'user','twcMag icSequenceNumber')]
failed to evaluate., Process ID: 27f798233fda45beb118aa96aa8e9808,
Process Name:
CN=VPN,CN=RequestDefs,CN=AppConfig,CN=UserApplicat ion35,CN=IDVAULT,OU=SERVICES,O=LAB,
Activity: Activity, Recipient: CN=ABoozer,OU=ACTIVE,OU=EMPLOYEES,O=LAB
</TRACE>


--
rrawson
------------------------------------------------------------------------
rrawson's Profile: http://forums.novell.com/member.php?userid=4898
View this thread: http://forums.novell.com/showthread.php?t=331692