Skip to main content
Nintex Community Menu Bar

Clearing Active Directory Fields via K2 Workflow

  • July 23, 2015
  • 2 replies
  • 10 views

Forum|alt.badge.img+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

Forum|alt.badge.img+12
  • July 28, 2015

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!


Forum|alt.badge.img+10
  • Author
  • July 29, 2015

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.