Clearing Active Directory Fields via K2 Workflow


Badge +10

Hi all,

 

I would like to clear the line manager field of an active directory account via K2 workflow. Now, I can update the field but I cant clear the field. If i pass a valid username as the line manager it updates it fine but I would like to clear that field so it has no value. I tried to pass "Empty String' from the context menu, I have tried to Pass NULL and SCNULL, I have tried to pass a space. All throw the same error. "Error mapping 'Manager'".

 

Thnaks in advance


2 replies

Badge +12

Hello,

I am assuming you are using a smartobject to update those fields for you. Just to check, have you also tried executing this directly from the smartobject tester? If you use "Null" or pass a white space to the Manager property, does the same error persist? If yes, I would suggest logging a support ticket so we can verify if these values are considered valid for the Manager property.

Thanks!

Badge +10

Yes the tester tool returns the same results.

 

Wrote a custom smartobject in the end use the .net Directory Entry Class to clear the fields.

 

 

Reply