There are several ways to edit the pattern instance and apply changes, which can affect the pattern application performance. Let's explore the available options:
- Editing the Pattern Instance through the Transaction:
 |
| Editing the pattern instance inside the transaction part |
- The pattern instance can be edited within the K2BEntityServices tab inside the transaction.
- This may not be the most efficient option for daily use, as each save operation triggers the pattern application.
- The instance is applied twice: once when you save and again when you perform a build.
- Editing the Pattern Instance through the Instance Object:
 |
| Editing the instance object |
- This method is recommended for optimal performance.
- The instance object is located as a child of the transaction.
- Modifications to the instance do not immediately apply the pattern, eliminating delays when making multiple changes and saving them.
- The instance is applied only once during a build.
If changes to the instance do not reflect at runtime or if errors occur, you can force the pattern application by accessing the instance and selecting "Apply Pattern."
 |
| Forcing the application of K2BEntityServices pattern |
For performance reasons, we recommend editing the instance as described in option 2.
|