Step is being triggered twice

For Adiyogi visit journey, pls see in the pic below that the initial response configured in Init and the next steps are coming twice:

Log also shows journey and step name being triggered twice:

11 minutes ago [9464343977691082761093289667_MZDnv_rgq_AKZh4LQYGvB][debug] Executed prediction with Intent [registeradiyogivisit]
11 minutes ago {“event”:“user-message”,“bot_id”:“x1613400943626”,“message”:“visit”,“messageType”:“message”,“step”:“showoptions”,“journey”:“virtualguidewith-3-options”,“prediction”:{“core”:false,“intents”:{“registeradiyogivisit”:1},“trained_intent_version”:69,“sentiment”:“neutral”,“small_talk_model”:{},“text”:“visit”,“language_detected”:“en”,“parser”:{“noun_chunks”:[],“lemmas”:[“visit”],“sentences”:[“visit”],“tokens”:[{“text”:“visit”,“pos”:“VERB”,“lemma”:“visit”}],“entities”:[],“other_keywords”:[{“text”:“visit”,“pos”:“VERB”,“lemma”:“visit”}],“parsed_tree”:[{“head_pos”:100,“dep”:“ROOT”,“text”:“visit”,“pos”:“VERB”,“head_text”:“visit”,“children”:[]}],“lemma_list”:[{“lemma”:“visit”,“pos”:“VERB”,“text”:“visit”}]},“sentiment_confidence”:{“neg”:0,“neu”:1,“pos”:0,“compound”:0},“confidence”:1,“global_entities”:[],“entities”:{},“synonym_detected”:false,“domain_model”:{},“intent”:“registeradiyogivisit”,“global_model”:{},“response”:{},“feature_type”:“xlm_multilingual”},“sessionId”:“60bb58b0aac31300013a89c1”,“f_t”:“2021-06-05T11:06:19.706Z”,“f_s”:“executor”,“f_l”:“events”}
11 minutes ago [9464343977691082761093289667_MZDnv_rgq_AKZh4LQYGvB][debug] Switching to Journey [registeradiyogivisit]
11 minutes ago [9464343977691082761093289667_MZDnv_rgq_AKZh4LQYGvB][debug] Fetching Journey Details for [registerAdiyogiVisit]
11 minutes ago [9464343977691082761093289667_MZDnv_rgq_AKZh4LQYGvB][debug] Executing Init Function [registerAdiyogiInit]
11 minutes ago [9464343977691082761093289667_MZDnv_rgq_AKZh4LQYGvB][debug] Executing Function - registerAdiyogiInit
11 minutes ago [9464343977691082761093289667_MZDnv_rgq_AKZh4LQYGvB][info] Function Type V1
11 minutes ago {}
11 minutes ago Entities detected {}
11 minutes ago [9464343977691082761093289667_MZDnv_rgq_AKZh4LQYGvB][debug] Executed prediction with Intent [registeradiyogivisit]
11 minutes ago {“event”:“user-message”,“bot_id”:“x1613400943626”,“message”:“visit”,“messageType”:“message”,“step”:“showoptions”,“journey”:“virtualguidewith-3-options”,“prediction”:{“core”:false,“intents”:{“registeradiyogivisit”:1},“trained_intent_version”:69,“sentiment”:“neutral”,“small_talk_model”:{},“text”:“visit”,“language_detected”:“en”,“parser”:{“noun_chunks”:[],“lemmas”:[“visit”],“sentences”:[“visit”],“tokens”:[{“text”:“visit”,“pos”:“VERB”,“lemma”:“visit”}],“entities”:[],“other_keywords”:[{“text”:“visit”,“pos”:“VERB”,“lemma”:“visit”}],“parsed_tree”:[{“head_pos”:100,“dep”:“ROOT”,“text”:“visit”,“pos”:“VERB”,“head_text”:“visit”,“children”:[]}],“lemma_list”:[{“lemma”:“visit”,“pos”:“VERB”,“text”:“visit”}]},“sentiment_confidence”:{“neg”:0,“neu”:1,“pos”:0,“compound”:0},“confidence”:1,“global_entities”:[],“entities”:{},“synonym_detected”:false,“domain_model”:{},“intent”:“registeradiyogivisit”,“global_model”:{},“response”:{},“feature_type”:“xlm_multilingual”},“sessionId”:“60bb58b0aac31300013a89c1”,“f_t”:“2021-06-05T11:06:19.722Z”,“f_s”:“executor”,“f_l”:“events”}
11 minutes ago [9464343977691082761093289667_MZDnv_rgq_AKZh4LQYGvB][debug] Finding Next Step to Execute
11 minutes ago [9464343977691082761093289667_MZDnv_rgq_AKZh4LQYGvB][debug] Executing Step[name]
11 minutes ago [9464343977691082761093289667_MZDnv_rgq_AKZh4LQYGvB][debug] Switching to Journey [registeradiyogivisit]
11 minutes ago {“bot_id”:“x1613400943626”,“functionName”:“analytics.incrementV2”,“sender”:“9464343977691082761093289667”,“limit”:20,“count”:20,“f_t”:“2021-06-05T11:06:19.730Z”,“f_s”:“executor”,“f_l”:“rate-limit”}
11 minutes ago [9464343977691082761093289667_MZDnv_rgq_AKZh4LQYGvB][debug] Executing prompts V1 for step [name] journey [registeradiyogivisit]
11 minutes ago [9464343977691082761093289667_MZDnv_rgq_AKZh4LQYGvB][debug] Executing Response 1 of 1
11 minutes ago [9464343977691082761093289667_MZDnv_rgq_AKZh4LQYGvB][debug] Executing Message Type [func]
11 minutes ago {}
11 minutes ago [9464343977691082761093289667_MZDnv_rgq_AKZh4LQYGvB][debug] Fetching Journey Details for [registerAdiyogiVisit]
11 minutes ago [9464343977691082761093289667_MZDnv_rgq_AKZh4LQYGvB][debug] Executing Init Function [registerAdiyogiInit]
11 minutes ago [9464343977691082761093289667_MZDnv_rgq_AKZh4LQYGvB][debug] Executing Function - registerAdiyogiInit
11 minutes ago [9464343977691082761093289667_MZDnv_rgq_AKZh4LQYGvB][info] Function Type V1
11 minutes ago {}
11 minutes ago [9464343977691082761093289667_MZDnv_rgq_AKZh4LQYGvB][debug] Finding Next Step to Execute
11 minutes ago [9464343977691082761093289667_MZDnv_rgq_AKZh4LQYGvB][debug] Executing Step[name]
11 minutes ago [9464343977691082761093289667_MZDnv_rgq_AKZh4LQYGvB][debug] Executing prompts V1 for step [name] journey [registeradiyogivisit]
11 minutes ago [9464343977691082761093289667_MZDnv_rgq_AKZh4LQYGvB][debug] Executing Response 1 of 1
11 minutes ago [9464343977691082761093289667_MZDnv_rgq_AKZh4LQYGvB][debug] Executing Message Type [func]
11 minutes ago {}
11 minutes ago [9464343977691082761093289667_MZDnv_rgq_AKZh4LQYGvB][info] Finished Executution for Async sources
11 minutes ago [9464343977691082761093289667_MZDnv_rgq_AKZh4LQYGvB][info] Finished Executution for Async sources

1 Like

Hi @Jaya_Banbah , the step was triggered twice, since there was two app.start in main.

I have commented the other one.

You could also use the feature “text” to send a message to user.

Thanks

2 Likes

Thank you for the help.That caused a lot of confusion :sweat_smile:

1 Like