function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
James BuckelewJames Buckelew 

Creating and API connection to one field

I have a partner company that I need to integrate with. They want me to set up my api connection for them so that they can get a notification when one field status on a custom object changes from active to deactive. 

I am struggling to find a way to make a custom scope that only sees one field. 

Any advice here would be great! Thank you!!

VinayVinay (Salesforce Developers) 
Hi James,

Why do you want to use API instead you can make use of workflow rule so that an email notification is triggered whenever there is change on custom field.

Thanks,
Vinay Kumar
mukesh guptamukesh gupta
Hi James,

Please folloiw below steps:- 
1. You need to create a workflow
2. check condition if ISCHANGED(your field) then 
3. Create a email alert

If this solution is usefull for you, Please mark as a Best Answer to help others.


Regards
Mukesh


 
James BuckelewJames Buckelew
The purpose of the API is to integrate with the backend of the partner's platform and automatically change the same status through their system. I do not believe they want an email every time this status changes. That will result in too many emails, and them having to create a process based around receiving emails.