How to use a "isMemberOf" function in a Workflow
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2014 08:29 AM
Hi,
I wonder if someone has done that before. In a workflow for a request item, verify if the person that opened the request is member of two specify groups.
here is what I have so far, and error that I got in the Flow
//Verify if the user that opened the request is member of a certain groups
answer = ifScript();
function ifScript() {
if (current.opened_by.isMemberOf('GROUP1') || current.opened_by.isMemberOf('GROUP2')) {
return 'yes';
}
return 'no';
}
Labels:
- Labels:
-
Service Mapping
10 REPLIES 10
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2014 05:04 AM
Voilí !
