|
| Issue with flowdata.getObject and Entity Activity |
 |
Thu, 15 May 2008 10:16:02 GMT |
Hi everyone,
I got some trouble with an entity activity in my current workflow:
Actually i have to add some group's dns to the groupMembership
attribute of one user, but when my workflow reach the entity activity,
the flowdata.getObject doesn't return the expected stuff.
I'm expected an arraylist of dn like: [cn=res01,ou=Resources,o=Vault,
cn=res02,ou=Resources,o=Vault, ...]
but the array list i get is: [[Resources: null], [Resources: null],
...]
The result returned has the same length that the number of resources
there are in the field, and if i choose to use flowdata.get, i get only
the first data of the field, but a good one
(cn=res01,ou=Resources,o=Vault) and not Resources: null
I don't know why suddenly getObjects doesn't return valid values, if
anyone have a clue...
Thanks for support !
Sébastien
--
sjahan
------------------------------------------------------------------------
sjahan's Profile: http://forums.novell.com/member.php?userid=16002
View this thread: http://forums.novell.com/showthread.php?t=328040
|
| Post Reply
|
| Re: Issue with flowdata.getObject and Entity Activity |
 |
Thu, 15 May 2008 10:36:02 GMT |
Actually, the funny thing is that the [resources: null] directly loaded
into groupMembership are good, when i go to see into the entity the
attribute groupMembership, i have the expected DN's even if my script
display [resources: null] for each dn.
The problem is that this is only the first step, and i have to use the
dn's in my script to get others dn's, but in my scrpt, the only values
i can get are [resources: null]...
If you have any idea about how to get the real value... ;)
--
sjahan
------------------------------------------------------------------------
sjahan's Profile: http://forums.novell.com/member.php?userid=16002
View this thread: http://forums.novell.com/showthread.php?t=328040
|
| Post Reply
|
| Re: Issue with flowdata.getObject and Entity Activity |
 |
Thu, 15 May 2008 12:46:02 GMT |
Finally i figured out, it's ok ! I succeed at accessing my data with
get(i).getFirstChild().getNodeValue() on the ArrayList !
Thanks.
--
sjahan
------------------------------------------------------------------------
sjahan's Profile: http://forums.novell.com/member.php?userid=16002
View this thread: http://forums.novell.com/showthread.php?t=328040
|
| Post Reply
|
| Re: Issue with flowdata.getObject and Entity Activity |
 |
Thu, 15 May 2008 12:52:15 GMT |
On 05/15/2008 07:46 AM, sjahan wrote:
> Finally i figured out, it's ok ! I succeed at accessing my data with
> get(i).getFirstChild().getNodeValue() on the ArrayList !
>
> Thanks.
>
>
As you discovered the flowdata is actually stored as XML. The built in
expressions handle this properly but if you need to get at the data in a
|
| Post Reply
|
|
|
|
|
|
|
|
|
|