I want to Edit this executer "sailpoint.task.WorkItemExpirationScanner" . Where do i find that

In this predefined task “Check Expired Work Items”. I want to know how this scanner is working and also want to add additional logic there but i cannot find this executor (WorkitemExpirationScanner) in debug page. where should i find that to edit it…

<TaskDefinition created="1557410909430" executor="sailpoint.task.WorkItemExpirationScanner" id="8ae49aa06a9cec31016a9cec8cf501fc" modified="1728532800202" name="Check Expired Work Items" resultAction="Delete" subType="task_item_type_system" type="System">
  <Attributes>
    <Map>
      <entry key="TaskDefinition.runLengthAverage" value="42"/>
      <entry key="TaskDefinition.runLengthTotal" value="87244"/>
      <entry key="TaskDefinition.runs" value="2060"/>
      <entry key="TaskSchedule.host"/>
      <entry key="taskCompletionEmailNotify" value="Disabled"/>
      <entry key="taskCompletionEmailRecipients"/>
      <entry key="taskCompletionEmailTemplate"/>
    </Map>
  </Attributes>
  <Description>Send reminders, escalate, or expire items.</Description>
  <Signature>
    <Returns>
      <Argument name="total" type="int">
        <Prompt>task_out_check_expired_work_items_total</Prompt>
      </Argument>
      <Argument name="totalWorkItems" type="int">
        <Prompt>task_out_check_expired_work_items_work_items_total</Prompt>
      </Argument>
      <Argument name="totalCertItems" type="int">
        <Prompt>task_out_check_expired_work_items_cert_items_total</Prompt>
      </Argument>
      <Argument name="expirations" type="int">
        <Prompt>task_out_check_expired_work_items_expirations</Prompt>
      </Argument>
      <Argument name="reminders" type="int">
        <Prompt>task_out_check_expired_work_items_reminders</Prompt>
      </Argument>
      <Argument name="escalations" type="int">
        <Prompt>task_out_check_expired_work_items_escalations</Prompt>
      </Argument>
      <Argument name="pushes" type="int">
        <Prompt>task_out_check_expired_work_items_pushes</Prompt>
      </Argument>
      <Argument name="emailsSuppressed" type="String">
        <Prompt>task_out_emails_suppressed</Prompt>
      </Argument>
    </Returns>
  </Signature>
</TaskDefinition>

Hi Amol :),

this executor will be shipped with the identityiq.jar; it is written directly in Java and if you use an IDE like IntelliJ you could create an instance of this class and check what exactly the executor is doing. Based on that you can decide whether to extend it or write your own executor.

Some default javadoc you get also though the OOTB javadoc, which you find in an URL like this:

<base_url>/<iiq_path>/doc/javadoc/

Hope it helps you :slight_smile:

Br,
Renad

1 Like

Hi @autorun6464,

Check expired workitems is a system task and is designed to run on every WorkItem and CertificationItem in the system.
This task checks the due dates of work items compared to the current date.
If you need to add additional logic, you can create a custom task

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.