Skip to main content
miguelann039799
June 16, 2023
Question

Get Groups from constant application

  • June 16, 2023
  • 2 replies
  • 0 views

Hello, I have a constant of type application and I need to retrieve all of the application groups from it. Is there any way to achieve this?

Thank you!

    2 replies

    mathieud0001
    June 16, 2023

    Not possible AFAIK.

    This plugin retrieves application objects but not the groups.

    [View:https://community.appian.com/b/appmarket/posts/get-application-s-content-objects]

    June 16, 2023

    If all the groups in app are using same prefix then only working solution I can think of, lil complex though, is to use getallgroupsnames() function available in People Functions plugin and create a utility rule like below:

    a!forEach(
      getallgroupsnames( - 1, 1),
      if(
        like(fv!item, ri!appPrefix & "*"),
        fv!item,
        {}
      )
    )