on 04-16-2010 10:14 AM
Hi
i am using sync send step to select data from JDBC.
if i execute the query..when no data i available in the table..wil it send empty response..??
if so i have to check whether the reponse message is empty or not..if not empty proceed further or stop the process..how can i check
Thanks
Hi Raj
i need to do using BPM..
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Murali,
Do you want to use BPM or without BPM?
raj.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Abhishek
this count should happen before Transformation step and after sync send step..
Syncsend>Count number of rows>transformation
so before entering into the mapping it self we need to decide whether the message should enter in to the mapping or not based on the number of rows.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Option1: Mapping for Response in Interface Determination
Or
Option2: Mapping in Transformation Step after SYNC Send and then the message goes into the actual (required) mapping program....just a bit of change in design....i would prefer option1
If in BPM --> Sync_Send --> Transformation(get_count) --> Switch(to check count) and the inside Switch the mapping.
Regards,
Abhishek.
Hi
is there any way to count number of rows that we have selected from JDBC
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Assume the below is the BPM response message,
resultset
row 0...inbounded
name 0..1
empid 0..1
salary 0..1
after getting above response message to BPM check whether name ( may be primary key in table which is not null) is null or not. if it is not null then your message having response from table otherwise you got empty response into BPM. you can check this condition in BPM switch step
thanks & Regards,
madhu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.