Thursday, February 22, 2024

How to get a user group from a workflow work item

 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