Table of Contents

Search

  1. Preface
  2. Workflow Manager
  3. Workflows and Worklets
  4. Sessions
  5. Session Configuration Object
  6. Tasks
  7. Sources
  8. Targets
  9. Connection Objects
  10. Validation
  11. Scheduling and Running Workflows
  12. Sending Email
  13. Workflow Monitor
  14. Workflow Monitor Details
  15. Session and Workflow Logs
  16. Session Properties Reference
  17. Workflow Properties Reference

Creating a Command Task

Creating a Command Task

Complete the following steps to create a Command task:
  1. In the Workflow Designer or the Task Developer, click Task > Create.
  2. Select Command Task for the task type.
  3. Enter a name for the Command task. Click Create. Then click Done.
  4. Double-click the Command task in the workspace to open the Edit Tasks dialog box.
  5. In the Commands tab, click the Add button to add a command.
  6. In the Name field, enter a name for the new command.
  7. In the Command field, click the Edit button to open the Command Editor.
  8. Enter the command you want to run. Enter one command in the Command Editor. You can use service, service process, workflow, and worklet variables in the command.
  9. Click OK to close the Command Editor.
  10. Repeat steps 4 to 9 to add more commands in the task.
  11. Optionally, click the General tab in the Edit Tasks dialog to assign resources to the Command task.
  12. Click OK.
If you specify non-reusable shell commands for a session, you can promote the non-reusable shell commands to a reusable Command task.