Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Realtime Condition/Action Update #28

Open
DJEDAINI opened this issue Nov 7, 2021 · 1 comment
Open

Realtime Condition/Action Update #28

DJEDAINI opened this issue Nov 7, 2021 · 1 comment

Comments

@DJEDAINI
Copy link

DJEDAINI commented Nov 7, 2021

When i tried to update the excel file actions column, i must restart the engine to get the result updated.

this is because the rootMap won't be created each time, if it's already create so the engine will not create it again and update the data , so this instruction should be deleted to update the rootMap after each checking time
if (rootMap[rootMapId] == null || rootMap[rootMapId] === 'undefined')

Screenshot 2021-11-07 at 14 43 16

@deostroll
Copy link
Contributor

Ah, yes. This is a known issue. We have solved it this way: we pass in a different rootMapId which will force it to create the tree.

(Also the id you pass as argument to execute_decision_table() api, is just a kind of name for the decision table; it can be any string).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants