If you have many processes (e.g. templates) you may want to have them all appear in one long list.
In the Process Selection dialog you may only want to see processes that participate in certain groups.
You can achieve this by putting the following code under a button:
Private Sub cmdOpenGroup1andGroup2()
On Error GoTo HandleError
accessmailmerge.StartMailMergeProcessSelection "Group1;Group2"
HandleExit:
Exit Sub
HandleError:
ErrorHandle Err, , , "cmdOpenGroup1andGroup2", mcstrModule
Resume HandleExit
End Sub
This will open the Process Selection dialog with only processes that belong to group1 and/or group2.
Groups are assigned to processes in the Process Designer. A process can participate in multiple groups. For details consult the Process Designer help.