I have a scenario as given in the below workflow diagram using core service.

- First step is manual step author will create/edit content and finish the activity and it is assigned to everyone.
- In the second step, I want to do filter the users based on their groups.
-
In the third step, couple of scenario
a. If the user belongs to group “A” I want to list out all the next 3 available activities, User A can choose any one of these 3 activities.
b. If the user belongs to group “B”, I want to list out “Reviewer” and “Approver” activity as next activity, user b can select any one of these 2.
Can any one give some idea to achieve this?
You should turn your problem around. Yes, it is possible, but the amount of knowledge required will be a huge barrier for you to implement.
So, instead think about it differently.
Worst case scenario you’ll have repeated activities (not in name, but in function), and you saved yourself about 2 months of headaches trying to cope with the learning curve of doing CME extensions.