Article ID: 115661, created on Mar 7, 2013, last review on May 10, 2014

  • Applies to:
  • Operations Automation

Symptoms


APS task 'Executing configuration script' fails in POA with the error message "Unknown function 'disable'" or "Unknown function 'enable'".

Cause


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.

Resolution


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.

caea8340e2d186a540518d08602aa065 5356b422f65bdad1c3e9edca5d74a1ae e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF