This script is used by the Encompass Integration workflow to copy a property value form the Scoped Property Bag to the Persistent Property bag. The script specifically looks for a property named propErrorMessage in the Scoped Property Bag and write a property of the same name and value into the Persistent Property Bag.