on 12-07-2015 11:41 AM
Hi Experts,
Facing one issue in response side, response has trigged from CRM to a other system.
Error is,
|
|
For perticular node we have used a below mapping and udf,
public void readJob(ResultList job_ref_number, ResultList pointOfDelivery, ResultList meterAccessInfo, ResultList scheduledDate, ResultList srvStatus, ResultList srvException, ResultList srvCancelled, ResultList earliestAppointmentTime, ResultList latestAppointmentTime, ResultList appointmentType, ResultList creationDate, ResultList appointmentNotes, ResultList meterReadingAgent, ResultList appointmentTimeSlot, Container container) throws StreamTransformationException{
int i=0;
String[] temp;
for(i=0;i<al.size();i++){
String data=al.get(i)+"";
temp = data.split("\t", -1);
job_ref_number.addValue(temp[0]);
job_ref_number.addContextChange();
pointOfDelivery.addValue(temp[1]);
pointOfDelivery.addContextChange();
accrording to UDF,as per "al.size()" the program will be exuquted.How works this kind of udf?From where exactly the inputs are put in UDF?
Thanks,
Arthita
Hi Arthita,
The error is on your message mapping, so could you check it by copying the payload and test it on yout message mapping, so you could determine exactly the issue.
Regards,
Jo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
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.