Hi,

At the end of a workflow, we send an email with different informations
about the modified user (target).

The email activity works fine, but we are unable to get the full name of
the manager of the user.

We can get the CN of the manager, with the following :

var vManager=IDVault.get(flowdata.get('start/request_form/target') ,
'user', 'manager')
if (vManager != ""){
vManager}
else{" - "}

Result in the mail is : Manager : cn=jmiller,ou=users,o=data

But now if we want to get the FullName of the Manager, this gives an
error in the trace and the result is empty:

var vManager=IDVault.get(flowdata.get('start/request_form/target') ,
'user', 'manager')
if (vManager != ""){
IDVault.get(vManager , 'user', 'FullName')}
else{" - "}


Error in the server log:

2013-02-20 14:48:18,421 INFO [STDOUT] (pool-13-thread-8) WARN [RBPM]
[com.novell.soa.af.impl.core.WorkflowNotification:e valuateMappi
ngs] Script error evaluating expression [var
vManager=IDVault.get(flowdata.get('start/request_form/target') , 'user',
'manager');
if (vManager != ""){
IDVault.get(vManager , 'user', 'FullName')}
else{" - "}] .

Any idea ??

Thanks

Sylvain


--
sma
------------------------------------------------------------------------
sma's Profile: https://forums.netiq.com/member.php?userid=174
View this thread: https://forums.netiq.com/showthread.php?t=46888