Please check the "Advanced" check box. It'll display the script block at the botton where you need to write the below script.

answer = gs.getUser().isMemberOf('<Group name>');

 

JSiva_0-1743590032350.png