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

How to use the dataset for email generation rule?

anujapawar
New Contributor
New Contributor

Hi,

I want to generate the email as following conditions, preferedfirstname_lastname_External@respectivedomain.com

Condition 1: Add "_External" only if the user is contractor. (For this I have created the dataset "Contacttype_Email" with attribute1 as "contracttype" and attribute2 as "suffix")

anujapawar_0-1716983412280.png

Condition 2: Add the "respectivedomain" based on "CompanyCode". (For this I have created the dataset "CompanyCode_Email" with attribute1 as "COMPANY_CODE" and attribute2 as "DOMAIN")

anujapawar_1-1716983702332.png

Condition 3: Use firstname if the preferedfirstname is null.

Condition 4: Handle duplication by appending 1,2,3... to the email.

Example1 by using condition: 

FirstName: Arnav

Preferedfirstname: Ron

Lastname: Singh

CompanyCode: CD_456

ContractType: Contractor

Email: ron_singh_External@def.com

 

 

Example2 by using condition: 

FirstName: Sam

Preferedfirstname: 

Lastname: Sung

CompanyCode: CD_123

ContractType: Permanent

Email: sam_sung@abc.com

 

 

Example3 for the duplication: 

FirstName: Arnav

Preferedfirstname: Ron

Lastname: Singh

CompanyCode: CD_456

ContractType: Contractor

Email: ron_singh_External1@def.com

 

 

2 REPLIES 2

Manu269
All-Star
All-Star

Refer :

Solved: Create generation email rule via dataset - Saviynt Forums - 60892

Regards
Manish Kumar
If the response answered your query, please Accept As Solution and Kudos
.

anujapawar
New Contributor
New Contributor

@Manu269 ,

I did see that document, but I need some solution which matching my requirement or is near to it. If that is possible it will be helpful!