APS task 'Executing configuration script' fails in POA with the error message "Unknown function 'disable'" or "Unknown function 'enable'".
The APP-META.xml file of the problem APS application declares status control, this means configuration script may be able to manipulate service status by enabling and disabling service.
However, configuration script packaged in APS application does not support function disable or enable. When POA disables subscription corresponding services provided by APS application must be disabled, POA calls provisioning script from APS application with the parameter 'disable' and this request fails because application script does not declare such function. The same may be true for the 'enable' function.
If the problem application is available in the APS catalog http://apsstandard.org/applications check if a newer version of the application is available. If update is available check whether it has the issue fixed:
- Open the APP-META.xml file packaged in the application.
- Find the name of the configuration script in the <configuration-script> tag, e.g. it may look like this - <configuration-script name="provision.php">, in this case the name of the configuration script is provision.php and it is located in the scripts folder in the APS package.
- Open the configuration script and check if the problem function is present in it.
If the problem is solved in the new version of APS application then import it into POA and upgrade customer's instances to the new version.
If the problem is not solved then contact application vendor support team for the resolution.