Free cookie consent management tool by TermsFeed

Function and Component Versions

Overview

This page describes how Appian introduces improvements to functions and Interface Components (collectively referred to as "Function(s)" on this page), while preserving backwards compatibility.

Historically, when we wanted to improve a Function, we would wait until we had enough changes to justify introducing them as an entirely new Function. Starting in Appian 17.2, we introduced the concept of Function versions, where we add a new version of a Function, but leave the old version in place with a slightly modified name.

New function vs. new version

When we add a new Function, instead of improving an old one, we give it a new name. We do this when there is sufficient difference in usage that it would amount to large changes in design. A great example of this is the new a!forEach() Function, which supercedes the capabilities of apply() and a!applyComponents(), and uses a different design pattern.

When we add a new version of a Function, instead of improving the old one, we give it the same name, and change the name of the old Functions. We do this when we want to improve a Function in a way that would not preserve backwards compatibility in all cases, and where we intend for it to take the same place in the Appian paradigm. Otherwise we'd bloat our library of Function options, introducing confusion about when you should use which. The a!toJson() Function is a great example; we have some solid improvements to the Function, but there are a few cases where it's used in a way that would break if we changed the old Function.

How Do I Know If I'm Using an Old Version?

You can tell if the Function you're using is an old version by looking at its name to see if it has a suffix in the format of _XXrX, where the X's represent the last version of Appian where that Function was used.

For example, if you were using the Dashboard Layout in an interface in Appian 17.1, your interface showed it as: a!dashboardLayout. After upgrade to Appian 17.2 or later, if you look at that same interface, you'll see that the name has been changed to a!dashboardLayout_17r1.

  • Before: a!dashboardLayout
  • After: a!dashboardLayout_17r1

Do I Have to Use the New Version?

No. You may continue to use old versions indefinitely.

However, since new versions of Functions often contain desirable improvements to functionality, design simplicity, performance, and stability, you'll likely want to switch at some point.

Changes You'll See In Appian

Old versions of Functions will not appear in type-ahead suggestions.

screenshot of a type-ahead suggestion for a function

However, you can continue to use old versions without issue, and when using an old version, the documentation pane will provide information specific to the version of the Function you're using.

screenshot of old version of a function

Changes you'll see in the documentation

Old versions of Functions are not used in examples or interface recipes, and are not listed in category lists.

However, all old versions of Functions still have their reference pages available in the documention. You have a number of options for finding that content:

  • Search the docs. For example, just search for: barChartField_21r4 and you should quickly see it in the type-ahead results.
  • Find it in the Appian Functions Page.
  • From the latest version's page, in the section titled "Old Versions." For example: Bar Chart Component.
  • Or from the table below that lists all Functions that have been changed this way.

All updated functions as of 24.4

The following table lists all Functions that have older versions, the updates made to that Function, and all associated older versions as links to their reference pages.

Latest Reason for Update Old Versions
Bar Chart Component
a!barChartField

Fixed existing behavior in stacked bar charts so that the values in the stacked bars display in the same order as the items in the legend.

a!barChartField_21r4
Billboard Layout Component
a!billboardLayout

Replaced multiple parameters with a new parameter that allows the designer to choose between a bar, column, or full overlay style. Added the full overlay style. Added the alignVertical parameter for the column and full overlay styles.

a!billboardLayout_19r1
Button Component
a!buttonWidget

Added more flexible options for button styling with a new color parameter and updated style parameter. You can now control button color and style separately.

a!buttonWidget_23r3
Cancel Process Smart Service
a!cancelProcess

This function was updated to handle scenarios where the selected process has already been canceled or completed. Instead of throwing an error in these cases, a new function variable, fv!alreadyClosed, will be set to true and available for use in your logic.

a!cancelProcess_17r3
Checkbox Component
a!checkboxField

Added the ability to use record field values as checkbox choices.

a!checkboxField_23r3
Create Knowledge Center Smart Service
a!createKnowledgeCenter

The securityLevel has been removed in the Appian 18.1 release. Knowledge center security is managed completely by normal object security.

a!createKnowledgeCenter_17r4
a!currency() Function
a!currency

Expanded currency localization capabilities. Now supports hundreds of currencies by accepting an ISO code and outputs a formatted currency value based on locale.

currency_22r4
Delete Records Smart Service
a!deleteRecords

Allow deleting records and related records at the same time.

a!deleteRecords_23r3
Document Browser Component
a!documentBrowserFieldColumns

Now supports selection in addition to browsing.

a!documentBrowserFieldColumns_17r3
Dropdown Component
a!dropdownField

Added an optional search box and renamed the placeholderLabel parameter to placeholder.'

a!dropdownField_20r2
Dropdown By Index Component
a!dropdownFieldByIndex

Added an optional search box and renamed the placeholderLabel parameter to placeholder.

a!dropdownFieldByIndex_20r2
File Upload Component
a!fileUploadField

Multiple file upload is now supported directly within the component. This removes the need to generate many individual file upload fields.

a!fileUploadField_17r1
Form Layout
a!formLayout

Replaced firstColumnContents and secondColumnContents with contents. Now supports greater than two-column layout.

a!formLayout_17r1
a!fromJson() Function
a!fromJson

Now automatically converts date and datetime fields to the appropriate Date and Date and Time data types instead of a string. Also converts 64-bit integers to string instead of returning null.

a!fromJson_19r2
Read-Only Grid Column Component
a!gridColumn

Now supports multiple interface components.

a!gridTextColumn
Read-Only Grid Component
a!gridField

Enhanced records-powered grids so they can automatically detect if fields have been queried from a different relationship and skip any redundant queries. Additionally, updated the grid's default border style and shading.

a!gridField_24r3

Enhanced read-only grids that use a record type as the source so they only query the record fields specified in the columns, pagingSaveInto, and selectionSaveInto parameters. This allows for more optimal grid performance. Additionally, if your grid includes dynamic behavior, you can configure the fields parameter in a!recordData() to specify when to query fields in the grid.

a!gridField_23r3

Now supports embedded queries, columns widths, and rich text.

a!gridField_19r1
a!httpResponse() Function
a!httpResponse

Can now return documents through Web APIs so that other systems can access Appian documents.

a!httpResponse_17r4
Image Component
a!imageField

Now supports a style parameter, a separate configuration for thumbnail functionality, and more sizes.

a!imageField_17r3
a!isUserMemberOfGroup() Function
a!isUserMemberOfGroup

Now accepts multiple groups and can check whether the user is a member of any or all groups. Also moved to the a! domain.

isusermemberofgroup_21r2
Line Chart Component
a!lineChartField

Added ability to display thousands of data points without scrolling. When the chart shows date or date and time fields, the x-axis labels are formatted to match the end user's time zone and resized to avoid clutter.

a!lineChartField_19r1
Multiple Dropdown Component
a!multipleDropdownField

Added an optional search box.

a!multipledropdownField_20r2
Multiple Dropdown By Index Component
a!multipleDropdownFieldByIndex

Added an optional search box.

a!multipleDropdownFieldByIndex_20r2
Record Picker Component
a!pickerFieldRecords

Updated the filters parameter so it can now accept a single logical expression or a list of query filters to determine which records appear in the picker

a!pickerFieldRecords_22r1

Supports updated record types that use record type field references.

a!pickerFieldRecords_20r2
a!queryEntity() Function
a!queryEntity

Fixed an incorrect sorting behavior so that a sort is now automatically applied on the primary key field when there is no other sort applied. In previous versions of this function, a sort was applied on the last field in the query when there was no sort or selection specified, or when there was no sort and at least one a!queryColumn() specified as a selection.

a!queryEntity_22r2

Added the fetchTotalCount parameter, which, by default, avoids running the query that retrieves the total number of rows in the totalCount parameter of the resulting datasubset.

a!queryEntity_18r3
a!queryRecordType() Function
a!queryRecordType

Replaced selection with fields, which now allows for both selection and aggregation of record data when querying a given record type.

a!queryRecordType_20r4
Radio Button Component
a!radioButtonField

Added the ability to use record field values as radio button choices.

a!radioButtonField_23r3
Record Action Component
a!recordActionField

Added the securityOnDemand parameter to determine when record action security is evaluated for the "MENU" and "MENU_ICON"` action styles. By default, security for the menu styles is evaluated when the user clicks the button.

a!recordActionField_23r3
a!recordFilterDateRange() Function
a!recordFilterDateRange

Supports updated record types that use record type field references.

a!recordFilterDateRange_20r2
Rich Text Item
a!richTextItem

New version supports multiple values in the style parameter, as well as custom hex colors.

a!richTextItem_18r1
Section Layout Component
a!sectionLayout

Replaced firstColumnContents and secondColumnContents with contents. Now supports greater than two-column layout.

a!sectionLayout_17r1
Sync Records Smart Service
a!syncRecords

This function was evolved to automatically refresh record data in any record view where the function is used.

a!syncRecords_22r2
Tag Item
a!tagItem

Added the ability to use any link type in a tag.

a!tagItem_24r2
a!toJson() Function
a!toJson

Improved support for datetime values. This removes the need to create a supporting conversion rule.

a!toJson_17r1
a!urlForRecord() Function
a!urlForRecord

You can now specify a site page to open your record when using both a!urlForRecord and a!recordLink.

urlForRecord_23r4
a!userRecordFilterList() Function
a!userRecordFilterList

The latest version of this function is compatible with the updated User record type, which has data sync enabled.

a!userRecordFilterList_22r3
a!userRecordListViewItem() Function
a!userRecordListViewItem

The latest version of this function is compatible with the updated User record type, which has data sync enabled.

a!userRecordListViewItem_22r3
Write Records Smart Service
a!writeRecords

The Records Updated output was changed to return the input data and the primary keys of any newly created records.

a!writeRecords_23r4

Allow writing records and related records at the same time. For faster node execution, the Records Updated output was changed to only list the primary keys of affected records and related records.

a!writeRecords_23r2

Feedback