- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2023 05:21 AM
There is 1 category under which there are 9 catalog items. There is one specific user who wants to get notified whenever any one item is ordered from that category.
How to achieve this?
Thanks in advance!!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2023 06:47 AM
Hello @Vaishali 11
follow the below steps:
1. Create one event in Event Registry
2. Create After business Rule on Requested item table on insert and write below script.
if(current.cat_item.category=='b06546f23731300054b6a3549dbe5dd8'){ //replace sys_id with your catagory sys_id
gs.info('catagory'+current.cat_item.category);
gs.eventQueue('your_event_name',current,current.number,gs.getUserName()); //
}
3. create notification on Requested item table and add that User in who will receive tab
Mark my answer correct and give 👍if this helps you...
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2023 06:47 AM
Hello @Vaishali 11
follow the below steps:
1. Create one event in Event Registry
2. Create After business Rule on Requested item table on insert and write below script.
if(current.cat_item.category=='b06546f23731300054b6a3549dbe5dd8'){ //replace sys_id with your catagory sys_id
gs.info('catagory'+current.cat_item.category);
gs.eventQueue('your_event_name',current,current.number,gs.getUserName()); //
}
3. create notification on Requested item table and add that User in who will receive tab
Mark my answer correct and give 👍if this helps you...
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2023 12:19 AM
Hi Rohit,
I followed the exact same steps as mentioned above, but the notification is not triggered. The email is not generating. Could you please suggest?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2023 02:55 AM
Could you send the screenshot of notification and business rule?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2023 06:13 AM
It's working now.Thanks!!