Not able to save the image in database using camera widget
Hi, I am using a camera widget to capture the real-time image and I want to save it in the database. I am able to capture the image but not able to save it in the database. I am using base64DecodeToFile java action (community commons library) to decode it and save it. Please confirm what should be the return type of a java action. Please find the domain model and microflow below: How can I store the image and what should be the return type of java action as it is by default taking boolean value? Do I have to write extra code to save the image using java action?
The Java Action will always return true. The decoded file will be in the $ProfileImage you created earlier after the action has completed.