Skip to main content

Examples of a working Merge PDFs activity in Workflow?

Comments

6 comments

  • Berend Veldkamp

    If you use a webrequest activity, check if you have set the Expect parameter to blob. If not, the $webRequest.blob property will not be set.

     

    The Merge PDFs activity takes an array of byte[] (which is basically what the blob is), so you could for instance set it to:

    =[ $webRequest1.blob, $webRequest2.blob ]

     

     

    0
  • Marc Rempel

    @Berend Veldkamp? Thanks for the response, Berend. I have tried using the expect blob output and I still get failed workflows. Testing in the sandbox and the log files are not supper helpful.

     

    Here is a link to my test workflow very slimmed down.

     

    https://lib-gis1.library.oregonstate.edu/arcgis/home/item.html?id=20760651252441a99b34b28f00bcc3ed

     

    Any thoughts?

     

    0
  • Marc Rempel

    Ah, I think I got it working now. I was setting the workflow output to the mergedpdf result and that was throwing errors. When I created a download from the mergedpdf and set that as the workflow output, it worked.

    0
  • Jenny Oh

    I do not an Esri account to see the test workflow. If you don't mind exporting the workflow and attaching it here. It would help me. Thank you.

    0
  • Marc Rempel

    Hi, @Oh, Jenny? 

     

    I have attached the workflow, I assume it might still work...

     

    -- Marc

    0
  • Jenny Oh

    Thank you. Since Geocortex report includes only images , I am trying to get attachments from the Mapserver and merge it with the report. I called Send Web Request ( with attachment url) to return a blob , and then write File Bytes with the blob as input and merge with Geocortex report but somehow it is not working.

     

    0

Please sign in to leave a comment.