Testing your custom script in WFM

After configuring your custom rules and conditions, you can verify whether these have been triggered in WFM for a specific employee's timesheet and calculation group by using the Rule Tracer tool.

  1. Select Maintenance > System Administration > Toolkit > Quick Rule Editor > <your calc group> > Add Rule <your rule>.
    If properly implemented, this is where your custom rule is displayed along with existing core rules.
  2. Select the custom rule that you created with your custom script.
  3. Select the parameters that you want to use for your custom rule and apply your changes.
  4. Click on New Condition Set – Add Condition and select your custom condition, if you have one.
  5. Set the rule and condition parameters and click on Apply.
  6. Save the rule.
  7. Test your custom rules and conditions by making changes to the timesheet for an employee in the appropriate calc group that will trigger the custom rules and conditions to fire.
  8. Submit the timesheet for the test employee in the appropriate calc group.
  9. Go to the Rule Tracer in the Daily Timesheet to track the changes that were made and observe if your custom rules and conditions are behaving as you expect.

For more information on using the Rule Tracer you can refer to the Infor Workforce Management Daily Timesheet User Guide.

You can also use the other methods mentioned in this section for debugging your custom script.