Hi Team,
We are developing a use case to change the profile picture. This is a pretty straightforward use case where we have a File data type slot and an API call to upload the photo to Workday.
Workday does have a couple of validations for an uploaded photo that we are trying to check via Moveworks:
1. Check whether the uploaded picture is an image (jpeg, png) - we are doing this by checking the file name in the validation of the slot.
2. Check the file size. (probably less than 1MB)
3. Check if the image is a square or a certain aspect ratio.
4. Can we validate the optical recognition - if the uploaded picture is a passport, a driver's license, etc.?
I asked the Agent Architect bot, but the recommendation it gave wasn't possible (a script action for the file size).