Hi Dojo,
I have an automation scripts I want to trigger from a button in a low code app, but the script keeps failing with the following error message: Encountered errors while executing script: Could not verify that parameter 671/18/2010/ was correctly set (50 retries).
When I trigger the script directly in cube with the exact same parameters, the script works just fine, so I would like to know how to make my script work from the low code app.
I added some logging and noticed that parameters that come from a feed were wrapped with [“”], even though this wrapping is not present when inspecting the parameter values in the UI.
Could it be that you've enabled the 'Check after SET' option in your Low Code app and not in Cube ?
I checked this and it was enabled in both cases. The actual problem was that parameters that come from a feed were wrapped with [“”]. This wrapping is not shown when inspecting the values in the UI.
On the [“”] wrapping, also see this question: https://community.dataminer.services/question/low-code-automation-script-parameters-values-wrapped-in/
Thanks for pointing this out Wouter, would you mind putting this as an answer instead of a comment so that I can mark this question as solved?
Sounds to me like somehow it is not executing with the same parameters/variables (which then makes the logic of the script fail, because apparently it tries to perform sets on parameters on an element and it fails). Maybe you can start by adding in your automation script some logging to be able to see if the app effectively calls it with the correct variables (which I presume is an element identifier)?