How to get the response from the "Add Attachment Activity"
I am working through a flow that requires me to add and attachment then send to another service the reference to the attachment. I can see in fiddler/dev-tools the response and that it returns JSON that look like:
- {addAttachmentResult: {objectId: 26, success: true}}
- addAttachmentResult: {objectId: 26, success: true}
- objectId: 26
- success: true
But when I try to parse actual result from the activity it comes back as:
- [object Object]
-
If you load your viewer with an extra parameter in the URL ( e.g. https://apps.geocortex.com/workflow/designer/sandbox/index.html?debug=true ), you can inspect both input and output parameter of all activities in the browser's console (F12).
I haven't tried, but I'd expect it to be =$addAttachment1.result.success and =$addAttachment1.result.objectId
Alternatively, the Log activity should also show all properties of it's input (=$addAttachment1.result) in the browser's console.
1
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
1 Kommentar