The interaction.xml file
The interaction.xml file
The interaction.xml, or binding contract, pulls all the referenced projects together and allows the projects to communicate information and events between one another. The interaction.xml configuration file defines the context values and activities used in the framework. The following image shows an example of an interaction.xml file.
The interaction.xml is the only framework component that is solution-wide, meaning a solution requires only one interaction.xml. By using other framework components, scoped to each project, you reference the one interaction.xml file for the solution. Visually, you can consider the XML file as the center or hub of the solution, and each project, through the other framework components, read and communicate to each other using the XML file.
Pega Robot Studio™ provides a base interaction.xml during installation. You should use it as a base file for development. Once you create a base file, use it for all subsequent solutions moving forward to minimize development time. You can change the name of the file, if desired. The interaction.xml file can also be a living file so that it grows as the solution grows with new business cases.
The base file is located in the following directory: C:\Program Files (x86)\PegaSystems\Pega Robot Studio\AgileDesktop\Samples\Config.
This Topic is available in the following Module:
- Components v1
If you are having problems with your training, please review the Pega Academy Support FAQs.
Want to help us improve this content?