I have create a SharePoint Designer Workflow and the steps for the workflow are as follows;
Upload document and enter metadata. The metadata is checkboxes on the possible groups that this document needs to go through for approval. So you would upload your document and check the groups that need to approve the doc.
SharePoint 2010 Workflow
In the workflow I start by having multiple if statements( if group 1 is checked create a variable with the email for the distribution list for the group)
At the end of the if statements I have one more variable that is a string of the emails. example:group1@domain.com; group2@domain.com; group4@domain.com; group5@domain.com;
The emails and tasks get created as designed but when the user goes to complete the task it does not think it is assigned to them. I believe the issue is because it is a distribution group and not a SP group or security group. Can anyone confirm that and do you have an alternative method for the same end result?
NOTE: I can not create a approval task for each group as the workflow errors because of the number of bytes that the workflow has once I reach 6 approval tasks. If I use a sp group or security group then I do not know how to dynamically assign them based on the check boxes.