T
tcallen@dmsi.com
Guest
It is nice that we can use the "Debug Formula" button to test a trigger against an existing record, however, testing triggers designed to work with records as they are created is impossible using this method. It would be great if we can not only choose a record to test against the trigger, but to also select the event type (isCreate, isUpdate, isDelete, etc.) to apply in conjunction with the record. That was we can do full testing before saving the trigger and having it run against real data where bad things can occur. And using the trigger log requires too many clicks and visually weeding through a long list of entries. My proposal is that when the "Debug Formula" button is selected, the window that pops up showing the list of records to select from, a picklist could be located at the top near the current search field with text that states, " Run this formula against a record below under the condition of " and the picklist would offer choices of "On Create", "On Update", "On Delete", etc. By doing this, when the trigger is evaluated using the chosen record, the rbv_api.isCreate() would resolve as true if the "on create" option was selected.
Continue reading...
Continue reading...