title: Oracle UCM Custom Reject email from workflow step
body: <p>I have a single step criteria workflow,after the content is rejected from this step I want to send email to the doc author notifying that the content item has been rejected.</p>
  
  <p>I tried adding following lines of code in the exit event of the workflow step but that does not seem to work and still it is loading the OOTB reject mail template as evident in the logs.</p>
  
  <pre><code>&lt;$if wfAction like "APPROVE"$&gt;
  &lt;$wfUpdateMetaData("xTested",0)$&gt;
  &lt;$endif$&gt;
  &lt;$if wfAction like "REJECT"$&gt;
  &lt;$wfSet("wfJumpName", "RejectJump")$&gt;
  &lt;$wfSet("wfJumpTargetStep", wfCurrentStep(-1))$&gt;
  &lt;$wfSet("wfJumpEntryNotifyOff", "1")$&gt;
  &lt;$wfNotify(dDocAuthor,"user","MY_REJECT_MAIL")$&gt;
  &lt;$endif$&gt;
  </code></pre>
  
  <p>I have also have the custom component with my custom templates enabled in my Component manager.
  but in the logs i see the following:</p>
  
  <blockquote>
    <p>resourceloader/7 07.31 06:06:37.036 IdcServer-15486 not loading page REDIRECT_TEMPLATE because it is up to date with timestamp 1324323808000
    resourceloader/7 07.31 06:06:37.036 IdcServer-15486 Checked resources files and 0 out of 110 have changed and it required 0 milliseconds to do the check
    mail/6 07.31 06:06:37.038 send email queue background mail thread starting
    mail/6 07.31 06:06:37.038 send email queue Background mail thread active -- 1 packages remain
    resourceloader/7 07.31 06:06:37.038 send email queue not loading page WF_REJECT_MAIL because it is up to date with timestamp 1355857834000
    resourceloader/7 07.31 06:06:37.038 send email queue Skipping resource file check because it is too soon since the last one</p>
  </blockquote>
  
  <p>Can any one tell me where exactly am i going wrong here.</p>