Below are the high level steps to create a custom scheduler
job in OIM:
1. Prepare a custom java code which extends TaskSupport
2. Make a Jar file
3. Prepare plugin.xml file
<?xml version="1.0" encoding="UTF-8"?>
<oimplugins
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<plugins
pluginpoint="oracle.iam.scheduler.vo.TaskSupport">
<plugin pluginclass="com.test.iam.tasks.
Test
ScheduledTask
"
version="1.0" name="
TestScheduledTask
"/>
</plugins>
</oimplugins>
4.
Prepare <Classname>.xml file (Prepared as
per your requirement)
<scheduledTasks
xmlns="http://xmlns.oracle.com/oim/scheduler">
<task>
<name>Test Scheduled Task</name>
<class> com.test.iam.tasks.Test
ScheduledTask
</class>
<description> Test Scheduled Task </description>
<retry>1</retry>
<parameters>
<string-param
required="true" helpText="Input File"> Input
File</string-param>
<string-param
required="true"
helpText="Delimeter">Delimeter</string-param>
</parameters>
</task>
</scheduledTasks>
a. Lib/<classname.jar
file>
b. Plugin.xml
c. META-INF/<classname.xml
file>
d. Create
a <classname.zip> file
8.
Verify plugin is successfully updated or not in
OIM DB
Select * from plugins where
NAME=’complete package name with class’;
9.
Create a custom schedule task in OIM by login
into OIM system administration console
10. Go to Scheduler under System Management