Skip to main content

Modifying the interaction.xml

Modifying the interaction.xml

You can edit the interaction.xml file within Pega Robot Studio™. The structure and syntax of the XML document is case sensitive, requiring precision with spacing as well. When editing the interaction.xml document, you must:

  • Edit the interaction.xml file
  • Update the solution in Studio

Editing the interaction.xml within Pega Robot Studio

You can edit the interaction.xml file for the solution at any time during development, but you should attempt to create the file for the solution before development.

Follow these steps to edit the interaction.xml file within Studio.

  1. In the Solution Explorer, double-click a project's global container to open it in the designer window.
  2. In the Global Container designer window, right-click the Interaction Manager component.
  3. Select Modify Configuration. The interaction.xml file opens in a designer window showing color-coded text.
  4. Scroll through the file to locate the section.
  5. Enter the needed context or activity to its corresponding section in the file.
  6. From the menu, select File > Save to save the edits.
Note: XML files are case-sensitive and syntax-specific. For the best editing options, use copy/paste to ensure that syntax stays intact.

Updating the solution

Refresh the solution to remove any old entries and add new entries to the memory cache. If you edit the interaction.xml with a different editor than Studio, you still update the solution.

Follow these steps to update the solution to use the edited interaction.xml file.

  1. From the menu, select Build > Clean Solution. The Output window displays the clean messages.
    update solution menu
  2. Once the clean process completes, from the menu, select Build > Rebuild Solution. The Output window refreshes showing the rebuild messages.

This Topic is available in the following Module:

If you are having problems with your training, please review the Pega Academy Support FAQs.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Academy has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice