Show-Stream method |
Use the Show-Stream method to apply stream processing to an HTML rule, correspondence rule, or XML Stream rule, and send the results to a browser-based requestor session.
This method has five parameters:
Parameter |
Description |
StreamClass |
Optional. Identify the class of a rule type derived from the Rule-Stream class. such as:
If blank, the default value is Rule-Obj-HTML. Do not use this method with list view or summary view rules. |
StreamName |
Enter the second key part of the rule to be processed. To locate the rule using rule resolution, the system uses the class of the of the step page as the Applies To class of the rule. |
StreamType |
Optional. If you selected Rule-Obj-Corr or Rule-Obj-XML as the StreamClass value, enter here the third key part of the rule (the Correspondence Type or XML Type). |
FrameName |
Optional. Leave blank in most situations. If you use the When designing and implementing multiThread interactions for a browser-based user session, it is a best practice to have each Thread that uses the Show-Stream method send its HTML to a specific, named HTML frame on the browser window, to avoid confusion. |
Read-only |
Select this box to cause the system to present any HTML |
The system uses the class of the step page (or of the primary page) of the activity with rule resolution to find and access the rule referenced.
It uses stream processing to evaluate and process all the JSP tags that the rule instance contains. It sends the resulting processed HTML by HTTP or HTTPS protocol to the user who ran the activity.
The system stores the processed HTML as the value of the pxHTMLStream property on the pxThread
page.
This method updates the pxMethodStatus property. See How to test method results using a transition.
directive, stream processing |