i want to write a business rule on Ecc queue to monitor the specific payload, and extract the data from payload and do the processing and update a ticket.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā06-03-2019 03:58 AM
i want to write a business rule on Ecc queue to monitor the specific payload, and extract the data from payload and do the processing and update a ticket. currently we have asynchronous call, As soon as the output sent thru Ecc Queue, we will get the response in few sec..
But i want the BR to monitor the Ecc Queue and extract data that are coming in late.(ex.2 min)..all these are happening in Insert. And we have keyword RITM number in the payload which was not their earlier. how to handle this.?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā06-03-2019 04:26 AM
Hi Mazin,
you need following values for BR in an after insert/update condition so that this BR triggers only for your case.
Name, Topic
you need to parse the xml payload; give topic name, give name there; also are you receiving something like success or failure so that you know when to parse and update which ticket
current.topic == "<topci>" && current.name == "<name>" && current.queue == "input" && current.state == "ready" && current.payload.toString().indexOf("Success") != -1
Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
⨠Certified Technical Architect || ⨠9x ServiceNow MVP || ⨠ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā06-03-2019 05:03 AM
hi Ankur,
But how we will catergories them, that if the particular payload procesing time more than 2 min..already the existing sceanrio is workin async..so now here we care tryin to monitor those who take times. and their is no RITM number in the existing scenrio..but here they will be giving us RITM Number
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā06-03-2019 05:50 AM
Hi Mazin,
I believe you should have something in common to know whether the incoming ecc queue record is for what output ecc queue record.
Regards
Ankur
Ankur
⨠Certified Technical Architect || ⨠9x ServiceNow MVP || ⨠ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā06-03-2019 09:59 PM
hi ankur,
yes i have RITM number has common..for the existng scenario... which doent have RITM number but for the Delay proccessing paylaod , i will have RITM.