I am struggling to save an MV Checkbox from a workflow-from to an
eDirectory attribute as string.

This is what I want to achieve:

In a form I have a MV Checkbox called workpattern, it registeres that
days a person works. So mo, thue, wed, thu, fri, sat, sun

The workpattern flows between multiple form, no problem. But at the end
of the workflow I want to save it in eDirectory in a workpattern
attribute as a string of the days that are checked: For example:

I can't figure out how to get the checked elements out of the
workpattern. Somehow it seems that is is an array of objects, but I have
no idea how this is contructed.

The only thing I have working now is to have the following function in
the Expression Value of a Save Entry object:

function list() {
var v=flowdata.getObject('Activity8/TR_approval_form/workpattern');
var w="";

for (var i=0; i<v.size();i++) {

w = w + v.get(i);
return w;

In eDirectory this ends up as:

[workpattern: null][workpattern: null][workpattern: null][workpattern:

I have four elements of the MC Checkbox checked, so four elements in
eDirectory seems ok, but how do I get the values in there?

Anyone out there having an idea how the MV Checkbox objcet is
constructed in User Application?

Thanks in advance, Eddy

emarinus's Profile: http://forums.novell.com/member.php?userid=10489
View this thread: http://forums.novell.com/showthread.php?t=365636