<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
0D54z00008epiSDCAYOkta Classic EngineAdministrationAnswered2024-04-02T16:23:39.000Z2023-01-12T12:33:18.000Z2023-01-12T14:36:19.000Z
Ultipro to Okta custom username SPeL Expression syntax error

Hi everyone,

 

In Ultipro > Provisioning> To Okta, I would like to change the okta username format.

I used in other place String.substringBefore(user.email, "@")+"@domain.com" but I received an error

"Please use the SpEL expression syntax to write expressions."

 

Since the user does not exist in Okta, I tried app.emailaddress, source.emailaddress without luck.

Is anyone already modified that place?

 

Thanks,

 

 


  • SebastienB.90492 (Customer)

    It sounds like the variable is case-sensitive.. this worked as expected.

    String.substringBefore(appuser.EmailAddress, "@")+"@domain.com"

    Selected as Best
  • JaniK.29243 (Customer)

    Hello @SebastienB.90492 (Customer)​,

     

    did you try "appuser.email" as well? We don't have this same integration, but it looks that might be the correct format.

     

    -Jani

  • SebastienB.90492 (Customer)

    It sounds like the variable is case-sensitive.. this worked as expected.

    String.substringBefore(appuser.EmailAddress, "@")+"@domain.com"

    Selected as Best
This question is closed.
Loading
Ultipro to Okta custom username SPeL Expression syntax error