Content Tools

Overview

These functions extend Appian content and offer document/folder search, directory listing, and the ability to get/set the searchable attribute of a folder.

Functions are designed for and only work on Appian content, not the local filesystem. All search functions assume the root folder and all subfolders are searchable. Search functions will not return results contained within non-searchable objects.

All functions use the serviceContext of the user account executing the expression at runtime.

Key Features & Functionality

Data Types

  • contentSecurityRoleMap: CDT that backs the returnContentRoleMap function

Smart Services

  • Copy Document (Change Extension)
  • Delete Document Version
  • Delete Folder Contents
  • Delete Files Older Than
  • Delete Files Created Before
  • Delete Multiple Documents
  • Remove Member From Folder Security
  • Inherit Security From Parent for Folder
  • Inherit Security from Parent for Document
  • Remove Member From KC Security
  • Delete Rule/Constant Versions
  • Set Folder Security
  • Create Document Version
  • Create expression rule
  • Update expression rule expression
  • Update expression rule parameters

Functions

  • getfoldersrequiringchangesapproval
  • getsubfoldersfromfolder
  • getdocumentsfromfolder
  • getdocumentinternalidsfromfolder
  • getfilesolderthandate: Get files older than a particular date
  • getfileslargerthansize: Get files larger than a particular size
  • finddocumentsbyname
  • getconstantorruleuuidbyname
  • findcontentbyattribute
  • getcontentdetailsbyuuid
  • getcontentdetailsbyinternalname
  • getcontentobjectdetailsbyid
  • getcontentobjectswithnumofversions: function to find rules or constants with a given number of versions. Useful to find out objects that can increase memory usage in the collaboration engine. See https://forum.appian.com/suite/help/16.3/kb/kb-1226.html
  • getcontentobjectrevisionhistorydetails: Retrieves the revision history of a content object formatted as "[version id, date created, date updated, size, author]"
  • getconstantsfromfolder
  • getconstantsbyname
  • setfoldersearchability
  • getfoldersearchability
  • getdownloadersfromgroup
  • returncontentrolemap
  • getprocessmodeldetailsbyuuid
  • getrulereferencebyname
  • generateuuid
Anonymous
Parents
  • Hi All
    I am using function getprocessmodeldetailsbyuuid. I am using this function in an expression rule which is getting called from the interface.
    I am getting the error 'user does not have sufficient privileges to perform action'
    I have given viewer access to the user to expression rule, interface, process model of which I am trying to fetch details.
    I even tried giving admin access to the process but still getting same error.

    But when I add the user to designer group, it is working fine.
    Is being a member of the Designers group a requirement to leverage getprocessmodeldetailsbyuuid function to get the desired results?

    Any help would be appreciated!

    Thanks!

Comment
  • Hi All
    I am using function getprocessmodeldetailsbyuuid. I am using this function in an expression rule which is getting called from the interface.
    I am getting the error 'user does not have sufficient privileges to perform action'
    I have given viewer access to the user to expression rule, interface, process model of which I am trying to fetch details.
    I even tried giving admin access to the process but still getting same error.

    But when I add the user to designer group, it is working fine.
    Is being a member of the Designers group a requirement to leverage getprocessmodeldetailsbyuuid function to get the desired results?

    Any help would be appreciated!

    Thanks!

Children