The CreatorCon Call for Content is officially open! Get started here.

How to count the number of incident resolve by every user for next 10 days

Rajababu
Giga Guru

Hi All,

There issue is found ,

Client want to send notification when "Requestor" created 5 incident and its resolved   on next 10 days.For every user it counts.

My logic is that

1) I have create one field that count the number of current user by using one client script and script include

2)i have create one event call by BR notification it set on number of is count field number is 5 incident resolved by

I am failed to count next 10 days and I am not able to connect above 2 logic simultaneously

Note : Is that way to count then number Glide aggregate function.

Or Performance analysis (Application in servicenow) there is indicator under that breakdowns.

Or metrices.

So If any one can help on this .

Thanks,

Gaurav Rai

tirumalaMichael.Fryctomasisnowdevpradeepksharmaramireddylarstangeannemc

1 ACCEPTED SOLUTION

Like ten days.




As I do made changes what i did below as it looks all good but i need some one experience .



1) Event Create


2) Business rules


On business rule i used under while loop i used "row count" function on after that and under that if( count%5 ==0)


under that i cal eventQueue.


3) then I called notification by fired by event and given my event name.



This the whole logic that I used.



Thanks ,


Gaurav Rai



Please mark this correct so that anyone can find suitable for him.


View solution in original post

4 REPLIES 4

Deepa Srivastav
Kilo Sage

I am not very clear with your requirement. So you want a notification to be sent when a incident is resolved with 10 days of its creation. What is this 5? number of incidents by same requestor? What is the use case?



Mark Correct if it solved your issue or hit Like and Helpful if you find my response worthy.


Thanks,
Deepa


When 5 incident created by caller.


since when?


Like ten days.




As I do made changes what i did below as it looks all good but i need some one experience .



1) Event Create


2) Business rules


On business rule i used under while loop i used "row count" function on after that and under that if( count%5 ==0)


under that i cal eventQueue.


3) then I called notification by fired by event and given my event name.



This the whole logic that I used.



Thanks ,


Gaurav Rai



Please mark this correct so that anyone can find suitable for him.