Hi Experts,
Due to the reason of performance and integration, the approach must implement plugin for the following scenario
I have a Global Option Set and a Local Option Set field in the Contact entity, both of them with the name of "Rank", items are: start, base, rank1, rank2,rank3, rank4, and rank5 from the lowest level to the highest level.
Once the Rank UPGRADE (that means only going up, not go down), trigger a Phone Call Activity.
Following are the main points:
- Populated Phone Call Activity's Subject must involve upgraded Rank value (e.g. If one Contact's level is Rink3 before upgrading, the Subject must be: Your Rank has upgraded to Rank4).
- The Rank option set has two primary items: Start and Base, but the phone call activity trigger does NOT apply to these two items.
- Populate the Start Date as the activity create time and the Due day is 7 days after Start Date.
- Call From is the Owner of the record.
- Call To is the Contact.
- Regarding is the Contact
- Another option set field named Role needs to populate the value: Role Type.
Note: For the historical reason, the option items sequence (From Lowest to Highest) doesn't consistent with the order of their values, which say Rank5=8, Rank4=1, Rank3=2, Rank2=3, Rank1=2, Base=1, Start=7.
Can you please help me by providing your suggestion on how to dev this plugin.
Any response should be welcome and appreciated.