Hi Michelle,
The queue topic and the topic group do not change after the request is submitted, you don't need the IF and ISBLANK for either of them. The following should work:
Queue Topic Name: {queueTopic}.{name}
Queue Topic Group Name: {queueTopic}.{parentTopicGroup}.{name}
Best,
Surya