Updated framework context values
Updated framework context values
When implementing the framework within a solution, it is common to have different processes or activities update an interaction's context values. A context's value may also force an automation to perform another series of activities based on its value. Because of these common occurrences, the framework provides a mechanism that allows a developer to respond to a change in a value.
The Interaction Framework's flexibility creates a dynamic event for the Interaction Manager component. For every context value added to the Context section of the interaction.xml, the Interaction Framework creates an event based on that context value.
In the example interaction.xml, the Context section contains seven context values:
- Account Number
- Name
- Address
- City
- State
- Zip Code
- Nearest Store
In the Object Inspector for events, the IntMgr displays seven specific events -- one for each context value changed.
A single automation may contain a line to handle each specific context change event, not a separate automation for each context value. Remember to use procedure automations to perform the actual process of updating any interface or applications.
This Topic is available in the following Module:
If you are having problems with your training, please review the Pega Academy Support FAQs.
Want to help us improve this content?