Hi @VINODTV ,
I think you can try to have notification based trigger for Cassandra query.
To receive notification request (to trigger your flow) you can have a HandleHTTPRequest processor listening on particular port, and once request is received you can take that data (from http req body) and build your cassandra query based on the received data and execute it (May be using QueryCassandra processor).
From Jenkins or any other tool you can notify that above service (listener) by invoking the specific url with data which you want to pass for query.
Jenkins Job [Invoke http://<hostname>:<port>/<optionalURI> with data] --> Request received at Listener [HandleHTTPRequest] --> Prepare Query --> Execute Query.
Below curl command can be used to notify listener from Jenkins :
curl -d 'my input data for cassandra query' http://<hostname>:<port>/<optionalURI>
You can refer for more detail on HTTP Listener configurations https://community.cloudera.com/t5/Support-Questions/how-to-configure-listenerhttp-processor-in-NIFI/m-p/297344#M218652
Please ACCEPT the solution if it helps/resolves your problem.
Thanks
Mahendra