and more in a single search tool across platforms. Read the announcement here. |
02/06/2023 01:16 PM
Team,
We are using Parallel workflow for our service account use case and we are trying to get the details of user who rejected the request. And we have assigned email template in Rejected Access block. As per documentation: https://docs.saviyntcloud.com/bundle/EIC-Admin-v231/page/Content/Chapter06-EIC-Configurations/Creati... we used the parameter ${allRejectors.collect{it.username}.join(',')}
But we not getting email as expected. Also using this ${this.binding.variables.each {k,v -> println "$k = $v" + "<" + "br" + ">"}} we can see that allRejectors is having no value. Below is the snippet.
entitlements = []
USEROWNERKEYADDED = 15607
jbpm_activity_name = Reject_Access
allApproversComments = null
fullrowhtmltablerows =
listofallrolesinrequest = []
USERRANKJSON = {"15607":1}
entitlementshtmltablerowsv2 =
requestlink = null/jbpmworkflowmanagement/showrequestdetails/SV_ServiceAccount_Workflow.1940053?reqid=2490
allRejectorsComments = null
rolesApprovedOrRejected = []
rolename =
request_access = com.saviynt.ecm.workflow.Request_Access : 4335
users = admin
allRejectors = []
task = null
requestid = 1940053
USEROWNERKEY = 15607
rolemap = [:]
baseUrlForEmail = https://release-n-plus-one.saviyntcloud.com/ECM
ISPAMPROTECTEDACC = 1
assignee = admin
activityname = Reject_Access
request = com.saviynt.ecm.workflow.ARS_Requests : 2490
ACCOUNTTYPE = FIREFIGHTERID
exceptionCount = 0
fullhtmlassignedrows =
requestkey = 1940053
roles = null
rejectedByMap = [:]
out = java.io.PrintWriter@377b96b0
assigneemanager = E90xxxx
endpoint = Credential_xxxx
requesttype = New Account
dynamicAttrsList = []
approvallink = null/jbpmworkflowmanagement/showrequestdetails/SV_ServiceAccount_Workflow.1940053
allrolesinrequest =
email =
endpoints = (Credential_xxxx)
entitlementshtmltablerows =
rolesshtmltablerows =
manager = E90xxxx
approvedByMap = [:]
ACCOUNTNAME = test-xxxx
Business_Justification = Test
entitlement_values = []
allApprovers = []
requestor = admin
BAP_ID = BAPxxxxx
ENDPOINT = 58
accounts = [[name:test-xxx, obj:null]]
BAP_NAME = IAM - xxxxx
user = admin
curExecutionId = SV_ServiceAccount_Workflow.1940053
accessItems = [com.saviynt.ecm.workflow.Request_Access : 4335]
Same issue with getting details of user who approved the request we used binding variable: ${allApprovers.collect{it.username}} but we see null value for allApprovers using variable: ${this.binding.variables.each {k,v -> println "$k = $v" + "<" + "br" + ">"}}
Can someone help with right variable that we can use to get rejected by or approved by details?
Solved! Go to Solution.
02/06/2023 05:31 PM
As per variable list its not exposed for service account. Please raise idea ticket
02/07/2023 09:29 AM
Thanks Rushi opened an IDEA : https://ideas.saviynt.com/ideas/EIC-I-4118