on 08-14-2012 11:54 AM
I have IDOC to SOAP scenario. Idoc sent from ECC comes to PI and using a UDF a connection ID is fetched. When no connection Id is fetched a runtime exception is thrown using another UDF.
i dont want to create BPM to catch exception and wait.
Please suggest me what can be done to handle it?
> How to wait to re trigger in UDF. Please search online for Thread sleep codes. There are plenty of code examples available. The below is just sample.
You might want to use the Thread class with sleep method.
try{
Thread.sleep(1000); // This 1000 represents wait time in milliseconds.
}catch(java.lang.InterruptedException ex){
ex.printStackTrace();
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, you can restart failed messages with a scheduled background job in PI for program RSXMB_RESTART_MESSAGES.
Best regards, Martin
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 | |
23 | |
11 | |
9 | |
8 | |
5 | |
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.