Service execution logs/history

Which IIQ version are you inquiring about?

8.4

Share all details about your problem, including any error messages you may have received.

Using the IIQ plugin framework, I create a plugin service following this doc.
I built and deployed my plugin to my IIQ instance.

This is how my service definition looks:

<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE ServiceDefinition PUBLIC "sailpoint.dtd" "sailpoint.dtd">
<ServiceDefinition name="MyService" executor="com.MyService" interval="60">
    <Attributes>
        <Map>
            <entry key="pluginName" value="MyPlugin"/>
        </Map>
    </Attributes>
</ServiceDefinition>

I have some questions about it:

  1. In which unit is the interval? What value should I put if I want to run my service every 24 hours?
  2. Where in IIQ can I see the logs of my service executions? Will it appear under task execution history?

The interval attribute in your ServiceDefinition is measured in seconds.

To run your service every 24 hours, you should set the interval value to 86400. (24 hours * 60 minutes/hour * 60 seconds/minute = 86400 seconds)

So, your ServiceDefinition would look like this:


<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE ServiceDefinition PUBLIC "sailpoint.dtd" "sailpoint.dtd">
<ServiceDefinition name="MyService" executor="com.MyService" interval="86400">
    <Attributes>
        <Map>
            <entry key="pluginName" value="MyPlugin"/>
        </Map>
    </Attributes>
</ServiceDefinition>

The logs for your plugin service executions will typically appear in the main IdentityIQ log files on your application server. This is usually identityiq.log or catalina.out (if you’re running on Tomcat).