Update data in LDAP
Hi friends,
I am new in IDM field,
I want to update my LDAP user account status from disable to enable or vice versa, I read that can be possible by checkout and checkin kind of funda. But donot know how to use it properly.
My datasource name is SUNDIR ,
I have only three activities in work start, enableAccount,end
I have writen down this code given below in the action of enableAccount activity.
checkout:
<Action id='0' name='UpdateValue' application='com.waveset.session.WorkflowServices' hidden='true'>
<Argument name='op' value='checkoutView'/>
<Argument name='type' value='User'/>
<Argument name='id' value='gjain'/>
<Argument name='uid' value='gjain'/>
<Return from='view' to='user'/>
</Action>
update code :
<Action id='1' hidden='true'>
<expression>
<set name='user.accounts[SUNDIR].pocuserstatus'>
<s>Enabled</s>
</set>
</expression>
</Action>
checkin :
<Action id='2' application='com.waveset.session.WorkflowServices' hidden='true'>
<Argument name='op' value='checkinView'/>
<Argument name='view' value='$(user)'/>
</Action>
where user is the global variable in our workflow.
Workflow is running fine but no updation in LDAP.
Can any body tell me how to get resolve in details.

