Hi
I am taking in xml messages from a channel and writing output messages to a database but if InputField1 isnt present I want to send a mail out using the UNIX mailx command.
Please see rule below, using the EXIT function it will not let me compile, see error below.
=IF( PRESENT(InputField1), IF(MEMBER(InputField2,{"IAM", "PD"}) ,F_MMCASHFLOW(In1,In2),NONE),EXIT( "mailx", " ", " "))
M113 ERROR:
Map: Map1 Output: Row:Out1
Argument #3 for function IF is invalid.
Does anyone have any ideas why or suggestions how to do this a better way?
I am taking in xml messages from a channel and writing output messages to a database but if InputField1 isnt present I want to send a mail out using the UNIX mailx command.
Please see rule below, using the EXIT function it will not let me compile, see error below.
=IF( PRESENT(InputField1), IF(MEMBER(InputField2,{"IAM", "PD"}) ,F_MMCASHFLOW(In1,In2),NONE),EXIT( "mailx", " ", " "))
M113 ERROR:
Map: Map1 Output: Row:Out1
Argument #3 for function IF is invalid.
Does anyone have any ideas why or suggestions how to do this a better way?