Microbots
Microbots are used to write code for reusable components. This is a feature to extend the product boundary by creating reusable components which can be inserted anywhere in a process to perform a custom logic.
To create a Microbot:
- In Visual Studio, create a new project with output type as Class Library using .net framework 4.8.
- Add SE.Core.Automation.Interfaces DLL and SE.Core.Automation.Models DLL references in the project.
- Implement IAECodePackage using SE.Core.Automation.Interfaces.
- Execute method and Execution completed event is fetched on implementing the IAECodePackage.
- Map input and output parameters: To set or get values from output and input of microbot, use the defined custom attributes set on the .Net class properties.
- Once execution is complete, an execution complete event is raised.
NOTE: |
Each microbot must have a distinct main DLL. |