Question
Programmatically assign groups to roles in a workflow
I am trying to come up with some code to
A. Pull groups from org level
B. Assign those groups to an empty role (based on some workflow variable)
For example:
if workflowVar = A (string), add members from groupA to role
if workflowVar = B (string), add members from groupB to role
I was looking at some of the API on the javadocs, but not quite sure where to start. Any help would be very much appreciated!
Jacob

