Author |
Message
|
meena05 |
Posted: Tue Mar 29, 2016 7:25 am Post subject: ESQL Propogate issue |
|
|
Apprentice
Joined: 26 Feb 2016 Posts: 39
|
Hi,
I have my flow with below code
If (Data IS NULL) THEN
PROPAGATE TO TERMINAL 'out1' DELETE NONE;
ELSE
PROPAGATE TO TERMINAL 'out' DELETE NONE;
END IF;
In case of NULL data it is hitting the fault flow and sending out response but then coming back again to OUT terminal. Can you please advise. |
|
Back to top |
|
 |
paintpot |
Posted: Tue Mar 29, 2016 7:32 am Post subject: |
|
|
Centurion
Joined: 19 Sep 2005 Posts: 112 Location: UK
|
If I understand correctly, if the Data is null, you get a message out of 'out1' and then from 'out'?
Use RETURN FALSE; after you have propagated the messages that you need to. |
|
Back to top |
|
 |
meena05 |
Posted: Tue Mar 29, 2016 7:39 am Post subject: |
|
|
Apprentice
Joined: 26 Feb 2016 Posts: 39
|
Hi Thanks for your reply.
I need it either to out or to out1. Not to both.
Once it is from "out1" flow should stop and should go to "out".
I used RETURN FALSE but is threw deployment error
Review related error messages to determine why the administration request failed.
BIP2401E: (.Compute.CopyEntireMessage, 41.13) : Syntax error : expected '' but found 'keyword False'. |
|
Back to top |
|
 |
meena05 |
Posted: Tue Mar 29, 2016 7:41 am Post subject: |
|
|
Apprentice
Joined: 26 Feb 2016 Posts: 39
|
Sorry Corrected message
I need it either to out or to out1. Not to both.
Once it is from "out1" flow should stop and should [u]not go to "out".
I used RETURN FALSE but is threw deployment error
Review related error messages to determine why the administration request failed.
BIP2401E: (.Compute.CopyEntireMessage, 41.13) : Syntax error : expected '' but found 'keyword False'.[/u] |
|
Back to top |
|
 |
paintpot |
Posted: Tue Mar 29, 2016 7:59 am Post subject: |
|
|
Centurion
Joined: 19 Sep 2005 Posts: 112 Location: UK
|
Yep, I get the requirement.
Separate line of code
After your IF / ELSE |
|
Back to top |
|
 |
ruiduarte22 |
Posted: Fri Apr 01, 2016 8:06 am Post subject: |
|
|
Newbie
Joined: 01 Apr 2016 Posts: 7
|
@meena05 how was your code when you get the error "BIP2401E: (.Compute.CopyEntireMessage, 41.13) : Syntax error : expected '' but found 'keyword False'.[/u]" |
|
Back to top |
|
 |
|