Sumanth, The REL_ACTIVITY_RESTORED relationship is triggered by an incoming FlowFile after a period of inactivity. Those are the attributes that are copied. The REL_INACTIVE relationship is triggered by the absence of a FlowFile for some period, so there are no attributes to copy. Another implementation may be possible, but that is why it currently behaves as it does.
Brandon On Sun, Oct 18, 2015 at 1:46 AM Sumanth Chinthagunta <xmlk...@gmail.com> wrote: > Noticed "copy attributes" is implemented only for REL_ACTIVITY_RESTORED > case. > I needed original attributes for REL_INACTIVE case as well. > wonder why it is limited to activity restored relationship only. > > > > https://github.com/apache/nifi/blob/31fba6b3332978ca2f6a1d693f6053d719fb9daa/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/MonitorActivity.java#L208 > > -- > Thanks, > Sumanth >