Based on the SplitContent processor source code, it seems the 'Byte
Sequence' property does not support expression language. That property
would need to be changed to support expression language so you could set an
attribute. It looks like there is already a ticket that was submitted to
address this here <https://issues.apache.org/jira/browse/NIFI-1517>

On Fri, Oct 27, 2023 at 9:20 AM <[email protected]>
wrote:

>
> Hi!
> I'm trying to split a multi-part mime file into parts, based upon an
> identifier which is in the content of the file itself.
> I could use the identifier hard-coded in a SplitContent processor, but
> since the identifier changes per file, I need something more generic.
>
> I tried storing the identifier as an attribute and then use it in the
> SplitContent processor. No joy...
>
> Any suggestions would be highly appreciated...
>
> Kind regards,
>
> Robin Douglas
> Data Engineer
>
> ------------------------------------------------------------------------
> De Belastingdienst stelt e-mail niet open voor aanvragen, aangiften,
> bezwaarschriften, verzoeken, klachten, ingebrekestellingen en soortgelijke
> formele berichten.
> Dit bericht is uitsluitend bestemd voor de geadresseerde. Het bericht kan
> vertrouwelijke informatie bevatten waarvoor de fiscale geheimhoudingsplicht
> geldt. Als u dit bericht per abuis hebt ontvangen, wordt u verzocht het te
> verwijderen en de afzender te informeren.
>
> The Dutch Tax Administration does not accept filings, requests, appeals,
> complaints, notices of default or similar formal notices, sent by email.
> This message is solely intended for the addressee. It may contain
> information that is confidential and legally privileged. If you are not the
> intended recipient please delete this message and notify the sender.
>

Reply via email to