1. Double click on Business Rule Component.
2. Inside the functions create your own function by clicking on + button
3. Create a new function with
Name: CreditCardValidationTest
Return Type: Boolean
BucketSet: Boolean
Description: Internal Testing
4. Add the below content inside the body.
5. Now you are ready to test.Click on the test button which is highlighted below.
6. Result
7. To enable log we will call the following statement.
call RL.watch.all();
8. Result after enable a log.
No comments:
Post a Comment