Below code snippet to get the user group for a workflow work item (if user group used for work item assignment)
WorkflowStepTable stepTable;
str userGroup;
select stepTable where stepTable.ElementId == WorkflowworkItemTable(buffer).ElementId;
userGroup = WorkflowConfigPersonPicker::newAssignmentTable(stepTable.workflowAssignmentTable()).parmParticipantTokenValue();
No comments:
Post a Comment