No email notification when stock runner job is running for stock rule
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2023 05:18 PM
I noticed that the script does not have anything to trigger email notification
gs.include('global.ProcessStockRules');
var processStockRules = new global.ProcessStockRules();
processStockRules.process();
according to documentation it is supposed to inform the asset manager but i do not see the task ticket trigger too , please advice on how to make this work
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2023 07:02 PM - edited 10-06-2023 07:13 PM
Hi @chercm
You are calling a script include global.ProcessStockRules() in your code, you can check this script include for the actual where the processing happens.
And I checked the code in this script include I see the event being triggered using gs.eventQueue().
Please mark my answer helpful and accept as solution if it helped you 👍✅
Anvesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2023 12:07 AM
@AnveshKumar M where can i find this script : global.ProcessStockRules() and gs.eventQueue() ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2023 05:35 AM
@chercm navigate to System Definition -> Script Includes and search with name field as
ProcessStockRules and open the record to see the script in it.
Anvesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2023 07:03 AM
@AnveshKumar M i checked on the system logs for email notifications , there should a lot of email supposed to be sent out from my PID but i did not receive anything . is this normal ?