Create User When Identity Exists?

Good day all.  I am running into a problem when trying to create a User.  I have an Identity that is used during Lifecycle Released state for documents.  I would like this Identity to send an e-mail to a specific account.  I figured that I would create a User to add the e-mail to, but when I create the User I receive a message stating that I can't because the Identity already exists.  How can I fix this issue?  Also, how can I associate the two?  Thank you for the help.

  • Hi Nathan,

    Your existing identity is group identity(is_alias=0) ?

    Create users with different names (set email ids for every user) & add users identity under your existing group identity.

    While sending email  fetch all users from group identity & send email.



  • Suhas,

    Thank you for your suggestion.  I want to associate the Identity with a user directly.  I found that there is an Alias that associates the two, but I can't figure out how to change the User or Identity with the Alias. 

  • Hi Nathan

    Using below AML query you can connect User and Identity 

      <Item type="User" id="" action="add" doGetItem="0">   // Random GUID
        <login_name></login_name> // User Login Name
        <logon_enabled></logon_enabled> // Default 1
        <owned_by_id></owned_by_id> // Existing Identity GUID 
          <Item type="Alias" id="" action="add"> // Random GUID
            <related_id></related_id>  // Existing Identity GUID 
            <source_id></source_id> // Above User Random GUID

    Example Query 

      <Item type="User" id="21928F9AC5DB44A4BB8A9FC3273FA85F" action="add" doGetItem="0">
        <owned_by_id> F2C3755755C44EB6B81AFEEF1C49473E</owned_by_id>
          <Item type="Alias" id="7766F3F302644E128C60A88F7DC9863E" action="add">

    Thank You

    Gopikrishnan R

  • Gopikishnan,

    Thank you for the suggestion.  I will try it when I get a chance.