NiFi executes outside of the context of any given user. User 1 can schedule some components and User 2 can unschedule them assuming both users have permissions to all components in question. These components can be unscheduled whenever the user deems it appropriate. The UI reports various metrics so they will be able to understand the status at any given time (for instance, maybe once there are no flowfiles queued up anymore). Then the components can be unscheduled. If you're looking to automate this process, you'll need to detect the condition indicating the 'execution is finished' and then schedule the components through the REST API. The UI uses the REST API exclusively for data flow management. Your browser's Dev Tools will allow you to see all the requests in action.
Matt On Wed, Apr 5, 2017 at 6:44 AM, Vdsa <violet_...@persistent.co.in> wrote: > I wanted to know if a process group is running and another user want access > and execute same process group, will nifi allow him? or what is the process > of parallel execution of a process group for two users? > Can we stop a running process group after execution is finished ( how to > figure out that execution is finished?) > > > > -- > View this message in context: http://apache-nifi-developer- > list.39713.n7.nabble.com/Accessing-nifi-processgroup- > simutaneoulsy-by-multiple-users-tp15372.html > Sent from the Apache NiFi Developer List mailing list archive at > Nabble.com. >