I would like to check if a flowdata.get value is null or not. (the
returned value is a resource cn)

I'm not familiar with ECMA script and I tried this in ma condition
activity:

flowdata.get('ithelpdesk1').length() > 0

Off course this give a workflow error...

I also tried this:

function test()
{var v=flowdata.get('ithelpdesk1');
if(v.length() > 0) {return true;} else {return false;}};
test()

This does not give error, but the condition activity always return
TRUE.

Thanks

Sylvain


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