Trigger a Business Rule based on event

thisisauniqueus
Giga Expert

Hi,

I am trying to generate a notification based on record inserted in sys_data_source table provided it has a matching attachment record in sys_attachment table. the problem is record in sys_data_source is inserted but the sys_attachment table is updated after sometime so my question is, is there a way i can trigger the business rule based on an event generated by sys_attachment? Please suggest a better approach

Regards

3 REPLIES 3

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi John,



Did you try with "OnComplete" transform script. The onComplete event script is processed at the end of an import run, after all data rows are read and transformed.


http://wiki.servicenow.com/?title=Transform_Map_Scripts#gsc.tab=0


Inactive_Us1474
Giga Guru

Hi,



Approach would be to generate a notification based on the event and that event can be called from BR if the table has been inserted/updated.



Thanks


Akhil



Hit Like/Helpful/Correct, if applicable.


Deepak Ingale1
Mega Sage

Go for script action for firing server side scripts based on an event.