Tests whether a business object has reached a specified business process stage.
Class Name |
|
---|---|
Component |
|
Required Input Parameters
businessProcessStage
The stage within the business process to check. Rather than specify markers for a particular stage, you can check for markers from a given process by setting this parameter to the ANY_VALUE
property as follows:
<dsp:param name="businessProcessStage"
bean="HasBusinessProcessStageDroplet.ANY_VALUE"/>
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 failure error message.
Open Parameters
true
Rendered if the specified stage reached marker is found.
false
Rendered if the specified stage reached marker is not found.
error
Rendered on error.
Usage Notes
HasBusinessProcessStage checks whether the item has reached a stage in a business process.
Example
<dsp:droplet name="HasBusinessProcessStage"> <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>