Hello,
I have made DB update service with $set. Update it self works, but when I try to add WHERE clause with JS it doesn't work. I have tried many variations. RETURN function in JS doesn't work correctly. How to do it right?
On screenshot you can see mapping with local storage variable. It's a final goal. Actually JS must be so: return '{"nname":"' + value + '"}';
But as I can see WHERE clause works only when I add clause as "Default value" parametr in service request. But not when I try to use JS RETURN operator.
Thank you for help!