Custom Conflict Management
- Last UpdatedJun 10, 2024
- 1 minute read
For the Fill Forms submission, there is no conflict management by default. However, there is a basic conflict management for work items such as Approval Activity and Invoke Form Activity. The user can customize this by creating a conflict management component and registering the same in the SKAddinProviders table under the repository database.
Perform the following steps to create a custom conflict management component.
-
Create a .NET Class library project.
-
Refer the SE.Bpm.ConflictHandler.dll.
-
Create a class which implements the IConflictHandler interface. This interface has the following methods:
-
ValidateWorkItem – When this function is implemented, it validates the work item being submitted.
-
ValidateFillForm – When this function is implemented, it validates the Fill Form being submitted.
-
ResolveWorkItem – When this function is implemented, it resolves the work item, if there is a conflict.
-
ResolveFillForm – When this function is implemented, it resolves the Fill Form, if there is conflict.
-
CanResolve – When this property is implemented, it has a value indicating when the conflict can be resolved.
-
CanContinue – When this property is implemented, it has a value indicating whether the process (submission of work items or Fill Forms) can continue even if there is a conflict.
-
-
Build the component.
-
Place the component in a path, which is accessible to the Workflow Engine Service and Enterprise Console web application.
-
Provide the class name and the dll path in the SKAddinProviders table in the repository database.