Utter_message() and utter_templates not loading in rasa x mode

dispatcher.utter_message(escodename + msg) dispatcher.utter_template(‘utter_jobconntype’, tracker)

in above statements, only first one is loading in rasa x mode, but in rasa shell, both are loading and working fine .

how can fix this issue? i was used both utter_message and utter_template for loading domain utter_jobconntype. but they working only in rasa shell,not in rasa x.