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

Email Generation Rule not triggering on new user import

cdavis2
Regular Contributor
Regular Contributor

I am setting up an Email Generation Rule and and I have it setup as yes to generate on our import job. However I noticed for brand new users emails are not being generated. I verified that the rule I created works but doesn't seem like its getting triggered. Does anybody have any idea on what else should be looked at? 

8 REPLIES 8

rushikeshvartak
All-Star
All-Star

Can you confirm import configs and connectors type


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

Connector Type is Workday and here are my import configs:

{
"ImportType": "RAAS",
"ResponsePath": "wd:Report_Data.wd:Report_Entry",
"ImportMapping": {
"USERNAME": "wd:User_Name~#~string",
"FIRSTNAME": "wd:Legal_Name_-_First_Name~#~string",
"MIDDLENAME": "wd:Legal_Name_-_Middle_Name~#~string",
"LASTNAME": "wd:Legal_Name_-_Last_Name~#~string",
"CITY": "wd:Work_City~#~string",
"STATE": "wd:Work_State~#~string",
"LOCATIONDESC" : "wd:Work_Address_Line_2~#~string",
"REGIONCODE" : "wd:Work_Zip_Code~#~string",
"STREET": "wd:Work_Address_Line_1~#~string",
"DISPLAYNAME": "wd:Preferred_Name_in_General_Display_Format.wd:Descriptor~#~string",
"DEPARTMENT": "wd:Home_Dept_Cost_Center.wd:Descriptor~#~string",
"LOCATION": "wd:Work_State~#~string",
"JOBCODE":"wd:CF-_LVAO_Job_Code~#~string",
"JOBCODEDESC" : "wd:Business_Unit_Sup_Org.wd:Descriptor~#~string",
"TITLE": "wd:JobTitle~#~string",
"EMPLOYEEID": "wd:Employee_ID~#~string",
"EMPLOYEETYPE": "wd:Employee_Type.wd:Descriptor~#~string",
"SECONDARYPHONE": "wd:Mobile_Phone_Number~#~string",
"STATUSKEY": "wd:Employee_Status~#~string",
"MANAGER": "wd:Manager_Employee_ID~#~string",
"COSTCENTER": "wd:Home_Dept_Cost_Center.wd:Descriptor~#~string",
"COUNTRY": "wd:Work_Country.wd:Descriptor~#~string",
"CUSTOMPROPERTY1": "wd:Manager_Name~#~string",
"CUSTOMPROPERTY2": "wd:Manager_Employee_ID~#~string",
"STARTDATE": "wd:Hire_Date~#~string",
"CUSTOMPROPERTY4": "wd:Contingent_Worker.wd:Descriptor~#~string",
"ENDDATE": "wd:Termination_Date~#~string",
"CUSTOMPROPERTY6": "wd:Management_Level.wd:Descriptor~#~string",
"CUSTOMPROPERTY7": "wd:Work_Country.wd:ID[2].content~#~string",
"CUSTOMPROPERTY8": "wd:Work_Country.wd:ID[3].content~#~string",
"CUSTOMPROPERTY10": "wd:Work_Country.wd:ID[1].content~#~string",
"CUSTOMPROPERTY16": "wd:Employee_Status~#~string"
}
}

Job configuration 


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

Ok so I see what my issue is the users that are not triggering is due to the fact they where created prior to the email generation rule was created. Which leads me to ask how do I force an email generation on existing users? I tried using the user update rule and selected generate user email but that is not working. 

Create new temp rule update any custom property and generate email 


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

I tried that and it did not do anything. I chose custom property 65 is updated. Action is to generate user email. No email was generated not sure if there is additional configurations that must be made in order for this to work. 

share rule config. Did you kept action as when user is updated from UI/ import and perform ssme action


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

Manu269
All-Star
All-Star

@cdavis2 we had a similar ask and we implemented as below :

1. We are updating the user cp value with a static string

2. Created a sample user update rule (make sure email generation rule is configured in global config) as below

Manu269_0-1712050972927.png

 

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