Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Stream Selector Condition

Have one of the condition where if my status code = 300 OR status code = 350 , they will run the same function. Hence i construct my stream selector condition as belows. Example : ${record:value('/statusId')== 300} || ${record:value('/statusId')== 350} ---> Function A default ----> Function B

I tried run the pipeline followed the configuration, even my '\statusId\ is 300 , but the data will flow to function B.

I tried the symbol like || , or , | , comma but all are pointing to Function B.

If i remove of the status like , only put ${record:value('/statusId')== 300} , the data will flow to Function A.

Is there any symbol or way for me to put a OR condition in the condition text? Or only one condition allow in one field?

Stream Selector Condition

Have one of the condition where if my status code = 300 OR status code = 350 , they will run the same function. Hence i construct my stream selector condition as belows. Example : ${record:value('/statusId')== 300} || ${record:value('/statusId')== 350} ---> Function A A

default ----> Function B

I tried run the pipeline followed the configuration, even my '\statusId\ is 300 , but the data will flow to function B.

I tried the symbol like || , or , | , comma but all are pointing to Function B.

If i remove of the status like , only put ${record:value('/statusId')== 300} , the data will flow to Function A.

Is there any symbol or way for me to put a OR condition in the condition text? Or only one condition allow in one field?

Stream Selector Condition

Have one of the condition where if my status code = 300 OR status code = 350 , they will run the same function. Hence i construct my stream selector condition as belows. Example : ${record:value('/statusId')== 300} || ${record:value('/statusId')== 350} ---> Function A

default ----> Function B

I tried run the pipeline followed the configuration, even my '\statusId\ is 300 , but the data will flow to function B.

I tried the symbol like || , or , | , comma but all are pointing to Function B.

If i remove of the status like , only put ${record:value('/statusId')== 300} , the data will flow to Function A.

Is there any symbol or way for me to put a OR condition in the condition text? Or only one condition allow in one field?

Boolean operator in Stream Selector Conditioncondition always evaluates to false

Have one of the condition where if my status code = 300 OR status code = 350 , they will run the same function. Hence i construct my stream selector condition as belows. Example : :

${record:value('/statusId')== 300} || ${record:value('/statusId')== 350} ---> Function A

A default ----> Function B

B

I tried run the pipeline followed the configuration, even my '\statusId\ is 300 , but the data will flow to function B.

I tried the symbol like || , or , | , comma but all are pointing to Function B.

If i remove of the status like , only put ${record:value('/statusId')== 300} , the data will flow to Function A.

Is there any symbol or way for me to put a OR condition in the condition text? Or only one condition allow in one field?