and more in a single search tool across platforms. Read the announcement here. |
04/05/2024 03:57 AM
Hi,
We have a requirement if users CP3 ='x' or 'a' in that case it should go for approval to a certain usergroup and if not then to a other user group.
can i directly use if else here if(users.cp3='a') then assign it to a specific group ?
04/05/2024 04:30 AM
You can use
user.customproperty3 !=null and (user.customproperty3== 'A' or user.customproperty3== 'X')
04/05/2024 06:17 AM
Yes i am using same in my if/else block. I am not getting if condition is true then how to redirect it to user group? do i need to use custombox ?
04/05/2024 06:29 AM
Share wf screenshot
04/05/2024 06:36 AM
04/09/2024 05:14 AM
@rushikeshvartak Can you please confirm if i am doing it wrong ? as i am still not able to figured it out.
04/09/2024 06:51 AM
Remove Groovy language from if else
04/05/2024 04:37 AM
based on custom assignmnet you can use custom query and if else block through pass other user group request if user group name static
select ugu.userkey from user_groups ug,users u,usergroup_users ugu where ugu.USER_GROUPKEY = ug.USERGROUPKEY
and u.userkey=ugu.userkey where u.customproperty3 in ('x','a') and ug.user_groupname=''