Cloud trigger - How to detect if data changes done from dashboard?


I use afterSave trigger to send push notifications based on a workflow. it may so happen that i need to fix some data in the that may activate the trigger. I may do this from Dashboard.

For such instances, dont want to send push notification. Is there a way to find out if the data wasn’t changed by the client authenticated user and skip sending push?


You can check in your afterSave if the masterKey is used. Dashboard uses masterkey

Could you please elaborate a little how to check this?

You can use:

Parse.Cloud.afterSave("class", (request) => {

}, {
  skipWithMasterKey: true


Parse.Cloud.afterSave("class", (request) => {
  if (request.master) {
1 Like

Thank you, used this.