Trigger Approval Notification on state changes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
Hi All,
I have a requirement to trigger approval notification only when state changes to Pre-Check Completed (custom state) on RITM. Currently It triggering only when approver is attached to RITM not on the states changes.
Please find the below event , BR , Notification condition overview and let me know where need to adjust the code.
event Name :precheck.completed
Table :sc_req_item
Br: Trigger Notifctaion on RITM PreCheck / After - Update
Table :Sc_req_item
script :
Notification
Table: sysapproval_approver
Condition: sysapproval.getTableName() == 'sc_req_item' && sysapproval.state == 15
Looking forward for your response.
Thank you in Advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
33m ago
Since you have a Business Rule triggering an event, assuming that is working correctly, your Notification should be set to Send when 'Event is fired', not 'record inserted or updated' then choose your event in the Event name field
You likely then don't need the conditions, if your BR is only triggering the event when it should.