Append Line

 

Updated: May 13, 2016

Applies To: System Center 2012 SP1 - Orchestrator, System Center 2012 - Orchestrator, System Center 2012 R2 Orchestrator

The Append Line activity appends a line of text into a text file. Use the Append Line activity to append lines to a log file to create audits trails of runbooks.

This activity replaces functionality in the Manage Text File legacy activity from Opalis 6.3.

Configuring the Append Line Activity

Before you configure the Append Line activity, you need to determine the following:

  • The file name you want to append to.

  • The type of file encoding that the file you are appending to uses.

  • Text you append.

Use the following information to configure the Append Line activity.

Details Tab

Settings Configuration Instructions
File Type the path and name of the file that you want to append the text to, or click the ellipsis button (...) and browse for it.
File encoding Click the ellipsis button (...) and select the format that the file is encoded in from the File encoding drop-down list. Verify that you select the correct encoding format. If the file uses a different encoding format, the activity fails.
Text Type the text that you want to append to the file that you specified.

Published Data

The following table lists the published data items.

Item Description
File path The path and file name of the text file to which the line is appended.
File encoding The file encoding format that you selected in the File encoding field.
Line text The text of the line that was appended to the text file.
Line number The line number where the text was appended.