cancel
Showing results for 
Search instead for 
Did you mean: 

Reg:Getting error text from a channel into a file or into a variable

Former Member
0 Kudos

Hi,

Can we get the error text such as u201Cjava.lang.NegativeArraySizeExceptionu201D from a communication channel into a variable or in the form of an xml message so that based on kind of error further processing can be done.

Regards,

Rahul

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

If the channel is getting error, you can throw an alert and you can use SXMS_ERROR_CAT variable to alert container which we will later use to compose the text of our alert message.

baskar_gopalakrishnan2
Active Contributor
0 Kudos

You can decide further processing based on the data available in the mapping. If the value comes in the source field for a list element as you expected do UDF and return error as string and decide the mapping as per business need. I talk about something like enhanced interface determination. That's one way. Reading the error message from the communication channel and decide does not seem to be better option.

Former Member
0 Kudos

Its not dependent on the input value.

We are executing a procedure and there are some validation inside it.

so we have to capture the error from the channel itslef.

Regards,

Rahul

baskar_gopalakrishnan2
Active Contributor
0 Kudos

>We are executing a procedure and there are some validation inside it.

That means are you doing validation or lookup against your data during mapping? I dont see any easy option to decide furhter message processing based on the comm chanel errors.