Note that the Appway Platform has been renamed
FNZ Studio (also referred to, generically, as Platform in this article). Appway Studio (design-time environment) and Appway Workspace (runtime environment) have been renamed
FNZ Studio Composition and
FNZ Studio Runtime, respectively. Refer to our Renaming
article for full information.
I'm upgrading to a newer Platform installation and want to make sure all the functions from my existing installation continue to work in the new environment. How can I do this?
When upgrading your Platform installation, it's useful to know which functions are new and which no longer exist when compared to the version of the Platform that you're already running.
When comparing your Platform version with an upgrade, make sure that the environments being compared are as similar as possible:
- Are all the necessary extensions already installed on the upgrade?
- Are the compatibility settings, set in FNZ Studio Composition (System Configuration > Configuration Properties) identical?
Follow these steps to compare functions:
-
Execute this script in the Interactive Script Editor in each version of the Platform that you wish to compare:
String $funName;
Indexed String $funNames := ToIndexed(CONTEXT().getExpressionLanguageService().getFunctionNames(), String);
$funNames := SORT($funNames, 'STRINGCOMPARE');
ForEach $funName In $funNames Do
com.nm.sdk.data.expeval.Function $f := CONTEXT().getExpressionLanguageService().getFunction($funName);
If $f == null Then
PRINTLN('Unknown Function ', $funName);
Else
If $f isa com.nm.sdk.data.scriptfunctions.ScriptFunctionFunction Then
Else
PRINTLN($funName, ', ', $f.getName(), ', ', IF($f.isDeprecated(), 'deprecated', ''));
End
End
End
-
Save the output from each Platform version to a text file.
The output of the script is a list of functions that are available in the system. Each function appears in the format:
Function/alias name, real function name, deprecation information
Examples:
*, MUL,
DeleteProcessInstance, DeleteProcessInstance,
DATEADD, DATEADD, deprecated
-
Run a 'diff' on the files. The differences point to potential problems which need to be investigated:
- Functions appear to be missing because not all extensions have been installed in the upgraded version.
- Functions appear to be missing because compatibility settings are not identical.
- Functions are missing because they have been removed.
- New functions have been added.
If a function you used no longer exists in the upgraded version of the Platform, you will need to create a workaround. Please open a Support Ticket if you are uncertain as to the best way to do this.