On 08/15/2012 11:56 AM, lvaradha wrote:
>
> Hi,
>
> I need some help on this.. I could able to modify the attributes if i
> have manager vlaue in my modify workflow.
>
> When i have no manager selected for an user.. when i modify and click
> submit the modify form. I am getting the below error.
>
> Process ID: 6ccdd21318f949e19be845d410242f98, Process Name:
> cn=ModifyUser,cn=RequestDefs,cn=AppConfig,cn=UserA pplication,cn=idv-DriverSet,ou=IDM,ou=Services,o=idv:1617,
> Activity: Activity, Recipient: cn=admin,ou=Services,o=idv
> 2012-08-15 10:47:07,124 INFO [STDOUT] (pool-13-thread-7) ERROR [RBPM]
> [com.novell.soa.af.impl.LogEvent:logError] [Workflow_Error] Initiated by
> cn=admin,ou=Services,o=idv, Error Message: Ldap error updating object:
> cn=achang,ou=NA,ou=Internal,ou=Users,o=idv. Error:
> javax.naming.InvalidNameException:
> cn=achang,ou=NA,ou=Internal,ou=Users,o=idv: [LDAP: error code 34 -
> Invalid DN Syntax]; remaining name
> 'cn=achang,ou=NA,ou=Internal,ou=Users,o=idv', Process ID:
> 6ccdd21318f949e19be845d410242f98, Process Name:
> cn=ModifyUser,cn=RequestDefs,cn=AppConfig,cn=UserA pplication,cn=idv-DriverSet,ou=IDM,ou=Services,o=idv:1617,
> Activity: Activity, Recipient: cn=admin,ou=Services,o=idv
> 2012-08-15 10:47:07,124 INFO [STDOUT] (pool-13-thread-7) 66710991
> [pool-13-thread-7] ERROR com.novell.soa.af.impl.LogEvent -
> [Workflow_Error] Initiated by cn=admin,ou=Services,o=idv, Error Message:
> Ldap error updating object: cn=achang,ou=NA,ou=Internal,ou=Users,o=idv.
> Error: javax.naming.InvalidNameException:
> cn=achang,ou=NA,ou=Internal,ou=Users,o=idv: [LDAP: error code 34 -
> Invalid DN Syntax]; remaining name
> 'cn=achang,ou=NA,ou=Internal,ou=Users,o=idv', Process ID:
> 6ccdd21318f949e19be845d410242f98, Process Name:
> cn=ModifyUser,cn=RequestDefs,cn=AppConfig,cn=UserA pplication,cn=idv-DriverSet,ou=IDM,ou=Services,o=idv:1617,
> Activity: Activity, Recipient: cn=admin,ou=Services,o=idv
>
>
> Can any one share the best way to modify manager attribute using the
> workflow
>
>

Greetings,
If you are depending upon a Manager being selected before the form
is submitted then you need to mark the field required. You can also
utilize the form.interceptAction() so that you can make sure the value
is what you are expecting.



--
Sincerely,
Steven Williams
Lead Software Engineer
NetIQ