Changing Delivery Time and Delivery Date
Changing Delivery Time and Delivery Date
How to use the Workflow's Expected time, Relative duration, Schedule and Timezone to manipulate the Delivery Date and Time
Modifying the Delivery Time on an order form or the Delivery Date on the checkout page are surprisingly difficult for something that should be simple. The fix actually is very simple - both are controlled by the associated workflow's Expected Time.
In the Workflow Editor, checkout the workflow you want to edit. Next, click on the "i" icon on the upper right of of the screen.
Set the Expected time on the Schedule tab:
Test out your changes by going back to the Service Catalog and bringing up the item with the Delivery Date/Time you were looking to change. You should notice the Delivery Time on the order form and the Delivery Date on the proceeding checkout screen have changed.
In addition to the Expected time, the Delivery based on, Schedule and Timezone fields impact the Delivery Date/Time as well. These can also be found on the Workflow Properties Schedule tab.
Delivery based on
User-specified duration - Allows you to set the Expected time field
Relative duration - Allows you to specify the Relative duration field, which has a predefined selection of relative durations to choose from. You can also create your own Relative duration on the cmn_relative_duration table.
Schedule - Schedules run the duration from the Expected time or Relative duration only within the times allowed by the Schedule. For example, if your Schedule is "8-5 weekdays", the duration timer will only run from 8am to 5pm in the timezone specified. The duration timer will freeze while outside of the schedule.
Timezone - Works with the schedule to run or freeze the duration timer.
Let us know if there’s anything we missed or you would like us to expand upon in the comments! Don't forget to subscribe!
At the time of this writing, we are on the London release. The information presented in this article may not apply to your instance if you are on a different version of ServiceNow.
Read the full article