Skip to main content
March 1, 2024
Solved

The function 'isnullorempty_appian_internal' is unavailable

  • March 1, 2024
  • 7 replies
  • 0 views

In a PM, getting the below error, how can I resolve this?



    Best answer by mikes0011

    yes, that would do it.  you'll need to replace that with the primitive function "isnull()" unfortunately.  at least, until Appian fixes this bug.

    7 replies

    davidj137213
    March 1, 2024

    Could you share your code please?

    mikes0011
    Brainy
    March 1, 2024

    If you're using a!isNullOrEmpty() in a Rule node (and potentially other places in process models concerning decision logic, like timer conditions), unfortunately this is a known issue that I reported to Appian a few years ago and still hasn't been addressed.

    March 1, 2024

    Could you please confirm if the below rule in the timer is causing the error?

     if(fn!isnull(ri!array),true(),length(ri!array)=0)

    mikes0011
    Brainy
    March 1, 2024

    I think you'll be looking for a place where you've used the newer function a!isNullOrEmpty() (and maybe alternately a!isNotNullOrEmpty()).  Your error message (as far as i've seen) has to do specifically with these newer functions.  The code you've posted here using older functions should not be causing any such error that I know of.

    (BTW: Stylistically, we don't usually usually use the "fn!" prefix in front of legacy functions, outside of being called by looping functions anyway, though AFAIK it shouldn't break anything like seen in your original error message.)