This is a very strange problem. It happened on some machines but not on others.
I build a tool base on python that calculate a field.
I have the table open in Pro.
When the tool have string parameter and I run it the table on the screen is updated automatically.
When the parameter is Feature Layer and I do not give a value (the parameter is optional) the table is updated.
When I select a layer as a parameter the tool works but it is not updated on the screen.
I could not find a way to show the new value. Even removing the layer from TOC and bring it back does not show the updated value.
Only closing the project and reopen show the new value.
The script does NOT use the parameter, everything is hardcoded.
Any idea?