Group button

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Group button

Mark Bean
The Group button on the Operate Palette is perpetually grayed out. What
policy is required to allow its use? And, what is its purpose? I assume it
is to group multiple components together as a single selectable component
within the UI for doing such things as moving those elements as a single
unit.

Thanks,
Mark
Reply | Threaded
Open this post in threaded view
|

Re: Group button

Pierre Villard
Hi Mark,

That's correct. It is to make a process group of your current selection.
Don't forget to also select the relationships to be able to make a process
group. Basically, you should not have a selection with a relationship to an
un-selected element. To ease the selection you can press shift and draw a
rectangle on your canvas to make the selection.

Hope this helps,
Pierre

2017-06-16 16:47 GMT+02:00 Mark Bean <[hidden email]>:

> The Group button on the Operate Palette is perpetually grayed out. What
> policy is required to allow its use? And, what is its purpose? I assume it
> is to group multiple components together as a single selectable component
> within the UI for doing such things as moving those elements as a single
> unit.
>
> Thanks,
> Mark
>
Reply | Threaded
Open this post in threaded view
|

Re: Group button

Mark Bean
Ok, I discovered that is how it works correctly if and only if I am in a
sub-process group. The Group button remains grayed out on the root Process
Group. Has anyone else experienced this?

NiFi 1.2.0

On Fri, Jun 16, 2017 at 12:44 PM, Pierre Villard <
[hidden email]> wrote:

> Hi Mark,
>
> That's correct. It is to make a process group of your current selection.
> Don't forget to also select the relationships to be able to make a process
> group. Basically, you should not have a selection with a relationship to an
> un-selected element. To ease the selection you can press shift and draw a
> rectangle on your canvas to make the selection.
>
> Hope this helps,
> Pierre
>
> 2017-06-16 16:47 GMT+02:00 Mark Bean <[hidden email]>:
>
> > The Group button on the Operate Palette is perpetually grayed out. What
> > policy is required to allow its use? And, what is its purpose? I assume
> it
> > is to group multiple components together as a single selectable component
> > within the UI for doing such things as moving those elements as a single
> > unit.
> >
> > Thanks,
> > Mark
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: Group button

Pierre Villard
It's working fine on master, and I don't remember a JIRA about this but it
could be somehow linked to another one.

2017-06-16 19:26 GMT+02:00 Mark Bean <[hidden email]>:

> Ok, I discovered that is how it works correctly if and only if I am in a
> sub-process group. The Group button remains grayed out on the root Process
> Group. Has anyone else experienced this?
>
> NiFi 1.2.0
>
> On Fri, Jun 16, 2017 at 12:44 PM, Pierre Villard <
> [hidden email]> wrote:
>
> > Hi Mark,
> >
> > That's correct. It is to make a process group of your current selection.
> > Don't forget to also select the relationships to be able to make a
> process
> > group. Basically, you should not have a selection with a relationship to
> an
> > un-selected element. To ease the selection you can press shift and draw a
> > rectangle on your canvas to make the selection.
> >
> > Hope this helps,
> > Pierre
> >
> > 2017-06-16 16:47 GMT+02:00 Mark Bean <[hidden email]>:
> >
> > > The Group button on the Operate Palette is perpetually grayed out. What
> > > policy is required to allow its use? And, what is its purpose? I assume
> > it
> > > is to group multiple components together as a single selectable
> component
> > > within the UI for doing such things as moving those elements as a
> single
> > > unit.
> > >
> > > Thanks,
> > > Mark
> > >
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: Group button

Mark Bean
Ok, I figured out the real issue. I was selecting a subset of processors
and the connectors in between them. I considered this "self contained". The
Group button was grayed out. However, the "lead" processor had input
connectors from upstream processors which were not part of the selection -
and the "tail" processor had output connectors leading to downstream
processors which also not part of the selection. I thought this would be
fine. I thought the only restriction was "no connectors without either a
source or destination". Apparently, the actual restriction is "any
processors with input or output connectors must include those connectors"
(which will cascade up to the source/down to the destination of those
connectors as well.)

Is the described behavior what is intended?

Thanks,
Mark


On Fri, Jun 16, 2017 at 1:31 PM, Pierre Villard <[hidden email]
> wrote:

> It's working fine on master, and I don't remember a JIRA about this but it
> could be somehow linked to another one.
>
> 2017-06-16 19:26 GMT+02:00 Mark Bean <[hidden email]>:
>
> > Ok, I discovered that is how it works correctly if and only if I am in a
> > sub-process group. The Group button remains grayed out on the root
> Process
> > Group. Has anyone else experienced this?
> >
> > NiFi 1.2.0
> >
> > On Fri, Jun 16, 2017 at 12:44 PM, Pierre Villard <
> > [hidden email]> wrote:
> >
> > > Hi Mark,
> > >
> > > That's correct. It is to make a process group of your current
> selection.
> > > Don't forget to also select the relationships to be able to make a
> > process
> > > group. Basically, you should not have a selection with a relationship
> to
> > an
> > > un-selected element. To ease the selection you can press shift and
> draw a
> > > rectangle on your canvas to make the selection.
> > >
> > > Hope this helps,
> > > Pierre
> > >
> > > 2017-06-16 16:47 GMT+02:00 Mark Bean <[hidden email]>:
> > >
> > > > The Group button on the Operate Palette is perpetually grayed out.
> What
> > > > policy is required to allow its use? And, what is its purpose? I
> assume
> > > it
> > > > is to group multiple components together as a single selectable
> > component
> > > > within the UI for doing such things as moving those elements as a
> > single
> > > > unit.
> > > >
> > > > Thanks,
> > > > Mark
> > > >
> > >
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: Group button

Matt Gilman
Mark,

For grouping (which moves the selection into a new Process Group) the
requirement currently is that selection must be disconnected. If there were
any Connections to components outside the current selection, it would
require the introduction of input/output ports in the newly create Process
Group and new Connections to/from these ports. For these more complicated
scenarios, you'll need to manually disconnect the selection, Group the
components, add appropriate ports, and reconnect.

Thanks

Matt

On Fri, Jun 16, 2017 at 2:41 PM, Mark Bean <[hidden email]> wrote:

> Ok, I figured out the real issue. I was selecting a subset of processors
> and the connectors in between them. I considered this "self contained". The
> Group button was grayed out. However, the "lead" processor had input
> connectors from upstream processors which were not part of the selection -
> and the "tail" processor had output connectors leading to downstream
> processors which also not part of the selection. I thought this would be
> fine. I thought the only restriction was "no connectors without either a
> source or destination". Apparently, the actual restriction is "any
> processors with input or output connectors must include those connectors"
> (which will cascade up to the source/down to the destination of those
> connectors as well.)
>
> Is the described behavior what is intended?
>
> Thanks,
> Mark
>
>
> On Fri, Jun 16, 2017 at 1:31 PM, Pierre Villard <
> [hidden email]
> > wrote:
>
> > It's working fine on master, and I don't remember a JIRA about this but
> it
> > could be somehow linked to another one.
> >
> > 2017-06-16 19:26 GMT+02:00 Mark Bean <[hidden email]>:
> >
> > > Ok, I discovered that is how it works correctly if and only if I am in
> a
> > > sub-process group. The Group button remains grayed out on the root
> > Process
> > > Group. Has anyone else experienced this?
> > >
> > > NiFi 1.2.0
> > >
> > > On Fri, Jun 16, 2017 at 12:44 PM, Pierre Villard <
> > > [hidden email]> wrote:
> > >
> > > > Hi Mark,
> > > >
> > > > That's correct. It is to make a process group of your current
> > selection.
> > > > Don't forget to also select the relationships to be able to make a
> > > process
> > > > group. Basically, you should not have a selection with a relationship
> > to
> > > an
> > > > un-selected element. To ease the selection you can press shift and
> > draw a
> > > > rectangle on your canvas to make the selection.
> > > >
> > > > Hope this helps,
> > > > Pierre
> > > >
> > > > 2017-06-16 16:47 GMT+02:00 Mark Bean <[hidden email]>:
> > > >
> > > > > The Group button on the Operate Palette is perpetually grayed out.
> > What
> > > > > policy is required to allow its use? And, what is its purpose? I
> > assume
> > > > it
> > > > > is to group multiple components together as a single selectable
> > > component
> > > > > within the UI for doing such things as moving those elements as a
> > > single
> > > > > unit.
> > > > >
> > > > > Thanks,
> > > > > Mark
> > > > >
> > > >
> > >
> >
>