<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: InvokeScriptedProcessor - Can't get sensitive context parameter value from sensitive properties in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/InvokeScriptedProcessor-Can-t-get-sensitive-context/m-p/373185#M241516</link>
    <description>&lt;P&gt;Should look more like this:&lt;/P&gt;&lt;P&gt;context.getProperty(externalRequestTokenDescriptor).evaluateAttributeExpressions().getValue()&lt;/P&gt;</description>
    <pubDate>Sat, 24 Jun 2023 23:56:43 GMT</pubDate>
    <dc:creator>joseomjr</dc:creator>
    <dc:date>2023-06-24T23:56:43Z</dc:date>
    <item>
      <title>InvokeScriptedProcessor - Can't get sensitive context parameter value from sensitive properties</title>
      <link>https://community.cloudera.com/t5/Support-Questions/InvokeScriptedProcessor-Can-t-get-sensitive-context/m-p/359558#M238144</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a issue on Nifi 1.15.3 InvokeScriptedProcessor (Groovy), I set a custom property in sensitive in my processor, put for value a context parameter which is sensitive too, but when i'm trying to context.getProperty, it return the expression #{blahblah} instead of the value.&lt;BR /&gt;This problem is "new", the flow was working, and one day, the token from sensitive value was not evaluated anymore...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My property declaration :&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;def&lt;/SPAN&gt; &lt;SPAN&gt;externalRequestTokenDescriptor&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;new&lt;/SPAN&gt; &lt;SPAN&gt;PropertyDescriptor.Builder&lt;/SPAN&gt;&lt;SPAN&gt;().name(&lt;/SPAN&gt;&lt;SPAN&gt;"External request token"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .description(&lt;/SPAN&gt;&lt;SPAN&gt;"External request token"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .required(&lt;/SPAN&gt;&lt;SPAN&gt;true&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .sensitive(&lt;/SPAN&gt;&lt;SPAN&gt;true&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .addValidator(&lt;/SPAN&gt;&lt;SPAN&gt;Validator&lt;/SPAN&gt;&lt;SPAN&gt;.VALID)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .expressionLanguageSupported(&lt;/SPAN&gt;&lt;SPAN&gt;true&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .build();&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Context param setup :&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NRU_0-1671095101551.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/36460i6387F63931166CAD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NRU_0-1671095101551.png" alt="NRU_0-1671095101551.png" /&gt;&lt;/span&gt;&lt;P&gt;&lt;BR /&gt;Sensitive property setup :&amp;nbsp;&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NRU_1-1671095166459.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/36461iA0C2793A8272454C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NRU_1-1671095166459.png" alt="NRU_1-1671095166459.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NRU_2-1671095194794.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/36462i891EBA23A980E77E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NRU_2-1671095194794.png" alt="NRU_2-1671095194794.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How i get the property :&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;context.getProperty(&lt;/SPAN&gt;&lt;SPAN&gt;"External request token"&lt;/SPAN&gt;&lt;SPAN&gt;).getValue();&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;(Add .evaluateAttributeExpressions(flowFile) do nothing)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;And when i want to use (or put in attribute for debug only) the value, it's not "Bonjour", but #{env.genm006.api.externalRequestToken}, not evaluated.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NRU_3-1671095369423.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/36463i2E25D209611AA4FB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NRU_3-1671095369423.png" alt="NRU_3-1671095369423.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's not the first time I have trouble with sensitive property (It block reboot of Nifi 1.12 for example) but right now I'm stuck...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks by advance&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 15 Dec 2022 10:19:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/InvokeScriptedProcessor-Can-t-get-sensitive-context/m-p/359558#M238144</guid>
      <dc:creator>NRU</dc:creator>
      <dc:date>2022-12-15T10:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: InvokeScriptedProcessor - Can't get sensitive context parameter value from sensitive properties</title>
      <link>https://community.cloudera.com/t5/Support-Questions/InvokeScriptedProcessor-Can-t-get-sensitive-context/m-p/373185#M241516</link>
      <description>&lt;P&gt;Should look more like this:&lt;/P&gt;&lt;P&gt;context.getProperty(externalRequestTokenDescriptor).evaluateAttributeExpressions().getValue()&lt;/P&gt;</description>
      <pubDate>Sat, 24 Jun 2023 23:56:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/InvokeScriptedProcessor-Can-t-get-sensitive-context/m-p/373185#M241516</guid>
      <dc:creator>joseomjr</dc:creator>
      <dc:date>2023-06-24T23:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: InvokeScriptedProcessor - Can't get sensitive context parameter value from sensitive properties</title>
      <link>https://community.cloudera.com/t5/Support-Questions/InvokeScriptedProcessor-Can-t-get-sensitive-context/m-p/412802#M253689</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I also had the same problem I got it to working temporarily with something like this ${literal('#'):append('{blahblah}'):evaluateELString()} however it wont be supported from 1.19 onwards Refer:&amp;nbsp;&lt;/SPAN&gt;&lt;A class="c-link" href="https://community.cloudera.com/t5/Support-Questions/Dynamically-references-parameters-from-parameter-context/m-p/375008" target="_blank" rel="noopener noreferrer"&gt;https://community.cloudera.com/t5/Support-Questions/Dynamically-references-parameters-from-parameter-context/m-p/375008&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Oct 2025 19:54:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/InvokeScriptedProcessor-Can-t-get-sensitive-context/m-p/412802#M253689</guid>
      <dc:creator>akuser</dc:creator>
      <dc:date>2025-10-31T19:54:09Z</dc:date>
    </item>
  </channel>
</rss>

