and more in a single search tool across platforms. Read the announcement here. |
01/28/2024 10:59 PM - edited 01/28/2024 11:03 PM
01/28/2024 11:23 PM
Hi,
Add once if else condition with Endpoint criteria mapping ,under start based on exiting false condition.
For approval create Custom assignment with manager query
Example :
<assignment-handler class="com.saviynt.workflowmgt.ArsCustomAssignmentHandler">
<field name="fieldname">
<string value="CustomQuery___(select manager as userkey from users where userkey in(select manager from users where manager = ${user.manager}))___Any Owner Approval Required"/>
</field>
<field name="mitigatingControlRisk">
<string value="[]"/>
</field>
</assignment-handler>
01/29/2024 04:33 AM
Hi @CR ,
Thanks for the response and the idea.
I have tried the similar way, but I have added one if-else condition and one manager approval task before 1st if-else condition like there will be 4 if-else conditions.
if endpoint (Ex: "ept1") then it should go for SRM manager approval and once approves it should End.
if the above condition fails it should check for the 2nd if-else condition. (if fails) 3rd if condtion (if fails) 4th (if fails) End.
I have updated the XML and checked the flow and uploaded it.
But when I request a user for the child endpoint it not submitting request and giving me the below error. What I'm thinking is that do we need to change the JSONDATA as well which is present in the starting of the XML?
Attached the updated XML.
01/29/2024 05:07 AM
Look like error some time it happened , try after re-login / restart
its exiting flow endpoint 'SRM_Active_Directory' you going to modify or new endpoint adding ?
Query added ? am not finding in your zip file ?
01/30/2024 10:22 AM
Hi @CR ,
I have logged out and logged in but still same issue and it's a new account request.
I haven't added the custom assignment. I have added new manager approval task in the XML. You can find 2 task's of Manager Approval in the .zip file
1st name of the manager approval: SRM Manager Approval
2nd name of the manager approval: Manager approval