jsn / ServiceNow, simplified.
AustraliaREFERENCE GUIDE

Planned task scripts

On this page

Planned task scripts

Several business rules and one script include determines the dynamic calculation of crucial Planned Task fields.

Business Rule Description Set actual work start value Sets the Actual Start Date of the planned task when State is set to the default work state. Set close data on inactive Sets the close data of the planned task when task becomes inactive. Recalculate Recalculates the planned task schedule fields when one of the schedule fields changes. Planned task global events Raises global event for every insert or update of planned task record. For more information, see Global events. Update parent actual effort Rolls up actual effort from child task to parent task. Update parent effort Rolls up planned effort from child task to parent task. Update parent percent complete Rolls up percent complete from child task to parent task. Validate duration Validates the value in the planned duration field is not 0 or negative. Validate percent complete Validates the value in the percent complete field is between 0 and 100. Validate work end before work start Validates that the actual end date is not earlier than the actual start date. Set top task Sets top tasks to maintain hierarchy of tasks. Set top task on children Sets top tasks on child tasks to maintain hierarchy of tasks.

Parent Topic:Extending the Task table with Planned tasks

Keep exploring.

Find another answer, or bring this documentation into your own tools.