I want to create a business rule for change_task's due date.

ayano
Giga Guru

I want to create a business rule that adds time for delivery_time (from 'sc_cat_item_delivery_task' table) and planned_start_date (from 'change_task' table), and then, creates time for due_date (on 'change_task' table).

 

Below is the business rule for the Change Task table that I am working on.

I want to replace the process of adding delivery_time (from 'sc_cat_item_delivery_task' table) to part "psd.add(3600000);".

How can I write??

ayano_1-1704349896406.png

 

ayano_0-1704349844421.png

 

1 REPLY 1

Ankur Bawiskar
Tera Patron
Tera Patron

@ayano 

the type is duration but you are setting the glideDateTime object

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader