How can I include this state to have {{groupname}} replaced by desired value?