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

Configuring Reusable Shell Commands

Configuring Reusable Shell Commands

Use the following procedure to call an existing reusable Command task as the pre- or post-session shell command for the Session task:
  1. In the Components tab of the session properties, click Reusable for the pre- or post-session shell command.
  2. Click the Edit button in the Value field to open the Task Browser dialog box.
  3. Select the Command task you want to run as the pre- or post-session shell command.
  4. Click the Override button in the Task Browser dialog box if you want to change the order of the commands, or if you want to specify whether to run the next command when the previous command fails.
    Changes you make to the Command task from the session properties only apply to the session. In the session properties, you cannot edit the commands in the Command task.
  5. Click OK to select the Command task for the pre- or post-session shell command.
    The name of the Command task you select appears in the Value field for the shell command.