promptNow()
Parameters: |
none |
Result: |
none |
This informs the Runtime Context that the user needs to be prompted for parameters that the component needs and that components later in the action sequence should not be given the opportunity to provide parameters. This can be used for security purposes and can be used to prevent needless processing. For example consider an action sequence with two action definitions. The first is a Web Service business rule that needs to prompt for a customer id if it is not provided on the request, and the second is a report component that takes the result of the first component as its input. If the customer id has not been provided, the first component needs to prompt for it. In this case, there is no point executing the report component (causing the report definition to be parsed) to see if it needs to prompt for any parameters because the context of the action sequence tells us it does not.