You need to sign in to do that
Don't have an account?
Will678
Inline Editing not activating Triggers?
I have a trigger, that calls an Apex code on a custom object. This code checks the value of a status field on the object, and then updates another object based on the result. When I edit the object using the normal Edit mode, the code executes perfectly. However, when I edit this status field using inline editing, the code does not execute. Is this a known limitation, or is there something I need to put in my trigger or code to deal with this?
The trigger should work the same way.
If you are hitting save, check to see that the value is being saved. Use ApexExplorer (or any other tool) to run a query for a record of that object. Note the value of the status field. Change it in the UI. Run the same query and check the value of the status field.
I just ran into the same problem in a sandbox.
Updating fields using inline editing on a custom object isn't causing a trigger (either before update or after update) to run. Using the edit button does cause the trigger to run.
The edited fields result in updated values with the inline editing so the edit is occurring.
Any ideas?