I find that variable name have some reference so the change on variable name applied to all those references on the top level.
However when you reference to it inside other function it did not change and cause error?
Is it possible to add “Refactoring” feature? My life will be better!
Keep all activities you want to extract in a sequence or do box (basically in any component)
and then right-click → Extract as Workflow → Provide new name.
In 19.10 and above when you rename a variable, the name will be refactored inside the xaml file and all occurrences will be updated including property expressions and Invoke Workflow usages. Im sorry someone didn’t reply here by now. Note that as of 20.10 you also have Find References to easily find all occurances.