Workflow not working with related field in condition

We have created one workflow on custom module called “group_leads” which stores records just like leads. We have added another custom module called “group” and used its id as related field in “group_leads”.

Our workflow condition is
group -> Id-> equalsto ->group_id_c

here group_id_c is related field in “group_leads” module.

Please assist us, It is main stuff we need working and we have put many effeorts on it.