Testing your custom script in WFM

After implementing your custom rules and conditions, you can test if the rules and conditions have fired in WFM (for a particular employee’s timesheet and calc group) by using the Rule Tracer.

To test your custom script in WFM with the Rule Tracer:

  1. Select Maintenance > System Administration > Toolkit > Quick Rule Editor > <your calc group> > Add Rule <your rule>.

    This is where your custom rule (if properly implemented) will appear along with existing core rules.

  2. Select the custom rule that you created with your custom script.
  3. Select the parameters 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.