wit icon indicating copy to clipboard operation
wit copied to clipboard

How do you indicate in the new Bot Engine that an entity is being removed from the context?

Open mgfcmartinez opened this issue 10 years ago • 3 comments

My logic relied on the bot not doing a particular action until a particular entity was removed from the context.

mgfcmartinez avatar Jul 05 '16 01:07 mgfcmartinez

In order to simplify the Stories UI, we've removed this feature. The recommended solution is to add a key my-entity-removed in the context on your side when your entity is removed (and use this one in your story).

It's not perfect, but we will probably add a more expressive way to depend on context in Stories soon (things like == value, <, boolean logic, etc.). Absence of a key will be covered by that.

ar7hur avatar Jul 05 '16 09:07 ar7hur

That's unfortunate. Thanks for the reply though.

mgfcmartinez avatar Jul 06 '16 16:07 mgfcmartinez

@ar7hur The slot filling example on the Recipes page uses logical operator to confirm the context-keys are set in the context. Is that supported yet?

kulpreet avatar Aug 30 '16 06:08 kulpreet