We need to update the email domains specified in AWA objects such as Call objects and sendmail in scripts as our email domain has changed.
How can we do this?
Release : 12.3.4
Component : AUTOMATION ENGINE
The email domain has changed to a new domain.
The best way to do this is going to be via exports of the folders from AWI.
This is going to be dependent on the number of objects in your folders for the exports, and the size of the XML for the import.
Per the AWA documentation:
The maximum allowed size of the XML import file in KB is set on Client 0 in the MAX_IMPORT_SIZE key in the UC_SYSTEM_SETTINGS - Systemwide Settings VARA object. As and administrator user, you can also limit the maximum number of objects that should be exported at once. Use the MAX_EXPORT_COUNT key for this purpose.
It is suggested that each 'export.xml' be renamed to the name of the folder you exported so that you can keep track of your changes.
From there, you can open the XML files with something like Notepad++ and do a find and replace on the email domains.
Save those changes and then import the XML back into the parent folder, making sure to select replace existing objects on the import.
For clarification, let's say you have a folder structure of
You export GROUP_B // SUB_FOLDER_ONE
Rename this export.xml file to groupbsubone.xml
Continue with your exports and renames.
Open the XML files in Notepad++ and find and replace from @olddomain.com to @newdomain.com
Save the changes.
Back in AWI, select the TOP_LEVEL_FOLDER, right-click, transfer, import, select the file and make sure to check the box to replace existing objects.