RGM - Get specific group ID

RGM - Get specific group ID

Hi all.

Is there any way to set int variable which depends of the selected recipe group? I mean, if there are 3 different recipe groups 1-Recipe machine A, 2-Recipe machine B, 3-Recipe machine C. When i select let say Recipe machine C, set variable to 3.

BR,
MK