Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
import org.joget.commons.util.*;
String userGroups = "#currentUser.groups.name#";
LogUtil.info("received groups for current user " , userGroups);
String[] userGroupsArray = userGroups.split(";");
String group2 = userGroupsArray[1];
return group2;
Maybe you can try a beanshell script to get the group you want. How to develop a Bean Shell Hash Variable
i currently try used #currentUser.groups.name# but when i used it is show all assign group for that user for example when i use console log the show is "namegroup1 , namegroup2". so is possible to get only 1 group name by index or something ?