- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-01-2017 04:39 PM
There was another article i read "how to trigger an event from a UI Action button " thats pretty similar but im a bit confused with how you set this up. what code do i need to connect the event to the business rule? What code do i need to connect the event to the notification? How do i set up the UI action to call the event? Im pretty new to this and my coding is not strong. I have an event, a business rule, a notification and a UI action. How do i link all of these together so that when I click my UI action my notification is sent?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-01-2017 10:22 PM
Hi Austin,
1) Once the Event Has been setup under Registry module as shown below:
2) Navigate to your respective UI Actions and configure the event submitted above to trigger it from the UI Action as shown below in the example below:
In the above screen shot you can specify the Event Name, post which Navigate to the Notification module and configure your Notifications accordingly as shown below:
Select your Event Name as highlighted above and other condition when you want to send this Notification and to whom you want to send in "Whom will Receive" section and Contents in "What it will Contain" section.
Hope this helps.Mark the answer as correct/helpful based on impact.
Regards,
Shloke
Regards,
Shloke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-02-2017 04:49 AM
I am still having an issue the event is still not firing, I have set up the notification correctly maybe its my code?
Business rule code.
(function executeRule(current, previous /*null when async*/) {
alert('Your message has been sent to the claimant.'); "Just so i can see its working."
gs.eventQueue('x_bonm_med_cam.Need Additional Documenta','current.record');
// Add your code here
})(current, previous);
Business rule code.
UI Action code.
gs.eventQueue('x_bonm_med_cam.Need Additional Documenta',current);
action.setRedirectURL(current);
UI action code.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-02-2017 04:59 AM
I got it thank you guys for all your help ^^!!