Quantcast
Channel: SCN : Discussion List - SAP Business Process Management
Viewing all articles
Browse latest Browse all 791

Mapping, Condition on Node

$
0
0

Hi Expert

I have a simple requirement, but not sure how to do it in BPM mapping.

Below is my Source and target Structures.

 

Source:                                                                                           Target:

sRecord                0..unbounded                                                         tRecord          0..unbounded

     value              0..1                                                                           Value          0..1

     deleteFlag       0..1

 

I can get multiple sRecords, with some having DeleteFlag = X and others with no DeleteFlag field.

I have to create target record only when delete flag field does not exist.

 

If DeleteFlag does not exist , then create tRecord.

 

Example input

 

sRecord

     value               1

sRecord

     value               2

     deleteFlag        X

sRecord

     value               3

     deleteFlag        X

sRecord

     value               4

sRecord

     value               5

 

In above case target record should be created only for value 1,4 and 5

 

 

Please advice


Viewing all articles
Browse latest Browse all 791

Trending Articles



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