Word Save (Session)
Word Save (Session)
Section titled “Word Save (Session)”Type: word-save · Package: Word Activities v1.0.0
Saves changes from a Word session to disk. Required when you modify a document opened with Word Open without body, or to save a copy in another path (Save As).
How it works
Section titled “How it works”Persists session changes. If you indicate path, save to that new route; if you skip it, save to the original path.
Required parameters
Section titled “Required parameters”Ninguno.
Optional parameters
Section titled “Optional parameters”| Parameter | Editor | Description |
|---|---|---|
session | session | The Word Open or Word Create session. |
path | expression | Save to another path (Save As). Ignore it to use the original path. |
Example
Section titled “Example”Word Open path = = asset("plantilla.docx") → output: docWord Find & Replace session = = doc find = "{CLIENTE}" replace = = cliente.nombreWord Save session = = doc path = = "C:/cartas/" + cliente.nit + ".docx"Word Close session = = docRelated activities
Section titled “Related activities”- Word Close — close the session.
- Word Create / Word Open — open the session.