20.22. orderScripts

Name
orderScripts
Description
Change the order that kickstart scripts will run for this kickstart profile. Scripts will run in the order they appear in the array. There are three arrays, one for all pre scripts, one for the post scripts that run before registration and server actions happen, and one for post scripts that run after registration and server actions. All scripts must be included in one of these lists, as appropriate.
Parameters
  • string sessionKey
  • string ksLabel - The label of the kickstart
  • array:
    • int - IDs of the ordered pre scripts
  • array:
    • int - IDs of the ordered post scripts that will run before registration
  • array:
    • int - IDs of the ordered post scripts that will run after registration
Return Value
  • int - 1 on success, exception thrown otherwise.