Tests whether the business process stage most recently reached by a business object matches the specified stage.
Class Name |
|
---|---|
Component |
|
Required Input Parameters
businessProcessStage
The stage within the business process.
Optional Input Parameters
businessProcessName
The name of the business process. Defaults to the servlet bean’s defaultBusinessProcessName
property. Setting the defaultBusinessProcessName
property lets you create instances of the servlet bean that are specific to a single business process.
Output Parameters
errorMsg
The error message describing a failure.
marker
The matching stage reached marker, if found.
Open Parameters
true
Rendered if the stage most recently reached matches the specified stage found.
false
Rendered if stage most recently reached does not match the specified stage found.
error
Rendered on error.
Usage Notes
MostRecentBusinessProcessStage checks whether the stage most recently reached matches the specified stage.
Example
<dsp:droplet name="MostRecentBusinessProcessStage"> <dsp:param name="businessProcessName" value="ShoppingProcess"/> <dsp:param name="businessProcessStage" value="ShippingPriceViewed"/> <dsp:oparam name="true"> ... </dsp:oparam> <dsp:oparam name="false"> ... </dsp:oparam> </dsp:droplet>