on 01-31-2014 6:30 AM
Hi,
I have a BPM process model, wherein there are Intermediate Message Events in place which will get triggered from PI.
The PI sends Null Tags when there is no mandatory value to be passed and the BPM is unable to handle it despite the multiplicity of the data object in BPM Context is set to 0..1 .
I have also tried keeping null checks in BPM using nilled keyword , but it always throws a Null Pointer Exception at that process context attribute.
Please share your views on this.
Regards,
Arun
Hi Jun Wu,
The scenario is there is an Intermediate Message Event put in place in the bpm model which will be triggered from PI. There are nearly 10 values which will get passed from PI while triggering that Event, out of which three are mandatory and others optional.
It might happen that along with these three mandatory values, the PI may or may not pass the other seven.It works fine if it passes values for optional parameters, but if any value is not passed,the PI sends Null Tags due to which the process fails giving Null Pointer Exception at that particular BPM attribute.
Please suggest where to put the EJB function which can do that null check in BPM.
Thanks,
Arun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Manish,
I also tried handling it via an EJB function, but in case of Null Tags, that EJB Function was never getting called from BPM throwing Null Pointer Exception before calling it.
Hi Jun Wu,
Please suggest the usage of EJB function in this case, as you said you were able to resolve it.
Thanks,
Arun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Manish and Jun Wu,
Thanks for your inputs, but isSet() method is used to provide checks on the list parameter in BPM as stated in the SAP Documentation, it didn't work in this case.
Generic Functions - SAP Documentation
Regards,
Arun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Last time when i met that issue, i just turn to EJB
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.