This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

user manager update

Hi All,

I have one user custom field that containing the user manager "personnelnumber" information .According to this attribute,i want to update the user manager field value"UID_PersonHead".

example.Created one user xyz and custom field value update as 6767

If any user exist in person table with personnelnumber=6767 then this user name should update as Manager of XYZ user.

Can you please suggest?Trying to update manager template but it is not working

Regards,

PS

  • Hi PS,

    Have you checked that your custom column has been detected as a trigger for the template on UID_PersonHead?

    Select the table Person > Tasks > Forms > Table Overview

    Below the 'Table Person' bubble expand 'Columns of table', scroll down to and select UID_PersonHead

    Tasks > Forms > Column overview

    Verify that your custom column is in the list of 'Column results from ....'

    Also, have you checked the 'Overwrites (custom)' checkbox on the 'Custom' tab of Column properties on your custom column?

    HTH, Barry.

  • Yes,I know the UID_Personhead attribute ,I am calling below function form this attribute template but this is not working while when I am testing this script from test tool it is getting correct result.I am not sure that is it problem with custom field ?

    Here "Q1C_SupervisorID" is my custom field.

    Public Function QDC_VI_AssignManager( ByVal Q1C_SupervisorID As String) As String

    Dim f As ISqlFormatter = Connection.SqlFormatter
    Dim strWhere As String=f.Comparison("PersonnelNumber",Q1C_SupervisorID,ValType.String)


    Return connection.GetSingleProperty("Person","uid_person",strWhere).String

    End Function

    Regards,

    PS

  • Can you please provide any suggestion? I am stuck here.

  • I have tested that same code is working fine from workday SOAP web service call but still it is not working with Manager tool.

  • Try to clear the local cache for D1IM on the machine that you are using the Manager.

    These are the directories where the cache is located:

    %UserProfile%\AppData\Local\Quest Software\Identity Manager\AssemblyCache

    %UserProfile%\AppData\Local\Quest Software\Identity Manager\Cache