Is there a way I can query the LMA objects to find if a package version was upgraded via AppExchange or if it was a push upgrade? Which object/field?

The idea is to have a trigger so if it was a push upgrade send an email notification to the admin users and if it was a user upgrade via Appexchange to send a different email notification.


You can use Postinstall class to do that by checking the version and take action accordingly


| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.