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.

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

SettingsConfiguration Instructions
FileType 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 encodingClick 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.
TextType the text that you want to append to the file that you specified.

Published Data

The following table lists the published data items.

ItemDescription
File pathThe path and file name of the text file to which the line is appended.
File encodingThe file encoding format that you selected in the File encoding field.
Line textThe text of the line that was appended to the text file.
Line numberThe line number where the text was appended.
Show: