Flows/ BR not getting triggered on update of CMDB CI records

sai suraj
Tera Contributor

Hello all,

 

I have requirement where I need to send  CI record data to Kafka whenever CI record is updated. But the issue is that whenever CI record is updated via discovery / service graph, it sets workflow to false which is why it is not triggering Flows/ BRs . So please let me know if there are any recommendations. 

3 REPLIES 3

Ankur Bawiskar
Tera Patron
Tera Patron

@sai suraj 

unless you remove setWorkflow(false) the flow or BR won't trigger.

that's the OOTB behavior.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

But servicenow recommends that it is not best practice and since that would be a global change we cannot do it. Which is why we want to know if there are any other recommendations? Such as creating a schedule job which runs every hour and checks for all update CMDB data? 

@sai suraj 

I doubt then that's the only way, CIs updated in last hour or so via scheduled job.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader