I am working on sharepoint server 2013 enterprise. and inside sharepoint designer 2013 & workflow 2010, i am trying to implement the following senario:-
I got a list workflow that get fired when an item is created.
I want to check if the user who created the item (which is the same as
WorkflowContext:current User
) belong to a sharepoint security group, If so to set a site column named Team to be equal = CMand if the user does not belong to set the Team= IT.
I thought that the above will might work in a way or another but it did not. so can anyone adivce on this please?
i also tried using "created by" as follow, but did not work either:-