On Finalize Trigger Timing

Posted by Rollbase User on 07-May-2013 02:05

Should the on finalize trigger be firing after an Edit/Update where no embedded quick create are present in the UI?. I have a couple of embedded quick create components when creating a new record, but they are not present on the edit page?

All Replies

Posted by Admin on 08-May-2013 13:00

1. "On Finalize" triggers will run when record is created or updated, after input from all components (Grids etc) has been processed



2. We can consider enabling "Quick Create" components on Edit Record pages. What's your business case? Knowing that would be helpful.

Posted by Admin on 22-May-2013 19:58

Sorry, I was very unclear with my question. Regarding on-finalize trigger timing, I understand that it activates after embedded quick create or grid controls are processed. I am using this on a new record page and it works great. However it also runs on the edit/update record page even though there are no embedded quick creates or grid controls present on the edit page. I am looking for a best practice to control exactly when the trigger runs, I only need it to run when a new parent record is created, not when it is edited/updated at a later time.

Posted by Admin on 22-May-2013 21:59

You can use rbv_api.isUpdate() or rbv_api.isCreate() to determine what the system is currently doing.

Posted by Admin on 23-May-2013 00:11

Pavel,

Thanks, I guess I am completely blind.

This thread is closed