Workflow Notification
I'm trying to create a workflow token on the UCM that will allow multiple users to approve a document, but only send an email notification to one of them. Is anyone familiar how this would be done using idoc script? This is what I'm currently trying:
<$wfSetIsNotifyingUsers(0)$>
<$if dDocAccount like "userGroup-1"$>
<$wfSetIsNotifyingUsers(1)$>
<$wfAddUser("subgroup-1", "alias")$>
<$elseif dDocAccount like "userGroup-2"$>
<$wfSetIsNotifyingUsers(1)$>
<$wfAddUser("subgroup-2", "alias")$>
<$else$>
<$endif$>
<$wfAddUser("all-Groups", "alias")$>
<$wfSetIsNotifyingUsers(0)$>
<$if dDocAccount like "userGroup-1"$>
<$wfSetIsNotifyingUsers(1)$>
<$wfAddUser("subgroup-1", "alias")$>
<$elseif dDocAccount like "userGroup-2"$>
<$wfSetIsNotifyingUsers(1)$>
<$wfAddUser("subgroup-2", "alias")$>
<$else$>
<$endif$>
<$wfAddUser("all-Groups", "alias")$>
0