-
Notifications
You must be signed in to change notification settings - Fork 119
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
[enhancement]: add "object script path" to a block #1798
Comments
But |
You could use |
But in which case is a trigger (on the enabled state) useful for the current script? |
The script above generates a text from various DPs from different sources. On the one hand, the trigger directly on the script makes it easier to work on the script (make adjustments, restart script, texts are generated) and on the other hand, it also ensures that the texts are up-to-date when the JS instance or the entire system is restarted. This has worked quite well so far. |
Describe the solution you'd like
add the path of the current script to this block (first below "System"), like
javascript.0.scriptEnabled.example-script
Why? If the script (start, restart) itself is used as a trigger, you are more flexible with an automatically determined script path in case the script is renamed.
The text was updated successfully, but these errors were encountered: