Focal Point
Which Special Register gives me the PFlow Name?

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/1381057331/m/4837027395

November 15, 2010, 02:41 PM
AK
Which Special Register gives me the PFlow Name?
Hi,

I would like to capture the Channel/listener name and the PFlow name so that I can use this information to send an email when an error occurs during PFlow processing.

SREG(name) provides the listener name but what should I use to retrieve the Pflow? I am trying to avoid hard coding these values in the Email properties and prefer to use special register values.


iSM 616
iDM 7705
iDQC 802
WF 77
Windows 2008 Server
November 16, 2010, 05:01 AM
AdeH
Hi AK,
I don't believe that there is a system SREG that contains the pflow name, sorry to say.

To see what SREGs are available at runtime, add a QA Agent to your pflow (XDQAAgent), and write the values to a file.

For our error handling, we set a standard named SREG to the name of the pflow in the first object in the pflow, and use this.


iWay 5.5 SMSP1 and 6.0.1 on Intel/Linux
November 16, 2010, 11:23 PM
<nklamen>
We are introducing a SREG in iway61 that will provide the user with the FLOW name. It may be backported to 6.0.1.11