Hello,
I'm running the 1.04 AD plugin on vCO 5.5.1. When I run any of the create user workflows, like Create a user with a password in an OU or Create a user with a password in a group, for example, if you look in AD at the new user the fields aren't populated correctly.
Example, the First Name field has the first and last name I supplied in the workflow. The Last Name field is populated with the the account name I supplied.
Any ideas on how to get this to work as expected?
You cannot modify the library workflows.. instead, you create a new workflow that wraps the library workflow, add inputs and additional workflow elements to complete the task needed. In the workflow I attached, that is what I did. I map the library workflow inputs and then pass the created AD:User object as an Attribute and then pass that in to a Scriptable task that correctly sets the givenName, sn, etc...
Hello,
this issue is fixed in the next release of the plugin. You can use as a workaround setting additionally the "sn" attribute (which is "Last name") and the "givenName" attribute (which is "First name") after creation of the user.
Regards, Elena.
Are you saying I modify the workflow?
Yes, you can add one more step in the workflow and changing the user attributes :
user.setAttribute("givenName", "John");
user.setAttribute("sn", "Lewis");
Here's an example that I created for same request internally....
You cannot modify the library workflows.. instead, you create a new workflow that wraps the library workflow, add inputs and additional workflow elements to complete the task needed. In the workflow I attached, that is what I did. I map the library workflow inputs and then pass the created AD:User object as an Attribute and then pass that in to a Scriptable task that correctly sets the givenName, sn, etc...