APP_FILE=$(curl -s -F file_name=@"file.txt" --user user@domain "http://example.com/upload" | jq ".common.files.file_name") &&
${vars.get("appfile").setValue($APP_FILE, false)}
However, I'm getting an error:
Failed to evaluate below expression:
mvel:vars.get("appfile").setValue($APP_FILE, false)
It seems like I'm not able to use .setValue() method in the shell script. Is there some other way how to set the variable?