You need to sign in to do that
Don't have an account?

Create a modal window and open it when new Activity (Task,Call,etc) is saved
Hello.
Could anyone help me with next:
When a new Activity is added to Account a modal dialog should open with:
Simple header like Update Account
2 radio buttons - Yes (default) \ No
If selected 'Yes' - Then a picklist from Account object should be shown with it current value selected, so user can change value and update account on save
If No - no updates need and modal just close.
Thanks in advance
Could anyone help me with next:
When a new Activity is added to Account a modal dialog should open with:
Simple header like Update Account
2 radio buttons - Yes (default) \ No
If selected 'Yes' - Then a picklist from Account object should be shown with it current value selected, so user can change value and update account on save
If No - no updates need and modal just close.
Thanks in advance
You need it in visualforce or lightning?
Thanks for your reply.
I need it in lightning
I'm already created a component and controller. So for now I need some help with next:
How to catch successful result after click on this button
My component code:
Component js controller:
Component js helper:
Apex class: