Write File

Use the Write File activity to write content into a file that resides on a remote machine.

To ensure this Windows activity executes properly, verify that the Remote Registry service is enabled on your machine.

  1. In the Workflow Editor Toolbox, choose Microsoft Windows > Write File and drag and drop the activity onto the Workflow pane.

  2. On the Workflow Properties pane, enter the following information:

    1. Under General, specify the following information:

      1. Display Name: Enter the unique display name for the activity.

      2. Description: Enter the brief description about the activity.

      3. Activity Timeout (Seconds): Enter the number of seconds to wait for Write File activity to fail because it timed out.

      4. Check the Continue Workflow Execution on Failure check box to continue the workflow execution on failure of the activity.

      5. Check the Skip Activity Execution check box to skip the activity.

    2. Under Target, specify the following information:

      1. Use Workflow Target: Check this radio button to use the workflow target.

      2. Override Workflow Target: Check this radio button to override the workflow target. You can select the appropriate target or +ADD NEW  from the dropdown list. For more information, see Microsoft Windows Endpoint.

      3. Use Workflow Target Group: Check this radio button to use the workflow target group.

      4. Override Workflow Target Group Criteria: Check this radio button to override the workflow target group criteria.

    3. Under Credentials, specify the following information:

      1. Use Target's Default Account Key: Check this radio button to use the target's default account key.

      2. Override Account Key: Check this radio button to override the workflow account key. You can select the appropriate Account key or +ADD NEW from the dropdown list. For more information, see Microsoft Windows Credentials.

    4. Under Windowsspecify the following information or click Variable Reference icon to choose any variable:

      1. File Name: File path including the name of the file in which the contents are written. For example: C:\Documents and Settings\user name\My Documents\file name

      2. File Content: Enter the appropriate contents to include in the file.

      3. Encoding: Select the appropriate encoding class for the file, as necessary:

        1. ASCII: An encoding for the ASCII (7-bit) character set

        2. UTF-16: An encoding for the UTF-16 format using the little endian byte order

        3. UTF-32: An encoding object for the UTF-32 format using the little endian byte order

        4. UTF-7: An encoding for the UTF-7 format and is less robust and secure than UTF-8, UTF-16, or UTF-32

        5. UTF-8: An encoding for the UTF-8 format

      4. Options: Select the appropriate action to take when saving the file.

Back to: Microsoft Windows

  • No labels
Terms & Conditions Privacy Statement Cookies Trademarks