This procedure applies to any upgrade which involves a database restore that has SMS/Email call records.
Though the script is executed on the primary EPM, the script may need to be executed multiple times. You will need to specify different EPM names each time. The appropriate script needs to be executed once for each of the EPMs (both primary and auxiliary) in the system. If there is one primary EPM and two auxiliary EPMs, then the script needs to be executed three times- once for the primary EPM and twice for each of the auxiliary EPMs.
Note:
This procedure is not required if the user is upgrading from Avaya Experience Portal 6.x, since SMS/Email was not supported in that release.