Send notification after request is fully formed

Tautvydas
Tera Contributor

Hello,

 

I would like to send a notification when request is fully formed. The reason I want to do that is because if I set a condition where it should send notification if "Hardware request" is false, but when I test it, it still send it regardless if it's true or false. I assume notification is being created before system sets "Hardware request" to true so it assumes that it is false all the time. Even tried to create a business rule setting "When to run" to "after" and calling gs.sleep() command to wait a little bit, but what it does is just make whole request creation longer. What would the workaround be for this kind of situation?

1 REPLY 1

Tautvydas
Tera Contributor

Also, I want to mention, that my business rule is referenced to sc_req_item table instead of sc_request.