Overwrites a text file by deleting the old content and replacing it with new content.
Set a value: enables you to directly write the desired path.
Save the previous step result: chooses the previous activity result as a path.
Calculate a value: enables you to use available properties and methods to form a path.
Set a value: enables you to directly provide a text to be written to a file.
Save the previous step result: chooses the previous activity result as a text to write.
Calculate a value: enables you to use available properties and methods to form an output string.
Quite often, when working with text in a written document, you need to do a line break or other operations with strings. In these cases, you can use the following characters in the "Calculate a value" field when working with text:
\n— line feed. You can also use the
\x0D\x0Avalue for line breaks in text.
\t— horizontal tab.
\'— single quote.
\"— double quote.
and so on.
This parameter allows you to specify the encoding, here is a full list of the supported ones:
Contains an annotation to the activity. The input text will be displayed above the activity name.
This activity is useful when you need to write results of some actions in your program but you don't need to keep the full history of the actions. Then you can make use of this function to renew the file content.