BPM More Than One Record Error - Help Needed

,

@Banderson,

You get the solution! I had just used the set variable option in the code and called the widget. That snip of code is going in my notes.

Just wondering is there a list of code snippets somewhere that I can bookmark and refer back to? There seems to be very little information on custom coding bpm’s, at least for the basics.

Thanks one and all for the assistance! Likes all around!

A note about throwing exceptions from custom code: throwing an exception in a pre-processing method directive prevents the method from running, and Ice.BLException is treated specially in that the error message is shown to the user and returned through the REST API. This is not true with exceptions thrown in post-processing. At least as far as the REST API is concerned, exceptions in post go into a black hole. In other words, post is not transactional with the default behavior. Throwing an exception in post does not roll anything back.

1 Like