You are currently reviewing an older revision of this page.

KB-XXXX How to upgrade a!twilioField from version 1 to version 2

Purpose

This article provides instructions on how to upgrade the a!twilioField component plug-in from version 1 to version 2. The upgrade is required when upgrading from Appian 19.2 or earlier to Appian 19.3 and later, but can also be performed on Appian 19.2 if desired.

Instructions

Deploying the new Plug-Ins

In an on-premise Appian installation, perform the following steps:

  1. Download the latest ICC Components bundle for your Appian version from the Downloads section of Appian Community.
  2. Copy the zip file to the server hosting Appian.
  3. Uninstall the twilioField-v1_*.zip and twilioServlets-v1_*.jar plug-ins from <APPIAN_HOME>/_admin/plugins by moving them to a different directory or adding a .bak extension to the files.
  4. Unzip the ICC Components.zip file into <APPIAN_HOME>/_admin/plugins

For Appian Cloud installations, contact Appian Technical Support to request the above steps to be performed in the Appian Cloud environment.

Upgrading the Twilio Component

After the new plug-ins have been deployed, the a!twilioField component needs to be updated in the code. Perform the following steps to update the a!twilioField:

  1. Create a new Connected System using the Twilio Connected System, including the Account SID, Subaccount SID and other values required. If the original API key secret has been lost, you may need to create a new API key via the Twilio Console.
  2. Create a constant pointing to the new Twilio Connected System object.
  3. Open the interface(s) containing the twilioField and change twilioField_v1 to twilioField. In the standard ICC application, the two interfaces using a!twilioField are named ICC_CP_twilioField and ICC_RT_twilioAioReport