The ClientPromptState sample

ClientPromptState is a state object of the Processor editor. It is designed to display prompt information in a web page to end users when a flow processor is being executed. It gives end users the option to either continue or to cancel the flow.

Figure 1 shows the ClientPromptState state object at runtime.
Figure 1. The ClientPromptState state object at runtime.
In the ClientPromptState sample, Processor editor object extension tasks are covered to help technical developers understand how to implement Processor editor extensions. The ClientPromptState sample covers the following tasks:
The implementation items of the ClientPromptState sample are in two projects: the AlphaSampleWidget project and the Alphates_v8.0 project. Table 1 provides a description of the implementation items of the ClientPromptState sample..
Table 1. The implementation items in the ClientPromptState sample
Item name Description Related reference information Location
ClientPromptState.xml State configuration file Creating a configuration file for a palette object The palette folder in the AlphaSampleWidget project
Info16.PNG and Info32.PNG Icons used to show State in Processor Palette and Canvas Registering a palette object The icons folder in AlphaSampleWidget project
transactionmapping.xml Palette object mapping file Creating and registering an object mapping file The config folder in the AlphaSampleWidget project
ClientPromptRule.java Property generation rule for ClientPromptState Creating and generating a property generation rule The src/com/ibm/btt/alphasample/transaction/generator/rule folder in the AlphaSampleWidget project
HtmlPromptStat.java State implementation class in runtime Implementing a state at runtime The src/com/ibm/btt/alphasample/automation/html folder in the Alphates_v8.0 project