UiPath closes any word document that is open, when using "Word Application Scope" activity

Hi forum,

Please help me in solving following weird bot behavior: after “Word Application Scope” activity ends, it closes any other open Word document, without saving any work in any of it.

Context:
• I need the bot to drop some DataTables in a word document.
• I am using “Word application scope” >“Insert Datatable in Document” activity. This method is part of the UiPath.Word.Activities package.
• Parameters used for Insert DT in Document: Position - Replace text; Text - i specify it to replace an existing tag in that document
• After this sequence ends, any other open word document that the user has on their machine, is simply closed (losing any unsaved work)

Do you know why is this happening and how to solve it?

Thanks,
Nicu

@loginerror

Thank you for your report, I saved it as a bug to be considered in our internal bug tracker. I will provide an update when I will know more :slight_smile: