Running a Workflow Schedule Immediately Using the Command Line

You can run a workflow schedule immediately using an XML file.

Procedure

  1. Download the schedules_commserve_level.xml file to the computer from where you will run the command.

  2. Run the qlogin command to log on to the CommServe computer.

  3. To get the subTaskId and taskId for the workflow schedule, execute the qoperation command on the schedules at the CommServe level.

    For more information, see Viewing Schedules and Schedule Policies Using the Command Line Interface.

  4. Open a text editor and create an XML file using the following elements:

    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <TMMsg_TaskOperationReq opType="5">
        <taskIds val=""/>
        <subtaskEntity _type_="" subtaskId="" subtaskName="" taskId="" taskName=""/>
    </TMMsg_TaskOperationReq>

    For example, save the file as run_schedule_immediately.xml.

  5. Go to software_installation_directory/Base, and then run the following command after substituting the parameter values:

    qoperation execute -af execute_workflow.xml -workflowName run_schedule_immediately.xml

Page contents

×

Loading...