Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Preprocessor query to concat user's firstname and lastname and send it as a single field

Debankita
New Contributor III
New Contributor III

Hi Team,

Can someone please help me with the preprocessor query by which I can concatenate user's firstname and lastname and send it as a single field in a customproperty.

Thanks in Advance,

2 REPLIES 2

DixshantValecha
Saviynt Employee
Saviynt Employee

Hi Debankita,

Kindly refer to the enclosed document for comprehensive details regarding your requirement.

The document can be accessed at the following link: https://docs.saviyntcloud.com/bundle/KBAs/page/Content/Integration-Options-with-the-Saviynt-Database...

DixshantValecha_0-1681139942860.png

If you require any further information or assistance, please let us know.

dgandhi
All-Star
All-Star

Hi,

We used below 

{ "ADDITIONALTABLES": {
"USERS": "SELECT FIRSTNAME, LASTNAME, customproperty22, customproperty23 FROM USERS"
},
"COMPUTEDCOLUMNS": [
"customproperty25"
],
"PREPROCESSQUERIES": [
"UPDATE NEWUSERDATA SET customproperty25 = (case when (firstname is not null and CUSTOMPROPERTY23 is not null) then CONCAT(CUSTOMPROPERTY23,',',' ',firstname) when (firstname is null and CUSTOMPROPERTY23 is not null) then CONCAT(CUSTOMPROPERTY23,',',' ',customproperty22) when (firstname is not null and CUSTOMPROPERTY23 is null) then CONCAT(lastname,',',' ',firstname) when (firstname is null and CUSTOMPROPERTY23 is null) then CONCAT(lastname,',',' ',customproperty22) END)"
]
}

Thanks

Thanks,
Devang Gandhi
If this reply answered your question, please Accept As Solution and give Kudos to help others who may have a similar problem.