Unable to ExtractVariables for boolean type in Customer attributes

I am trying to retrieve a value in App custom attributes.

<ExtractVariables async="false" continueOnError="false" enabled="true" name="ExtractAppAttributes"> 
  <DisplayName>ExtractAppAttributes</DisplayName> 
  <XMLPayload stopPayloadProcessing="false"> 
    <Namespaces/>


    <Variable name="enabled" type="boolean"> 
      <XPath>/App/Attributes/Attribute[Name='enable']/Value</XPath> 
    </Variable> 
  </XMLPayload> 
  <Source clearPayload="false">AccessEntity.ae-Access-App-Info</Source> 
  <VariablePrefix>app</VariablePrefix> 
</ExtractVariables>

I managed to get the value as true. But if I change the value to false, it didn't update here.

But If I use a type string, it always match accordingly.

How to let boolean work as well?

Thanks

0 1 117
1 REPLY 1

Maybe you want the text() node?

<XPath>/App/Attributes/Attribute[Name='enable']/Value/text()</XPath>