Collect

The Collect action retrieves documents from a repository. For each document that is collected, a FlowFile is routed to the "Collect Output" relationship of the connector group.

Type: asynchronous

Parameter Description Required
ConnectorGroup

The name of the connector group to send the request to. This must match the name you specified when you configured the ConnectorGroupRouter processor in your dataflow.

Yes
Documents A comma-separated list of identifiers to specify the documents to collect. Yes

Example

http://host:10000/action=Collect
			  &ConnectorGroup=FileSystem
		          &Documents=...

Response

This is an asynchronous action, so you receive a token in response to the request. The following XML shows an example response to the QueueInfo action.

<autnresponse>
    <action>QUEUEINFO</action>
    <response>SUCCESS</response>
    <responsedata>
        <actions>
            <action>
                <status>Finished</status>
                <queued_time>2019-Sep-12 16:28:02</queued_time>
                <time_in_queue>0</time_in_queue>
                <process_start_time>2019-Sep-12 16:28:02</process_start_time>
                <time_processing>0</time_processing>
                <process_end_time>2019-Sep-12 16:28:03</process_end_time>
                <success>identifier1</success>
                <success>identifier2</success>
                <failed reason="File does not exist for collection '/opt/files/spreadsheet2.xlsx'">identifier3</failed>
                <token>...</token>
            </action>
        </actions>
    </responsedata>
</autnresponse>

_FT_HTML5_bannerTitle.htm