Action: Append text to file (InvoiceRules plugin)

Configure this action option to process invoices in a certain way when specified conditions are met when using the Invoice Rules plugin.

Do the following to configure how to write a text value, based on the static text or dynamic values specified here, into a selected file:

  1. When configuring what actions to apply to a rule, select Append text to file.
  2. Specify the path to the file you want to append under Path of the file to append.
  3. Specify the text to add to the value to append to the file by selecting a static text or dynamic value from the Text to write dropdown list.
  4. Addition text is added by clicking Add value part at the bottom of the dialog and configuring additional static text or dynamic values.
  5. Click OK.
    Note If Discard file writing errors is selected, and an error occurs (for example, the file is not accessible and can therefore not be written to), the text will not be added to the value for the action and no log information will be saved for it. If the option is not selected, and an error occurs, the text is not added to the value for the action, but the error is recorded in the invoice rules log.