Hello, Processors are basically started, stopped, invalid, or disabled. There aren't really states like failed or completed because a processor doesn't complete, it just runs until it is told to stop. The closest thing to a failure is when an error occurs processing a particular flow file which is generally handled by logging an error which shows up in nifi-app.log and also is registered as a bulletin in the UI, and the processor most likely routes a flow file to a failure relationship.
Anything that you see in the UI can be accessed via the REST API, so the best approach is to use something like Chrome's Dev Tools and then perform whatever action you are interested in through the UI and look at the request/response in Dev Tools which will show you which API calls were made and what they return. Thanks, Bryan On Thu, Jun 21, 2018 at 3:09 AM, Neeraj Sharma <[email protected]> wrote: > Hi, > > I have designed a Data Flow Process using Nifi 1.6 locally. Now when I am > running the flow I want to know the status of the individual process instance > running. Is nifi maintain statuses like new , active , failed ,completed etc. > of process instance. I have tried to use nifi api ( > /nifi-api/flow/process-groups/{process group id}/status) to fetch the status > but it is only giving statuses of processors in the group . > Any help will be highly appreciable. > > Regards, > Neeraj Sharma > HCL Tech. Ltd. > ::DISCLAIMER:: > -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > The contents of this e-mail and any attachment(s) are confidential and > intended for the named recipient(s) only. E-mail transmission is not > guaranteed to be secure or error-free as information could be intercepted, > corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses > in transmission. The e mail and its contents (with or without referred > errors) shall therefore not attach any liability on the originator or HCL or > its affiliates. Views or opinions, if any, presented in this email are solely > those of the author and may not necessarily reflect the views or opinions of > HCL or its affiliates. Any form of reproduction, dissemination, copying, > disclosure, modification, distribution and / or publication of this message > without the prior written consent of authorized representative of HCL is > strictly prohibited. If you have received this email in error please delete > it and notify the sender immediately. Before opening any email and/or > attachments, please check them for viruses and other defects. > --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
