LCA - How can I change the value of a variable in an LCA from an automation script?
Sebastiaan Dumoulein [SLC] [DevOps Enabler] Answered question 1 day ago
Hi Lucas,
This feature is expected to be available in the coming months. In the script, you’ll be able to expose output values, which can then be used to set a variable. For now, we’ll only support string variables, as that’s the only type the automation script can currently expose.
What specific use case do you have in mind for this?
Lucas Sanchez [DevOps Advocate] Posted new comment 19 hours ago

Hi Sebastiaan, string variables will work for the use cases I have in mind. One example is a script that receives three parameters from the low-code app. It will then run some code and should return a string, which we currently show in the console with engine.GenerateInformation. However, it would be better to pass this to a variable in the low-code app to display it in the UI. I understand we could use elements or the DOM for this, but it would be much easier and more efficient to use a simple string variable.