November 15, 2010, 02:41 PM
AKWhich 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.
November 16, 2010, 05:01 AM
AdeHHi 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.
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