Add Attachment activity not saving the attachment in the data table
Hi,
I’m developing a workflow for a mobile inspection app and encountering an issue where attachments aren’t saving to the inspection data table.
Users can complete the form and add a photo or file, and while the related record is created without errors, the attachment itself isn’t stored.
For context, the workflow uses a point layer for asset mapping and symbology updates upon inspection completion, and a data table for inspection records. Both are feature layers (web services) with attachment capabilities enabled.
The attachment should be attached to the object ID of that inspection record.


-
Have you looked at the browser's console (F12 > Console)? Make sure the console shows all messages, e.g. in Chrome or Edge, click on Default Levels and select Verbose
Now, add &debug=true to the viewer's URL, and run your workflow. The console will list all activities with their inputs and outputs. Is addAttachment actually executed, what are its inputs?
0
Vous devez vous connecter pour laisser un commentaire.
Commentaires
1 commentaire