Navigation Menu

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

Expression support in custom notifications #3372

Open
fgalan opened this issue Dec 10, 2018 · 0 comments
Open

Expression support in custom notifications #3372

fgalan opened this issue Dec 10, 2018 · 0 comments
Labels

Comments

@fgalan
Copy link
Member

fgalan commented Dec 10, 2018

Currently custom notifications support only a basic attribute value substitution mechanism, e.g:

The temperature is ${temperature}

It would be great to extend that mechanism to include aritmetic expressions, like the ones supported by IOTAgents, e.g,

The temperature is ${@temperature / 100 }

(IOTAgent expressions use ${@temperature} for plain substitution, which is different from the ${temperature} supported by CB. However, we could support both mechanism, to align with IOTA expression syntax and at the same time keep backward compatibility)

@fgalan fgalan added the backlog label Dec 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant