Create a BPM when the Print Button is pushed

I am trying to create a BPM when the print button is pushed. I cannot find the right business object and using the trace-log is very difficult in my opinion.

Any ides??

Thanks!!

Short Answer (you can’t)… Longer Answer… what’s the end goal we may find a works around.
Print Process doesn’t have BPM Injection points

Prevent printing of a PO if its not approved. And also check for promise date in releases.

This may have to be a Client Side Customization on Tool Bar click event.

have you done something like this before?

Yes many times

Does it require writing actual code? We dont have access in our environment.

yes you’ll have to write code for the customization.

How would you write an exception as code? I am not too familiar.

What do you mean an exception as code?

I am talking BPM terms. Raising an Exception.

Right, this can’t be done in a BPM (at least not in any reasonable manner that I can think of) so you’ll have to customize the screen to prevent them from clicking the Print Button if whatever conditions aren’t met.

It’s just an if then statement, where if true, message box that says stop and if not, continue.

This is standard functionality here. We can’t print a PO until it is approved.

As for the Promise dates, you might be able to place conditional text on the PO itself saying “This PO is not valid without promise dates”. Just another thought…

1 Like

You are right!

I give that a try on the promise dates.