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
Smart Services
Functions
Hi,
Getting the following error on the Interface using the function getcontentdetailsbyuuid(). We are using the function to get the Id and name of the document from the document UUID.
Expression evaluation error at function 'getcontentdetailsbyuuid' [line 190]: The user does not have sufficient privileges to perform the requested action. (APNX-1-4198-000)
Looks like a security issue. Please provide what access should the user have for this.
Regards,
Vikrant Bhardwaj.
Has anyone encountered the following error when using getcontentobjectrevisionhistorydetails?
Appian Designer:
Error retrieving the revision history of the object:
Appian Logs:
2023-05-29 23:36:08,237 [Appian AppianServerThreadPoolProvider 246495] ERROR com.appiancorp.ps.plugins.contenttools.functions.RulesAndConstantsRevisionHistory - Error retrieving the revision history of the object: _a-0000e81b-a5b2-8000-33e8-01ef9001ef90_95136 java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.String
for Copy Document smart service, for error, I cancel the destination folder and, when I use the smart service, system create a document, but this it isn't available. I set Output Variables Error Occured and Error Txt, but no error has been declared.
Is it possible to integrate it?
Thanks.
Juri Monti
Hi,We are having problems with basic users accessing "getprocessmodeldetailsbyuuid". Does the user need developer/admin privileges to access its functionality?The user has viewer access to the process in question.
Function getprocessmodeldetailsbyuuid() use to return a property "Last Modified By" but it is no longer returning for a given process model UUID. What all are the properties that this function returns ?
Also the documentation doesn't have definitions for all the Functions.
Thanks,
Ramesh
Ben Dudley Any updates on the fix for the function
The delete type should have a dropdown on it when you select it with the following options:
<enumeration key="delete-type" type="1"> <items> <item> <label>Delete All Recursively</label> <value>1</value> </item> <item> <label>Delete Documents Recursively</label> <value>2</value> </item> <item> <label>Delete Root Documents Only</label> <value>3</value> </item> </items></enumeration>
Mike Schmitt - we've contacted the authors internally to ask them to review and fix!
April Schuppel Peter Lewis - just checking in to see whether either of you have any insight into whether this plugin is being monitored / maintained by anyone. The current version still has the bug I quoted above, and there seems to be no activity here. This is now actively preventing me from accomplishing some funcitonality needed for document cleanup in our filesystem.
Hi
Can anyone please help me with what need to pass in input parameter while configuring the input data for Delete Folder Contents smart service.Folder : I will pass using folder type constant.Delete Type - What should I need to pass ?As both these fields are mandatory for the execution.