Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

when start time starts then set the value through business rule

lata1
Tera Contributor

Hello All,

 

I have a start date(date/time field) and  when start time starts then only set the values in my requirement. 

 

For example today is mar 13 and user selected march 17 in that start date field, when that selected time(17 march) occurs then only i want to set the values.

 

Thanks,

srujana

6 REPLIES 6

Hi Danish,

 

I have some trigger conditions so wrote BR, can you confirm is this possible through BR, if yes can you share sample code.

 

Thanks

Hi @lata1 ,

 

Nop it's not possible via BR as u mentioned above it should trigger automatically when start date is today's date.

BR will only work upon update/insert of any field in the record. So lets say if there is no update done BR itself will not trigger.

 

Add those conditions in ur scheduled job.

In ur scheduled job do a GlideRecord to that table add ur conditions in encoded query to filter the exact records which u looking for then let the logic under while take care.

 

Thanks,

Danish