How to send notification for every 2 business days

sasikala3
Kilo Explorer

Hi ,

My requirement is to send notification for every 2 business days in change request.

Thnks in advance.

 

8 REPLIES 8

what is the logic which i need to add to send for 2 business days.

Hello sasikala,

You need to create the scheduled job to be executed in intervals of  days. Do this in the scheduled job:

find_real_file.png

in the statement 

 gr.addQuery(<insert your query here to pick the right change requests>);

you need to insert the query to filter the change requests that should be target of the notification.

Please, if this answer is relevant for you, please mark it as correct and helpful.

Thanks,

Filipe

it will trigger every 2 days and not check for working day(mon-fri) or not.

Hello,

Yes, it will trigger every 2 days without checking if it is a working day or not.
If you need to validate if it is a working day, you need to add logic to the scheduled job script in order to skip the updates if the current week day is saturday or sunday (friday and saturday for some countries).

 

Please, if this answer is relevant for you, please mark it as correct and helpful.

Thanks,

Filipe