Quantcast
Channel: SCN : All Content - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 7030

How to raise a exception if the incoming value for a source field is empty

$
0
0

Dear all,

 

I have a scenario where the source and target structures are as follows :

mm.jpg

The output for the above transformation logic is

result.jpg

The occurrence for field id in source and target is 1:1   Even if i don't provide the input value for id field,

system is not throwing any runtime exception.But if the field tag id is missing in incoming payload, then

system throws exception.

 

1) *** How can i raise a exception it the value for field id is empty

2) As the target structure occurrence for field id is 1:1  why system doesn't throw exception for null value

 

Regards

Koti Reddy


Viewing all articles
Browse latest Browse all 7030

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>