com.ibm.openpages.api.trigger.oob

Class DateValidationHandler



  • public class DateValidationHandler
    extends DefaultEventHandler
    This GRC trigger event handler validates two date fields on an object, throws a validation error message if end date is not after start date.

    Usage: This event handler can be used for following events:
    create.object
    create.object.with.relations
    update.object
    This event handler must be executed only in the PRE position.

    Attributes:
    Attribute Values Description Required Default
    start.date.field   The field name of a date field for start date. Yes  
    end.date.field   The field name of a date field for end date. Yes  
    The format of a field name should be [FieldGroup]:[FieldName], for example: 'OPSS-Iss:Due Date'.

Licensed Materials - Property of IBM
OpenPages with Watson (PID: 5725-D51)
© Copyright IBM Corporation 2013, 2020. All Rights Reserved.
US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.