folder() Function

Function

folder( folderId, property )

Returns a property of the requested folder. The return type will be the type of that property; for example selecting dateCreated as the property parameter returns a Date and Time value.

Parameters

Keyword Type Description

folderId

Integer

The Id number of the folder or the folder object.

property

Text

The information you need to retrieve regarding the document.

Returns

Any Type

Usage considerations

The property parameter accepts the following case-sensitive values (with their return values in parentheses):

  • changesRequireApproval (Boolean)
  • creator (Text)
  • dateCreated (Date and Time)
  • documentChildren (List of Document)
  • folderChildren (List of Folder)
  • id (Number [Integer])
  • inheritSecurityFromParent (Boolean)
  • knowledgeCenterId (Number [Integer])
  • knowledgeCenterName (Text)
  • knowledgeCenterSearchable (Boolean)
  • name (Text)
  • numberOfDocuments (Number [Integer])
  • parentFolderId (Number [Integer])
  • parentFolderName (Text)
  • pendingApproval (Number [Integer])
  • searchable (Boolean)

The documentChildren and folderChildren properties return up to the first 1000 documents or folders, respectively, that are direct children of the selected folder. Results are returned in alphabetical order by name.

Examples

You can copy and paste these examples into the Expression Rule Designer to see how this works.

folder(54,"knowledgeCenterName") returns System Knowledge Center

folder(3, "documentChildren") returns [Document:4149]; [Document:4160]; [Document:4212]; [Document:4161]

Feature compatibility

The table below lists this function's compatibility with various features in Appian.
Feature Compatibility Note
Portals Partially compatible

Can be used with Appian Portals if it is connected using an integration and web API.

Offline Mobile Partially compatible

Can be used with offline mobile if it is loaded at the top of the form.

Custom Record Field Expressions Incompatible
Process Reports Incompatible

You cannot use this function to configure a process report.

Process Events Incompatible

You cannot use this function to configure a process event node, such as a start event or timer event.

Open in Github Built: Mon, Nov 21, 2022 (01:52:20 PM)

On This Page

FEEDBACK