A Script that calls PREP_PROCESS_VAR to a VARA SEC SQLI with a bindpar (client) when launched via the REST API, the scripts remains in status "Generating" with the script in the Report.
You note that the very same script code, if pasted into a script works perfectly well.
When using a regular VARA SQLI the issue does not occur either.
Automation Engine 21.x and 24.x
Defect in the Automation Engine
Update to a fix version listed below or a newer version if available.
Fix version:
Component(s): Automation Engine
Will be fixed in Automation.Engine 21.0.11 - Planned release end July 2024
Will be fixed in Automation.Engine 24.1.0 - Planned release end June 2024
Defect ID: AE-35226
Public Description: A problem has been fixed where a script running with AE REST API Interface 'POST /{client_id}/scripts' with VARA.SEC_SQLI remained blocked in status 'Generating'.