Create a BPM when the Print Button is pushed


(Andrew Koemm) #1

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??


(Jose C Gomez) #2

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

(Andrew Koemm) #3

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

(Jose C Gomez) #4

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

(Andrew Koemm) #5

have you done something like this before?

(Jose C Gomez) #6

Yes many times

(Andrew Koemm) #7

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

(Jose C Gomez) #8

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

(Andrew Koemm) #9

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

(Jose C Gomez) #10

What do you mean an exception as code?

(Andrew Koemm) #11

I am talking BPM terms. Raising an Exception.

(Jose C Gomez) #12

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.

(Brandon Anderson) #13

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

(Mark Wonsil) #14

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…

(Andrew Koemm) #15

You are right!

I give that a try on the promise dates.