I have written a ECAM script that is being called on custom workflow steps will be added in /etc/workflow/models/dam/update asset (DAM Update Asset). Some Logic has been applied in ECMA script to enforce size, mime type of image etc. During image upload if criteria is not met, error message needed t...