Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

request_access type in email template

shivmano
Regular Contributor III
Regular Contributor III

Hi Team - 

I have a requirement to print in the email template the entitlement type and the request_access.requesttype along with the entitlements. 

I have an application which has 3 different entitlement types requestable with entitlements of their own. So when the approval email is sent, I would like for the ${entitlementshtmltablerows} table to look like below (Especially when the request involves both addition and removal of roles)

Application

Role

Description

Glossary

entitlementtype

request_access type

endpointname

entitlement displayname

  value of entitlement typeis it add/remove access for entitlement 

Can someone advise on this please ?

Here is all the variables I see for the request which has both addition and removal of roles

ServiceAccountOwnerMap = [: ] entitlements = [Svc Commercial User, (HCLS Ability to change WO Billing Type)] accessapprovers = com. saviynt. ecm. workflow. Access_Approvers : 21546 jbpm_activity_name = Manager Approval allApproversComments = null

ServiceAccountOwnerMap = [:]
entitlements = [Svc Commercial User, (HCLS Ability to change WO Billing Type)]
accessapprovers = com.saviynt.ecm.workflow.Access_Approvers : 21546
jbpm_activity_name = Manager Approval
allApproversComments = null
fullrowhtmltablerows =
listofallrolesinrequest = []
approvedEntitlementsOwners = []
requiredPermission = Advanced Approvals User
entitlementshtmltablerowsv2 = Salesforce Svc Commercial User [StartDate-(24 Jul 2024 12:01)UTC Salesforce (HCLS Ability to change WO Billing Type) [StartDate-(24 Jul 2024 12:01)UTC
entitlementshtmltablerowsv3 = Salesforce Svc Commercial User [StartDate-(24 Jul 2024 12:01)UTC Salesforce (HCLS Ability to change WO Billing Type) [StartDate-(24 Jul 2024 12:01)UTC
ACCOUNTKEY = 389697
ServiceAccountType =
requestlink = null/jbpmworkflowmanagement/showrequestdetails/CYT-WF-Approval-Disconnected-SFDC.2003678?reqid=9341
persona = Call Center-Service Sales-Dispatcher
allRejectorsComments = null
rolesApprovedOrRejected = []
rolename =
profile = Service User
request_access = com.saviynt.ecm.workflow.Request_Access : 13519
users = 9299993
allRejectors = []
requestid = 2003678
rolemap = [:]
baseUrlForEmail = https://release-n-plus-one.saviyntcloud.com/ECM
assignee = RTandon
activityname = Manager Approval
ServiceAccountFlag = false
request = com.saviynt.ecm.workflow.ARS_Requests : 9341
exceptionCount = 0
fullhtmlassignedrows =
requestkey = 2003678
rejectedEntitlementsOwners = []
roles = null
rejectedByMap = [:]
out = java.io.PrintWriter@55ef00d6
assigneemanager = rranjan
endpoint = CYT-Salesforce
requesttype = Modify
dynamicAttrsList = []
approvallink = null/jbpmworkflowmanagement/showrequestdetails/CYT-WF-Approval-Disconnected-SFDC.2003678
allrolesinrequest =
email =
endpoints = (Salesforce)
entitlementshtmltablerows = Salesforce Svc Commercial User Salesforce (HCLS Ability to change WO Billing Type)
rolesshtmltablerows =
manager = RTandon
approvedByMap = [:]
ACCOUNTNAME = 9299993
entitlement_values = [Svc Commercial User, (HCLS Ability to change WO Billing Type)]
allApprovers = []
requestor = 3632502
ENDPOINT = 104
accounts = [[name:9299993, obj:9299993], 9299993, 9299993]
user = 9299993
curExecutionId = CYT-WF-Approval-Disconnected-SFDC.2003678
accessItems = [com.saviynt.ecm.workflow.Request_Access : 13519, com.saviynt.ecm.workflow.Request_Access : 13520, com.saviynt.ecm.workflow.Request_Access : 13521]
account = 9299993
[ServiceAccountOwnerMap:[:], entitlements:[Svc Commercial User, (HCLS Ability to change WO Billing Type)], accessapprovers:com.saviynt.ecm.workflow.Access_Approvers : 21546, jbpm_activity_name:Manager Approval, allApproversComments:null, fullrowhtmltablerows:, listofallrolesinrequest:[], approvedEntitlementsOwners:[], requiredPermission:Advanced Approvals User, entitlementshtmltablerowsv2: Salesforce Svc Commercial User [StartDate-(24 Jul 2024 12:01)UTC Salesforce (HCLS Ability to change WO Billing Type) [StartDate-(24 Jul 2024 12:01)UTC , entitlementshtmltablerowsv3: Salesforce Svc Commercial User [StartDate-(24 Jul 2024 12:01)UTC Salesforce (HCLS Ability to change WO Billing Type) [StartDate-(24 Jul 2024 12:01)UTC , ACCOUNTKEY:389697, ServiceAccountType:, requestlink:null/jbpmworkflowmanagement/showrequestdetails/CYT-WF-Approval-Disconnected-SFDC.2003678?reqid=9341, persona:Call Center-Service Sales-Dispatcher, allRejectorsComments:null, rolesApprovedOrRejected:[], rolename:, profile:Service User, request_access:com.saviynt.ecm.workflow.Request_Access : 13519, users:9299993, allRejectors:[], requestid:2003678, rolemap:[:], baseUrlForEmail:https://release-n-plus-one.saviyntcloud.com/ECM, assignee:RTandon, activityname:Manager Approval, ServiceAccountFlag:false, request:com.saviynt.ecm.workflow.ARS_Requests : 9341, exceptionCount:0, fullhtmlassignedrows:, requestkey:2003678, rejectedEntitlementsOwners:[], roles:null, rejectedByMap:[:], out:java.io.PrintWriter@55ef00d6, assigneemanager:rranjan, endpoint:CYT-Salesforce, requesttype:Modify, dynamicAttrsList:[], approvallink:null/jbpmworkflowmanagement/showrequestdetails/CYT-WF-Approval-Disconnected-SFDC.2003678, allrolesinrequest:, email:, endpoints:(Salesforce), entitlementshtmltablerows: Salesforce Svc Commercial User Salesforce (HCLS Ability to change WO Billing Type) , rolesshtmltablerows:, manager:RTandon, approvedByMap:[:], ACCOUNTNAME:9299993, entitlement_values:[Svc Commercial User, (HCLS Ability to change WO Billing Type)], allApprovers:[], requestor:3632502, ENDPOINT:104, accounts:[[name:9299993, obj:9299993], 9299993, 9299993], user:9299993, curExecutionId:CYT-WF-Approval-Disconnected-SFDC.2003678, accessItems:[com.saviynt.ecm.workflow.Request_Access : 13519, com.saviynt.ecm.workflow.Request_Access : 13520, com.saviynt.ecm.workflow.Request_Access : 13521], account:9299993]

 

Thank you 

8 REPLIES 8

NM
Honored Contributor III
Honored Contributor III

Hi @shivmano , is this approval email or grant email?


If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'

shivmano
Regular Contributor III
Regular Contributor III

@NM , this is approval email 

NM
Honored Contributor III
Honored Contributor III

@shivmano only request with request access 13519 went to Ranjan for approval?


If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'

shivmano
Regular Contributor III
Regular Contributor III

No all the request items went to the approver. 21546 

rushikeshvartak
All-Star
All-Star

${entitlementshtmltablerows}  is internally prepared hence you can't change anything


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

NM
Honored Contributor III
Honored Contributor III

Hi @shivmano , were you able to resolve it?


If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'

shivmano
Regular Contributor III
Regular Contributor III

@NM , No I wish ${entitlementshtmltablerows} had more columns that can be shown like entitlement type and request access types (when we need to have same WF for add and remove access) 

NM
Honored Contributor III
Honored Contributor III

@shivmano we do have rowsv2 and rowsv3 which gives more details but no one provides with information in request access type.


If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'