cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to end Bpm process with error

hamsa_shree
Participant
0 Kudos

Hi,

I have a scenario where there is a search interface which calls create interface if search count is 0 or calls update interface if search is 1. There is a case where search returns count as 2, in this case the process should end in an error.

Can anyone please let me know how to end NetWeaver BPM process in error.

Thanks & Regards,

Hamsa

Accepted Solutions (0)

Answers (1)

Answers (1)

ravicarpenter
Active Participant
0 Kudos

Hi,

You can use the error end event.

hamsa_shree
Participant
0 Kudos

Hi Ravi,

When is use error end event getting the error "error end event must have an error trigger of the message trigger of the start event" during design phase.

Could you please let me know how to resolve this.

Thanks & Regards,

Hamsa

Snavi
Active Participant
0 Kudos

when you use error error end event , your service interface that you have defined in the start event trigger of BPM must have a fault message defined in it.

this way you can also capture the error returned from the error end event

hamsa_shree
Participant
0 Kudos

Hi Navdeep,

I have defined service interface with fault message but still getting the same error.

Could you please let me know how to resolve this issue.

Thanks & Regards,

Hamsa

Snavi
Active Participant
0 Kudos

Hi Hamsa,

few things to check

  • check if your service interface is synchronous
  • regenerate the service in nwds
  • check the start trigger, it must have the fault message with it (as in the screenshot)
  • assign the fault message trigger to the error end event