cancel
Showing results for 
Search instead for 
Did you mean: 

Delete all the entries in target table when message mapping?

Former Member
0 Kudos

Hello Gurus,

I have a requirement in the project. When I do message mapping, I need to delete all the entries in the target table and then insert the new rows. From searching the old posts, I know it is possible without BPM. Can anyone please help me out? I really appreciated it.

Regards,

Bai

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

in msg mapping, in target JDBC structure have 2 table nodes......in first have action as DELETE and table as TABLE_NAME without any field conditions......in second have action as INSERT and table as TABLE_NAME and fields in access node......

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks for your replies. It worked fine. However there is another outstanding issue. WHen I send 2250 records in 1000 package size, there will be only 250 entries inserted in the JDBC table. That is because 2250 records have been splited up to three messages (1000/1000/250). Each message carries a DELETE action. If I send one message with 2250 records, there is no problems. Any idea how to resolve it? I tried to find a simple solution to resolve it. Thanks.

Former Member
0 Kudos