In Microsoft MDT how to I reference another Task Sequence based on the previous Error code?
Trying to install VDA via Task Sequence. As per Citrix documentation.
"If a return code is 3, restart the machine and then pass control to SCCM TASK3." How is that done. Below is from the Citrix Docs.
Example installation sequence using SCCM The following example shows the installation sequence.
SCCM TASK1: Prepare the machine by restarting the machine.
SCCM TASK2:Start the VDA installation. Add the /quiet, /noreboot, and /noresume options to your command line options. Run the VDA installer of your choice (local image or one of the minimal installers). SCCM must capture the return code. If the return code is 0 or 8, the installation is complete, and a restart is needed. If a return code is 3, restart the machine and then pass control to SCCM TASK3.
SCCM TASK3:Continue VDA installation. If SCCM TASK2 does not return a 0 or 8, the installation must be continued after the restart completes.
SCCM TASK3 repeats until the VDA installer returns a 0 or 8 (indicating a successful installation), or 3 (indicating SCCM TASK3 must be repeated). Treat any other return code as an error, and SCCM TASK3 should report an error and stop. Resume the VDA installation by running the appropriate VDA installer (XenDesktopVdaSetup.exe for most cases, or XenDesktopRemotePCSetup.exe if VDAWorkstationCoreSetup_XXXX.exe was used) from the location where it was copied (as described in Define the task sequence), with no command-line parameters. (The VDA installer uses the parameters it saved during the first run of the installer.) Watch for the return code from the VDA installer. 0 or 8: Success, installation complete, restart required. 3: Installation is not complete. Restart the machine and repeat SCCM TASK3 until a 0 or 8 is returned. Treat any other return code as an error, and SCCM TASK3 should report an error and end.