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.
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:
▪ Creating a state object configuration file.
▪ Registering a state as a plug-in extension point.
▪ Creating a state object mapping file.
▪ Registering a state object mapping as a plug-in extension point.
▪ Implementing property generating rule.
▪ Registering a property generating rule as a plug-in extension point.
The implementation items of the ClientPromptState sample are in two projects: the AlphaSampleWidget project and the Alphates_v8.0 project.
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