-
Notifications
You must be signed in to change notification settings - Fork 81
Description
Current Behavior
When a pipe is skipped via the 'onlyIfSessionKey' condition, the pipe input is stored in the 'storeResultInSessionKey'. I can't imagine a use-case where this behavior would be useful. Further down the line the sessionKey is passed to a translation pipe, which contains default behavior for when the sessionKey is empty.
With this behavior we would be forced to add some sort of pipe to check for that same condition that was used with 'onlyIfSessionKey' and override the sessionKey value to empty or some similar solution. Needing an extra pipe to check for that same condition defeats the purpose of using 'onlyIfSessionKey' feature to begin with.
It is extra confusing because Ladybug still shows skipped pipes as if they were executed anyways.
Expected Behavior
The sessionKey configured in 'storeResultInSessionKey' should not be created at all or at the very least be empty if the pipe is skipped.
Environment Information
FF! 9.4.0-20251213.042333: CRM-API 1.0.2
Running on dfc71a94a161 using Apache Tomcat/11.0.15
Java Version: OpenJDK Runtime Environment (21.0.9+10-LTS)
Heap size: 200.0 MiB, total JVM memory: 420.0 MiB
Free memory: 220.0 MiB, max memory: 3.8 GiB
Free disk space: 963.6 GiB, total disk space: 1006.9 GiB
Up since: 2025-12-15 12:58:36, timezone: Etc/UTC
Steps To Reproduce
No response
Configuration
<SenderPipe
name="Handler_Organizations_get-Sender"
preserveInput="true"
onlyIfSessionKey="resolveRelationships"
onlyIfValue="true"
storeResultInSessionKey="Organization">
<IbisLocalSender
name="Handler_Organizations_get-LocalSender"
javaListener="Handler_Organizations_get" />
<Param name="organizationId" jsonPathExpression="$.org_id" />
</SenderPipe>Input
No response
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