PF

 3 Replies
 0 Subscribed to this topic
 27 Subscribed to this forum
Sort:
Author
Messages
TJ Mann
Veteran Member Send Private Message
Posts: 70
Veteran Member
do you know if we can run PF via shell script ? if yes, can you put syntax here. thanks.
Woozy
Veteran Member Send Private Message
Posts: 709
Veteran Member
Hi TJ Mann,

What exactly are you trying to accomplish by putting PF in a shell script?
Kelly Meade
J. R. Simplot Company
Boise, ID
TJ Mann
Veteran Member Send Private Message
Posts: 70
Veteran Member
i was thinking, write shell script:

if status_code=1, kick off $LAWDIR/bpm/pfrepository/flowABC.xml

notice, won't work this way. my next step: write prog in cobol, and jqsubmit
Woozy
Veteran Member Send Private Message
Posts: 709
Veteran Member
Gotcha.

If you are using Pflow "Classic" (i.e. LSF Pflow rather than IPA/Landmark Pflow) then the thing to use is the FileClient utility to trigger a flow from within your script. FileClient requires an input file, but the file can be empty if your flow doesn't require input data.

If you are using IPA then it is considerably more difficult, but still possible in other ways.

Good Luck!
Kelly Meade
J. R. Simplot Company
Boise, ID