Skip to main content
Skip table of contents

Run Search and Add Document

How it works

There are times when GlobalCapture needs to bring documents back into a capture flow from GlobalSearch. This sample works off of the search and email example, and brings a document back into capture.

  1. Get a search’s id by search name.

  2. Get the search’s details.

  3. Execute the search. This example passes no parameters. The first document’s ID and hash are set to the hash and id process fields.

  4. Retrieve the file and add it into the process.

  5. The document can now participate in any additional document related steps like email, other releases, etc.

    1. If you looped through the results adding all files from the result, the output would be a merged result of all documents in the set.

image-20241028-142658.png

Download the package

GlobalSearch_GetDocument.wfe

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.