Use Case:- We have created three custom group which are present in one group ty

Use Case:- We have created three custom group which are present in one group type. I need to get list of all users present in my group type. I am able to get list of users but when I am trying to get attributes of users it throws below error.

"Invalid function user"

Please find attached report code..

Sail Report

OriginalPostID-143057

OriginalPostID-143057

  Discussion posts and replies are publicly visible

Parents
  • The most recent errors I see in the logs have the following issue:

    Caused by: com.appiancorp.suiteapi.common.exceptions.InvalidUserException: [InvalidUserException]

    It looks like the user you are passing in is invalid. Are you storing the usernames as Text, or as User datatype?

    Try wrapping the ri!username in the touser() function, which would give you
    user(touser(ri!username), "firstName")
Reply
  • The most recent errors I see in the logs have the following issue:

    Caused by: com.appiancorp.suiteapi.common.exceptions.InvalidUserException: [InvalidUserException]

    It looks like the user you are passing in is invalid. Are you storing the usernames as Text, or as User datatype?

    Try wrapping the ri!username in the touser() function, which would give you
    user(touser(ri!username), "firstName")
Children
No Data