Previous Topic

Next Topic

Book Contents

Book Index

Create a job requiring confirmation example

The following example describes a successful Job Creation request that creates a single job that performs a command and requires confirmation to run.

<?xml version="1.0" encoding="iso-8859-1"?>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">

  <SOAP-ENV:Body>

    <ctmem:request_create_aj xmlns:ctmem="http://www.bmc.com/ctmem/schema918">

      <ctmem:user_token>$USER_TOKEN$</ctmem:user_token>

      <ctmem:control_m>ctm3-omega</ctmem:control_m>

      <ctmem:active_job>

        <ctmem:job_name>Conf0</ctmem:job_name>

        <ctmem:mem_name>Conf0</ctmem:mem_name>

        <ctmem:task_type>command</ctmem:task_type>

        <ctmem:application>Confirm</ctmem:application>

        <ctmem:sub_application>Confirm</ctmem:sub_application>

        <ctmem:max_wait>0</ctmem:max_wait>

        <ctmem:prevent_nct2>no</ctmem:prevent_nct2>

        <ctmem:time_from>0900</ctmem:time_from>

        <ctmem:time_until>1100</ctmem:time_until>

        <ctmem:critical>no</ctmem:critical>

        <ctmem:cyclic>no</ctmem:cyclic>

        <ctmem:confirm_flag>yes</ctmem:confirm_flag>

        <ctmem:auto_archive>no</ctmem:auto_archive>

        <ctmem:sys_db>no</ctmem:sys_db>

        <ctmem:arch_max_days>0</ctmem:arch_max_days>

        <ctmem:arch_max_runs>0</ctmem:arch_max_runs>

        <ctmem:rerun_max>0</ctmem:rerun_max>

        <ctmem:command>ls -l</ctmem:command>

      </ctmem:active_job>

    </ctmem:request_create_aj>

  </SOAP-ENV:Body>

</SOAP-ENV:Envelope>

Parent Topic

Job creation examples