Share via


Creating a Run Job Task

Note  This content applies to the Windows Logo Kit (WLK). For the latest information using the new Windows Hardware Certification Kit (HCK), see Windows HCK User's Guide on the Windows Hardware Dev Center.

Tasks perform the work of a job. A Run Job task runs another job (a library job) as part of the job that the task is defined in. For more information about tasks, see Basic Task Concepts.

To define a Run Job task

Note  This content applies to the Windows Logo Kit (WLK). For the latest information using the new Windows Hardware Certification Kit (HCK), see Windows HCK User's Guide on the Windows Hardware Dev Center.

  1. Create or edit a Run Job task within a job.

  2. If you know the ID of the library job, enter it in the ID field. Otherwise, use the following procedure to find the library job to run:

    1. Click Browse.

    2. On the Feature tab of the Library Job Chooser dialog box, expand the nodes in the feature hierarchy until you find the node that contains the library job to run.

    3. Select the library job to run from the lower right pane and click OK.

  3. If this task's completion status should affect the completion status of the job, select Rollup Results to Job. If you do not roll the task's results up to the job, then if the task fails, it will not cause the job to fail.

  4. If the library job defines parameters, a grid will appear at the bottom of the Run Job tab. If you want to pass a value for a parameter to the library job, use the following procedure to specify the parameters:

    1. Select the name of the parameter in the library job from the Library Job Param Name column in the first empty row of the grid.

    2. To pass a variable value to the library job, in the Job Param Name column, select the name of the parameter in this job whose value you will associate with the variable in the library job.

      Note   You must have defined the variable in this job before you can associate it with a parameter in the library job.

    3. To pass a constant value to the library job, enter the value in the Value column.

    4. To provide values for additional parameters in the library job, repeat this procedure beginning with step a.

  5. Click OK to return to the New Job window.

 

 

Build date: 9/14/2012