Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2019 07:07 AM
Scrip to make the new condition work for a Approval -Group activity:
for (var id in groups) {
var group = groups[id];
/*if(groups[id].approvalIDs['conditionally_approved'])
{
answer ='conditionally_approved';
}
else */
if(group.approved>1) {
answer ='approved';
}
else if(group.rejected>0) {
answer ='rejected';
}
}