<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D50Z00008C3jStSAJOkta Classic EngineLifecycle ManagementAnswered2018-09-28T17:26:47.000Z2018-07-16T00:17:28.000Z2018-08-12T04:14:08.000Z
Convert Reference to String
Hello,

 

We have G Suite as a master.  We have enabled API integration and imported users.  Now we need to put people into groups, based on the Organisation Unit they came from in G Suite.  I am trying to map appuser.orgUnitPath to a custom string varibale in UD. Then I can use a group rule to automatically add them to a group.  The problem is I get the error "Invalid value data type for propery 'GoogleOU'". This is because appuser.orgUnitPath is data type 'reference'.  Is there anyway to convert it to string in the attribute mapping please?

Thanks,

Tom

3wee9 and p2ob8 like this.
  • Hi Tom,

     

    In order to convert the appuser.orgUnitPath to string and not encounter this issue while creating the mappings, simply concatenate another character, for example appuser.orgUnitPath+""

     

    Gaftoneanu Dragos

    Technical Support Engineer

    Okta Global Customer Care
    Expand Post
    Selected as Best
  • Hi Tom,

     

    In order to convert the appuser.orgUnitPath to string and not encounter this issue while creating the mappings, simply concatenate another character, for example appuser.orgUnitPath+""

     

    Gaftoneanu Dragos

    Technical Support Engineer

    Okta Global Customer Care
    Expand Post
    Selected as Best
This question is closed.
Loading
Convert Reference to String