Hi, i'm trying to check if a CN is allready available or not

What i have done
Name: Test01
Parameters: key(UserGroupName) Dislplay Lable (Name of the User Group)
Condition: CN equals %UserGroupName%
Search Root: my Container with all my UserGroup's
Search Scope: Container and Subcontainer
Max Search Entries: 20

In the Data Item Mapping bevore my Condition GroupName defined as
flowdata (flowdata.GroupName) as String.

In my Condition Activity i added the following Code in Condition
function ()
var v = IDVault.globalQuery("Test01",
if (v.size() > 0)
return true;
return false;
What i expect is, that the WF takes the true way, if an with the same
name exists, and goes false way if not.

Someone see my error?
Thanks for your help.

AndreasBucher's Profile: http://forums.novell.com/member.php?userid=24621
View this thread: http://forums.novell.com/showthread.php?t=375762