A remote task cannot be deployed until it contains at least one command. Follow the procedure below to add commands to a remote task. The following list shows the ways you can add a command to a task:
In the Folders view in the left pane, right-click the task and choose Add Command.
In the Folders view in the left pane, select the task and click the Add Command toolbar button.
When you create a task, you automatically get a command in the right pane. Press Tab to move from parameter to parameter. If you keep pressing Tab, a new command is automatically added to the task.
Right-click on an existing command and choose Add Command.
Right-click in the whitespace under the existing commands and choose Add Command.
Select the task in the Folders view in the left pane. From the File menu choose Add Command.
Ensure the MobiLink project you are working with is selected in the Folders view in the left pane.
Expand Remote Tasks, right-click the remote task you want to work with and choose Add Command. The Commands pane appears in the right pane.
From the Command Type dropdown list, choose the type of command required. For information on the available commands, see Commands.
Fill in the appropriate parameters for the selected command.
From the On failure dropdown list, choose one of the following options to specify how to proceed if the command fails:
Abort Task The current attempt to execute the task is terminated and the attempt is marked as failed.
Continue The task will continue to execute by moving to the next command.
Retry Command The task is retried beginning at the failed command. If the maximum number of retry attempts for the task is reached, the command is not retried.
Restart Task The task is retried, starting at the first command. If the maximum number of attempts for the task is reached, the task is not retried.
Discuss this page in DocCommentXchange.
|Copyright © 2010, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.0|