Update schedule start and end time for a change request

Update schedule start and end time for a change request

Requirement:
When a Change request is submitted, the schedule start date must be set to current date and completion date to be set 10days after the current date 
This must be reflected in the created change request.

Steps to follow:
  1. Goto Admin > Change Custom Functions > Global function > New > Paste the content from the attachment  Global function_4.txt  and save it with a name.
  2. Update the URL and integration key in the script. 
    1. You can get the integration key under Admin > Integrations > Integration Key > New
    2. Please use an integration key with admin privilege, as there wont be any role related permission issues. 

    3. Update the integration key in the global function.

    4. Incase of older builds you can use the techniciankey with admin privilege.
  3. Go to Admin --> Change Custom Functions. Create a new function.
    1. Refer to the attached script. (updateScheduleStartAndEndDate_change.txt.)
    2. Update the global function count in the script as per your instance.
  4. Configure Change custom trigger to get executed on every change request being created with this change template.




                  New to ADSelfService Plus?