Task Report - column using a custom function / some in-built functions does not work

We are trying to call an Appian function for a column in a Task Report. I can see that some of the inbuilt Appian functions work (like group(<Appian Group>,"id")) works. Whereas, some Appian functions do not work. Like - isusermemberofgroup(username: <Appian User Name>,groupId: <Appian Group ID>) does not work. Same behavior we observed when using a custom function. If the function is invoked in a dictionary format from Task Queue, it does not work, also if the custom function internally uses a dictionary format to call other function, that does not work. But a function call without any dictionary format works.

Is this a known limitation? If so, how can we invoke custom functions for Appian Task report columns - for our use case, we need to be able to use isusermemberofgroup function.

Thanks in advance.

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Lead Developer
    in reply to Soumya Banerjee

    What I've found in the past is that only primitive functions are guaranteed to work in portal report data fields. Expression rules can be used, but they must not use dictionary syntax anywhere, and also IIRC they can't use local variables at all.

    Also: the above links are both broken because the hyperlink accidentally includes an extra ")" at the end.  If you manually remove the extra character from the end of the URL when you click it, you'll get the documentation page properly.

Children