via business rule sent notification to two reference fields
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2023 10:28 AM
I Have a custom table there two fields is there .Those two fields are reference to user table type is reference. IN that In custom table approvals records is there. so i written approval notification from approval table. Then
notification to send two fields via event based. Can any one let me know please sample script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2023 10:30 AM
Hello @Mabubi
plz follow the below link for the solution of your query:-
Plz Mark my Solution as Accept and Give me thumbs up, if you find it helpful.
Regards,
Samaksh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2023 02:36 AM
am looking for business rule to send notification to those two fields.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2023 07:15 AM
Business rule written like this. But it is not triggering email to requestor, employee name.
(function executeRule(current, previous /*null when async*/) {
// Add your code here
var requestor = current.opened_by;
var employename = current.u_employee_name;
gs.eventQueue('sn_ls_pos.approval_requestor', current, employename,requestor);
})(current, previous);