Click HERE to see how Saviynt Intelligence is transforming the industry. |
08/03/2023 11:56 AM
Hi Team,
We are exploring action even in workflow - Can we get ars -request metadata like endpointname , Entitlement requested, username,accountname details inside action event ?
What is the method input parameters ? what are the use cases for this component ?
Thanks,
suresh
08/03/2023 07:24 PM
You need to create custom jar and deploy. You can pass arguments to java code as show below
Action Event | Use this component to execute a java class and method after fulfilling certain conditions. Ensure that the class and the method you want to call are available in the JAR file. Copy the JAR file to: . Note Support for returning of data from Java methods into workflows is not available. | This block consists of the following parameters:
This block consists of the After Execute connection points. |
08/03/2023 07:49 PM
This is custom class we are not extending any class right ?notifyApp.java - Java class notify( ) - method
where this method come from getAction(endpoint,ARSREQUEST.id) ?
Do you mind share any sample Java class for Action Event if possible?
Thanks,
suresh
08/03/2023 08:33 PM
Yes is custom class
For below example
class : com.AECaller;
method : justCall() wihout args
method Test(a) with arguments
08/04/2023 06:15 AM - edited 08/04/2023 06:16 AM
we need endpoint,ARSREQUEST.id, accouname,username (request metadata) details in the Java Code for further logic, how can we get it ? otherwords can we print endpoint,ARSREQUEST.id inside java code ?
Are you saying we can call only static logic here ?
08/04/2023 06:30 AM
If you send requestkey inside code and csll get request details api , you should get required details
08/04/2023 06:33 AM
How to get requjestkey ?
08/06/2023 05:26 PM
As mentioned earlier you can pass as argument
08/07/2023 04:44 AM