none
Business Rule Extension - always failing RRS feed

  • Question

  • I've attempted to create a script to validate a new record but it always fails regardless of what the script returns.

    The business rule states if <script returns 1> then <field> is not valid

    The script has been cut back to simply returning 0 or 1 (literally I just have it "RETURN 1" or "RETURN 0") but regardless of what it returns, when running validation, it always fails (no reasoning that I can see), have I missed something or are there logs generated somewhere to allow me to find out the reason for the failure?

    Tuesday, January 16, 2018 10:37 PM

All replies

  • OK, think I got to the bottom of this one. If you change the procedure, you have to "invalidate" all records in order to force them to validate again (by "invalidating", you actually need to go publish the business rules again). It would appear that if it is detected that no business rule has changed, then the validation wouldn't change and therefore it doesn't attempt to check. By making it invalid again, you force it to go check again
    Tuesday, January 16, 2018 11:11 PM