Not sure if this is already known or I’m missing something, but I think there is a problem with the “UiPath.Word.Activities.WordReplaceText” activity.
I’m using Studio 2023.4.0 Community Edition and UiPath.Word.Activities v1.16.0-preview.
I use the ‘Replace Text in Document’ inside a ‘Word Application Scope’ and I have the ‘Replace All’ button unchecked. Inside the document I have several entries of a keyword and I want to replace only the first occurence.
When I run this all the occurrences are being replaced.
Any thoughts?
P.S. I already changed my bot to do what I need to do, but was just wondering if this is an error or expected behaviour.
I’ve tried repro’ing this on a sample Word document and was unable to. In my case, it replaces the first occurrence. Would you be able to share a sample workflow with a sample document so we can investigate this further?
Thank you for the additional information, I managed to repro it with the textboxes. I’ve filed this for our developers to investigate it further and will provide an update here.