KB-2024 "Invalid function" error and missing dependents after object rename
Expression evaluation error at function rule!renameExample [line 3]: Invalid function rule!renameExample
The following warning was not seen on object rename as described in the Renaming Design Objects documentation:
These additional symptoms are all seen as well:
- The renamed object shows fewer objects in its dependents list after rename.
- The "Invalid function" error and missing dependents issue are not resolved by recreating search server indices and application server cache.
Cause
The dependent objects that are missing from the renamed objects's dependents list are using by-name references, as described in the Renaming Design Objects documentation, but were not recognized by Appian's by-name reference check.
Action
Take these steps on the environment the rule was renamed in. If this issue was discovered after importing a renamed object, take the same steps in the environment the renamed rule was imported into:
- Rename the renamed object back its original name.
- Resave any objects missing from the renamed object's dependents list.
These steps will remove any by-name references the dependent objects currently use, preventing this issue from reoccurring for the renamed object in future renames.
Affected Versions
This article applies to all versions of Appian.
Last Reviewed: November 2019
