Hi All,

I have 2 work flow where one is *adding *the group membership to the
group and another one is *removing *the group membership from the
group.
In case of add, it is picking the description as *null* if
description for the group is null. If description is not null, then it
is picking the *DN *of the group.
In case of remove, irrespective to the description whether it is
*null or not null*, it is picking the *description *(It should pick the
*DN *of the group if description not null).

I have entity which provisions the selected user to the group. I
wrote the following code for both add and remove.

For Add, In *Properties* of the Entity Activity, *Entity Type* :
Group and *Operation Type* : Create/Modify
In the *DataItem Mapping* of the Entity Activity, *Entity DN* :
flowdata.get('start/request_form/AccessName'); , *Members *: Append All
Values as *modified Type*, flowdata.get('start/request_form/FirstName');
as *Modify Value Expression*

For Remove, In *Properties *of the Entity Activity, *Entity Type*
: Group and *Operation Type* : Delete Attribute/Value
In the *DataItem Mapping* of the Entity Activity, *Entity DN* :
flowdata.get('start/request_form/AccessName'); , *Members* : Delete
Value as *modified Type*, flowdata.get('start/request_form/FirstName');
as *Modify Value Expression*

So incase of *deleting *the membership, in the *request status*, *Your
resource request for* NewGroup *has been sent to provisioning service*
(User Comments generated by System, here NewGroup is description of the
group), where as incase of *adding *the membership, *Your resource
request for *cn=TSGrp01,ou=topsecret,ou=groups,o=moneygram *has been
sent to provisioning service* (User Comments generated by System, here
cn=TSGrp01,ou=topsecret,ou=groups,o=moneygram is the DN of the group).

Best Regards,
Krishna B


--
krishnabkr
------------------------------------------------------------------------
krishnabkr's Profile: http://forums.novell.com/member.php?userid=73532
View this thread: http://forums.novell.com/showthread.php?t=404329