High Level Steps of developing Custom Tasks :-
1. Create TaskDefinition.xml file then import into IIQ
Note : Define a task definition with input and return arguments
2. Develop a Java code and place it in following path :
C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\idenityiq\WEB-INF\classes\sailpoint
public class Demo extends AbstractTaskExecutor {
public void execute(SailPointContext sailpointContext, TaskSchedule taskSchedule, TaskResult taskResult, Attributes args) throws Exception {
String output = "output";
String appName = (String) args.get("application");
result.setAttribute(output, "This is Prasad Reddy" + appName);
}
public boolean terminate() {
return false;
}
NOTE : Create custom directory in above path then place the java file in custom directory.
3. Restart the application server (Apach Tomcat Server)
No comments:
Post a Comment