This article summarizes the deprecation and removal of features with Appway 9
When upgrading to Appway 9 this means:
- Removed features – Issues related to the removal of features must be addressed before upgrading to Appway 9.
- Deprecated features – Issues related to the deprecation of features do not require any action before upgrading to Appway 9. Deprecated features will continue to work as normal in Appway 9, we plan to remove them in Appway 11 or later. This time frame gives you plenty of time to address the necessary changes by following the recommended actions.
Notes:
For more information on feature removal and deprecation in past Appway versions, see:
For more information on deprecation and removal principles at Appway, see the
Feature Deprecation and Removal section of the System Administration: Upgrade Principles article.
See the below sections for detailed information on recommended actions and reasons for deprecation or removal.
The following tables list features removed with Appway 9 and the recommended actions to replace them. Please ensure your Solutions do not use any of these features before upgrading to Appway 9.
| Removed Feature | More Information |
|---|
CHECKCONSTRAINT | Deprecated in Appway 6.0. This function will not be replaced as it was part of a feature removed with Appway 5.1 (Data Class constraints). |
| Removed Feature | More Information |
|---|
Non-serializable parameter assignments for StartProcess and StartSubProcess | Check to ensure your Solution is not using this mechanism:- In Appway 8, a WARN message starting with
Decoupling parameter assignments failed: and containing further details is logged if you are using this mechanism. - In Appway 9, a WorkspaceException makes this issue easy to detect when testing.
Note: If you need to continue using this functionality with Appway 9, contact Appway Support for more information. |
| Sending Process Messages with non-serializable data | Check to ensure your Solution is not using this mechanism:- In Appway 8 (8.0.3 and higher), a WARN message starting with
Cloning process message failed: and containing further details is logged if you are using this mechanism. - In Appway 9, a RuntimeException occurs and the Process Token is suspended, making this issue easy to detect when testing.
Note: If you need to continue using this functionality with Appway 9, contact Appway Support for more information. |
| Assigning non-serializable data when starting a new Process Instance | Check to ensure your Solution is not using this mechanism:- In Appway 8 (8.0.3 and higher), a WARN message starting with
Cloning process message failed: and containing further details is logged if you are using this mechanism. - In Appway 9, a RuntimeException occurs and the Process Token is suspended, making this issue easy to detect when testing.
Note: If you need to continue using this functionality with Appway 9, contact Appway Support for more information. |
| Removed Feature | More Information |
|---|
| Using identical Data Entity IDs in different Process Instances | From Appway 9, Data Entities that are added into a Process Message are cloned, with the consequence that new Data Entity IDs are assigned to the clone. This helps ensure that Data Entity IDs are unique across the whole Solution.
Test your Solution to verify that it does not depend on the IDs of Data Entities which are added to a Process Message.Note: If you need to continue using the behavior available before Appway 9, contact Appway Support for more information. |
| Removed Feature | More Information |
|---|
| Case Template: Correctness Rule definitions using bindings to specific variables | This functionality was deprecated with Appway 7.2, in favor of a more flexible approach: Correctness Rules are bound only to a property of a Data Class instead of a specific variable, meaning that the Correctness Rule applies to all instances matching the defined Data Class/property on the Case Template.
Delete Correctness Rules using bindings to specific variables and recreate them using the Data Class and Property selectors.
Note: New enhancements introduced to Case Management in Appway 9 prevent continuing support for the old method of Correctness Rule definitions using bindings to specific variables. |
| Removed Feature | More Information |
|---|
| Hazelcast Group Password | From Appway 7.2, Hazelcast ignores the group password (if it was configured) when joining a cluster. This no longer working feature has now been removed. The configuration property nm.cluster.startup.group.password is no longer needed and should be removed in Appway 9 to avoid unnecessary INFO messages at startup. |
The following tables list features deprecated in Appway 9 and the recommended actions to replace them.
Features deprecated in Appway 9 do not require any immediate action before upgrading to Appway 9. These features will continue to work as normal in Appway 9, we plan to remove them in Appway 11 or later. This time frame gives you plenty of time to address the necessary changes by following the recommended actions.
| Deprecated Component | Recommended Action | Why We Are Deprecating |
|---|
| File Upload [Legacy] | Refactor your Solution to use the File Upload Solution Components available with the Design System 5 instead of the File Upload [Legacy] Screen Component.
Note: Additional information on working with File Upload Solution Components will be available here soon. | The File Upload Screen Component was replaced by the more flexible and stylable File Chooser Screen Component. As part of the Design System, File Upload Solution Components based on the File Chooser are available and cover single file and multiple file upload use cases. |
| Form Channel [Legacy] | Refactor your Solution to use the Form, Actions, and Inconsistencies Interaction Channels instead of the Form Channel [Legacy].
Note: For more guidance on refactoring your Solution to use the new Interaction Channels, refer to the Interaction Channel examples available in the DesignSytemExamples Package available with the Design System 5. | The Form, Actions, and Inconsistencies Interaction Channels introduced with Appway 8 fully replace the legacy Form Channel, providing more flexibility and stability. |
Text Field with Rich HTML Suggestions
Text Field with Suggestions | No replacement | These components are no longer used in Solutions. |
| Deprecated Feature | Recommended Action | Why We Are Deprecating |
|---|
| COB Extension | As a first step, you need to migrate to the Inbox Business Component following the Inbox Migration Guide. Moreover, a highly recommended action is to replace the Inbox Extension with the WorkitemFinder Extension in Appway 9. Therefore, as a second step, remove the dependencies from the Inbox Extension following the guidelines reported in the System Upgrade guide. | The functionality provided by the COB extension is fully replaced and extended by Inbox. |
The deprecated Script Functions listed in the two sections below have been deprecated with Appway 9, but will not be removed from Appway before Appway 11.
| Deprecated Function | Recommended Action | Why We Are Deprecating |
|---|
DataArray.getList()
DataMap.getMap() | Refactor your Solution to no longer use these methods. Note: A WARN message is logged if you are using this mechanism. | These methods allow direct access to internal data structures and are not intended for use in Solutions. |
DataObject.getProperties()
DataObject.getPropertiesMap() | Refactor your Solution to no longer use these methods. Note: Using this mechanism throws a validation warning and, from Appway 9, will also log a WARN message. | These methods allow direct access to internal data structures and are not intended for use in Solutions. |
With Appway 9, we have organized Appway Script functions related to user management into the corresponding 'User:' namespace. Consequently, we have introduced new functions that are intended to replace the previously available functions. The list of affected functions is available in the table below.
Note: The previously available functions continue to work: they have been deprecated with Appway 9, but will not be removed before the release of Appway 11.
Migrating to New 'User:' Functions
To already start taking advantage of the new namespaced functions, you can migrate all occurrences of the deprecated functions listed below using the Appway function Migration:MigrateFunctions.
Important! GetUser() must be migrated manually, as the replacement function has a slightly different functionality (null handling).
Follow these steps to use the migration function:
- Execute
Migration:MigrateFunctions, and pass the Package ID as an argument, as the function executes migration on a per-Package basis.
Example: Migration:MigrateFunctions('ClientOnboarding') migrates all occurrences of deprecated User functions in the Client Onboarding Package.
In detail, the migration function performs the following actions:
- The migration function finds all Business Objects using deprecated
User functions within the given Package.
Example – The Client Onboarding Package contains the Script Function "Test", which uses the deprecated USERFIRSTNAME function:
Function ClientOnboarding:Test(String $value) : Nothing Begin
USERFIRSTNAME();
End
- The migration function replaces all occurrences of deprecated functions with the new namespaced functions; an uncommitted version of each Business Object with migrated code is created.
Example – The Script Function "Test" has been modified by the migration function to replace the deprecated function:
Function ClientOnboarding:Test(String $value) : Nothing Begin
User:CurrentUserGetFirstName();
End
- The migration function returns a list of Business Object IDs that have been migrated.
Example:
String[ClientOnboarding:Test]
- Based on the list of migrated Business Objects, review the changes to the Business Objects and commit them.
| Deprecated Function | Recommended Action | Why We Are Deprecating |
|---|
USERFIRSTNAME()
USERLASTNAME() | The migration tool described above allows you to migrate all occurrences to the new User:CurrentUserGetFirstName() and User:CurrentUserGetLastName() functions that are available with Appway 9. | User-related functions are being reorganized into the ‘User:’ namespace for easier access. |
GetUserGroups() | The migration tool described above allows you to migrate all occurrences to the new User:ListGroupIds() function that is available with Appway 9. | User-related functions are being reorganized into the ‘User:’ namespace for easier access. |
USERGROUPS() | The migration tool described above allows you to migrate all occurrences to the new User:CurrentUserListGroupIds() function that is available with Appway 9. | User-related functions are being reorganized into the ‘User:’ namespace for easier access. |
USER() | The migration tool described above allows you to migrate all occurrences to the new User:Get() function that is available with Appway 9. | User-related functions are being reorganized into the ‘User:’ namespace for easier access. |
GetUser() | Use the new User:Get() function instead (available with Appway 9). Pay attention to different null handling: GetUser() returns null when the argument is null, while User:Get() returns the current user when the argument is null. | User-related functions are being reorganized into the ‘User:’ namespace for easier access. |
USERID() | The migration tool described above allows you to migrate all occurrences to the new User:CurrentUserGetId() function that is available with Appway 9. | User-related functions are being reorganized into the ‘User:’ namespace for easier access. |
USERINGROUP() | The migration tool described above allows you to migrate all occurrences to the new User:CurrentUserIsInGroup() function that is available with Appway 9. | User-related functions are being reorganized into the ‘User:’ namespace for easier access. |
USERINROLE() | The migration tool described above allows you to migrate all occurrences to the new User:CurrentUserIsInRole() function that is available with Appway 9. | User-related functions are being reorganized into the ‘User:’ namespace for easier access. |
| Deprecated Feature | Recommended Action | Why We Are Deprecating |
|---|
Allowing null as a key in a Named Collection | Refactor your Solution to ensure it no longer uses null as a key in a Named Collection. Note: Using null as a key logs a WARN message since Appway 7.0, making it straightforward to check your Solution for occurrences. | Using null as a key in a Named Collection is not a recommended practice. |
| Deprecated Feature | Recommended Action | Why We Are Deprecating |
|---|
| Case Entity Solution Component | Replace the Case Entity Solution Component with the Task Entity Solution ComponentNote: To check if the Case Entity is used, go to the Design System Package, select the Solution Component - CaseEntity Screen and check if other Business Objects of your Solution depend on it (in the Used by section). | Case Entity and Task Entity were introduced in parallel although they offered very similar features. In the meantime, we focused on the Task Entity which has evolved significantly, while the Case Entity has not changed. |
| Deprecated Feature | Recommended Action | Why We Are Deprecating |
|---|
CaseControl Primitive Type | Replace all occurrences of CaseControl with DataLogicControl. | CaseControl was renamed to DataLogicControl for consistency with the renaming of the Case Template in Appway 9, now referred to as Data Logic. |
CaseConsistency Primitive Type | Replace all occurrences of CaseConsistency with DataLogicConsistency. | CaseConsistency was renamed to DataLogicConsistency for consistency with the renaming of the Case Template in Appway 9, now referred to as Data Logic. |
CaseCorrectness Primitive Type | Replace all occurrences of CaseCorrectness with DataLogicCorrectness. | CaseCorrectness was renamed to DataLogicCorrectness for consistency with the renaming of the Case Template in Appway 9, now referred to as Data Logic. |
CaseCollaboration Primitive Type | Replace all occurrences of CaseCollaboration with DataLogicCollaboration. | CaseCollaboration was renamed to DataLogicCollaboration for consistency with the renaming of the Case Template in Appway 9, now referred to as Data Logic. |
CaseWorkitem Primitive Type | Replace all occurrences of CaseWorkitem with DataTaskWorkitem. | CaseWorkitem was renamed to DataTaskWorkitem for consistency with the renaming of the Case Template in Appway 9, now referred to as Data Logic. |
WorkItemMyCasesFilter Filter | Replace all occurrences of WorkItemMyCasesFilter with WorkItemMyDataTasksFilter. | WorkItemMyCasesFilter was renamed to WorkItemMyDataTasksFilter for consistency with the renaming of the Case Task in Appway 9, now referred to as Data Task.
Note: In Appway 9, this filter is provided by the WorkitemFinder extension (called Inbox extension in Appway 8). |
| Case Package | Replace the Case Package with the new DataLogic Package.
If your Solution uses any of the functionality provided by the Case Package, adapt your Solution accordingly after installing the DataLogic Package. | The Case Package was renamed to DataLogic for consistency with the renaming of the Case Template Business Object in Appway 9, now referred to as Data Logic. |