When using the Replace functionality within a Schedule object, the replace does not save in the JSCH and any modifications made before that replace also are not saved.
Documentation doesn't show that Replace should be an option from JSCH object
https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/21.0/Automic%20Automation%20Guides/Content/AWA/Objects/obj_WkgWith_Replace.htm?Highlight=replace
"The Replace function is available from the Explorer list in the Process Assembly perspective, from combo boxes, and from the global search dropdown list."
This is caused by a bug where the "replace" function was allowed within a schedule object when it should not have been.
Release : 12.3 and 21.0
Component : AUTOMATION ENGINE
The "Replace" will be removed from the context menu in schedule objects with the AWI component in version 12.3.9 and 21.0.3. Please note that any update to the AWI also requires an update of the utilities, initialdata, and automationengine components