Get Constant By Name

Overview

Use this function to get the value of a constant where its name is not known at design-time but will be known at run-time.  The function also accepts an optional version number as a parameter if a specific version of the constant is required.  

The function provided, PCF_getConstantByName(), can be used directly in SAIL scripts or process models.

Notes:

  • Impact analysis or find precedents will not know the actual constant used by this function or the application. Hence, it is up to the designer to manually add the constants to the application package.
  • Version number will not be same across the deployed environments. Consider the adjustments needed if a value for a specific version is required.
Anonymous
  • In the 23.2 release, Appian introduced modernized file management APIs that offer a cleaner abstraction layer for easier file handling within Appian. We simultaneously announced that we are deprecating some older APIs. We are aware of the utilization of deprecated APIs within some AppMarket plug-ins that work with documents. As part of our commitment to ensuring compatibility, we anticipate all Appian-authored plug-ins currently using deprecated APIs to be updated for API compatibility by the 24.1 General Availability (GA) release. We also proactively work with Partner plug-in authors to ensure all AppMarket plug-ins have optimal performance and functionality. 

    If you have any questions or require AppMarket assistance, please don't hesitate to reach out by sending an email to appmarket@appian.com.

  • Hi Venkat,

    We are getting a health check medium issue that this plugin is using decprectaed API ("Get Constant Utilities (com.visionpointsystems.appianutils.constants) references deprecated Appian APIs
    [deprecated] com.appiancorp.suiteapi.content.ContentService.searchByRoot(java.lang.Long, java.lang.String, com.appiancorp.suiteapi.content.ContentFilter)")
    Can you please let us know when this issue will be addressed ?

    Thanks.
  • Hi Venkat,

    We are upgrading our platforms to New Appian version 20.1. Can we expect an updated version of this plugin to support on Latest Version of Appian as It shows Compatible Version(s): 7.10+

    Thanks