dynamic object manipulation

I need to check if a function exists and then call it, using its name as a reference for both operations. I know that the functions doesruleexist and rulereferencebyname exist, but I don't know which plugin they belong to or if there is an alternative.


PS: Due to business restrictions, I cannot use externalize() and internalize().

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer

    From a governance perspective, it isn't a good idea to use an unsupported plugin (or undocumented function, like eval) in production. Any Appian upgrade or plugin change could break your code without warning and without a way to revert. So be very careful with this plugin in production.

    From the plugin's description:
    None of the functions or smart services in this plugin should be used for any other purpose, nor are they verified to work outside of their usage in Appian-built solutions and the Solutions Customization Suite.

    With that said, there are some excellent test-related use cases for it in lower environments.

Reply
  • 0
    Certified Lead Developer

    From a governance perspective, it isn't a good idea to use an unsupported plugin (or undocumented function, like eval) in production. Any Appian upgrade or plugin change could break your code without warning and without a way to revert. So be very careful with this plugin in production.

    From the plugin's description:
    None of the functions or smart services in this plugin should be used for any other purpose, nor are they verified to work outside of their usage in Appian-built solutions and the Solutions Customization Suite.

    With that said, there are some excellent test-related use cases for it in lower environments.

Children
No Data