Transition validator based on user in group

Daniel Upton September 5, 2017

I would like to know if its possible to set a workflow validator that if a user is eneterd into a sign user custom field that the user must belong to a specific group?

 

I have tried the follow simple script but it does not seem to work?

 

cfValues[‘Some Custom Field’] == isUserMemberOfGroup(‘Group Name’)

 

 

1 answer

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 5, 2017

Your script does not make a lot of sense.  Translated into English, it asks "is the value in (custom field) equal to (yes or no)?"

I suspect you need something more like

crowdService.isUserMemberOfGroup(cfValues['some Custom Field'], "Group Name")

Suggest an answer

Log in or Sign up to answer