include the name of the behaviour in our lists if for whatever reason one wants to have two analyzebehaviours running in the same bot
@@ -67,10 +67,10 @@ public class AnalyzeBehaviour extends BotBehaviour{
botContext = context.getBotContext();
String botName = context.getBotContextWrapper().getBotName();
- this.preconditionToProposalListMapName = botName + ":preconditionToProposalListMap";
- this.proposalToPreconditionListMapName = botName + ":proposalToPreconditionListMap";
- this.preconditionConversationStateMapName = botName + ":preconditionConversationStateMap";
- this.preconditionMetPending = botName + ":preconditionMetPending";
+ this.preconditionToProposalListMapName = botName + ":" + name + ":preconditionToProposalListMap";
+ this.proposalToPreconditionListMapName = botName + ":" + name + ":proposalToPreconditionListMap";
+ this.preconditionConversationStateMapName = botName + ":" + name + ":preconditionConversationStateMap";
+ this.preconditionMetPending = botName + ":" + name + ":preconditionMetPending";
}
@Override
