Append Text
AutomatR.Word.Activities.AppendText
The "Append Text" activity in AutomatR allows you to insert text at the end of a Word document. This activity is part of the Word activities package, providing a seamless way to add content to the last line containing text in a Word document.
Properties
Name | Description |
---|---|
Input | |
Text | Specifies the text that should be appended to the end of the last line containing text in the Word document. String variables containing the text to be appended. |
Misc | |
Display Name | Provides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name. |
Optional | |
Delay | Specifies the amount of time (in seconds) to wait before executing the "Append Text" activity. This can be useful for handling synchronization issues. Integer variables containing the delay duration. Example: If the amount of time is 1000 milliseconds or 1 sec, i.e., 1. |
How to use:
- Drag and drop the "Append Text" activity onto the workflow.
- Configure the properties by specifying the text to be appended to the Word document.
- Optionally, configure the delay and customize the display name.
- Execute the workflow to append the specified text to the last line containing text in the Word document.
Example:
Consider an example where the "Append Text" activity is used to add a signature line at the end of a Word document:
Append Text:
Display Name: "Add Signature"
Text: "Authorized by John Doe"
In this example, the activity appends the text "Authorized by John Doe" to the last line containing text in the Word document. The specified display name enhances workflow clarity.