Skip to content
This repository has been archived by the owner on Oct 5, 2022. It is now read-only.

QueryMarkLogic does not process flowfiles #10

Open
ilseterra opened this issue Mar 4, 2019 · 4 comments
Open

QueryMarkLogic does not process flowfiles #10

ilseterra opened this issue Mar 4, 2019 · 4 comments

Comments

@ilseterra
Copy link

If I set up the QueryMarklogic processor to run on a schedule, if works fine and I have results in my success queue. However, I would like this process to be triggered with a flowfile so I do not have to wait until the next scheduled time and I can use the flowfile attributes in my query.
If I create a connection from a GenerateFlowFile processor to the QueryMarkLogic processor, the QueryMarkLogic processor stops working: it does not pick up any flowfiles from the queue, and no new flowfiles in the succes or failure queue. There are no errors. How can I fix this?

sjiang99 pushed a commit that referenced this issue Sep 3, 2019
Update Query Type options to be more user friendly
@dmcassel
Copy link
Contributor

Should this ticket still be open? Did @ryanjdew 's PR fix it?

@dmcassel
Copy link
Contributor

it looks to me like QueryMarkLogic makes use of the FlowFile, but doesn't consume it. So if there's a FlowFile, it will run a query for it, then run it again, etc.

@dunntrevor
Copy link

I can confirm this is still an issue in 1.8.0.3 as I just ran into it

@rjrudin
Copy link
Contributor

rjrudin commented Jan 26, 2021

I am almost certain this is fixed by marklogic/nifi#91 , as there was a bug in QueryML/DeleteML where the incoming FF was not being assigned a destination relationship.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants