Swapna Abburi
Giga Sage

Hi @SiluniP 

I think it is not possible to use script based condition in Trigger type of flow designers. You can consider using a scheduled job.