Skip to content

onlyIfSessionKey + onlyIfValue does not execute the pipe eventhough the sessionkey matches the onlyIfvalue #10337

@MLenterman

Description

@MLenterman

Current Behavior

onlyIfSessionKey + onlyIfValue does not execute the pipe eventhough the sessionkey matches the onlyIfvalue

Expected Behavior

Should be executed when sessionkey is true. Should skip if any other value.

Environment Information

FF! 9.4.0: CRM-API 1.3.0
Running on e430391eb3b7 using Apache Tomcat/11.0.15
Java Version: OpenJDK Runtime Environment (21.0.9+10-LTS)
Heap size: 269.6 MiB, total JVM memory: 460.0 MiB
Free memory: 190.4 MiB, max memory: 3.8 GiB
Free disk space: 962.9 GiB, total disk space: 1006.9 GiB
Up since: 2026-01-22 17:34:55, timezone: Etc/UTC

Steps To Reproduce

No response

Configuration

<DataSonnetPipe
    name="CreateJsonApiRelationships"
    onlyIfSessionKey="resolveRelationships"
    onlyIfValue="true"
    preserveInput="true"
    styleSheetName="model/jsonnet/StageRelationships.jsonnet"
    storeResultInSessionKey="JsonApiRelationships">
    <Param name="jsonApiResourceIdentifier" sessionKey="JsonApiResourceIdentifier" />
    <Param name="process" sessionKey="process" />
    <Param name="opportunities" sessionKey="opportunities" />
</DataSonnetPipe>

Input

sessionkey 'resolveRelationships' = true

What database are you using?

No response

What browsers are you seeing the problem on?

No response

Relevant Log Output

Anything else?

No response

Metadata

Metadata

Assignees

Labels

Type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions