Task Management Allocation
System Setup / Plugin Customization / Plugin Configuration [SET062].
One of the key features of the Task Management module is that it is highly customizable. This Task Allocation Plugin is key to the process and allows for customization of how tasks are allocated from the HTML5 Task List.
The plugin works similar to the existing plugin logic, with an Interface defining the input and return values of the plugin.
The plugin is applicable to the Fetch New Task button.
Â
If you don’t like reading, you can watch the video.
None
Try it!
Plugin details
Type | Plugin Name | Interface | Location | Method Name | Module | Linked Action |
Task Management | Task Management Allocation | ITASKMANALLOCATION | DATASCOPE.SDK.PluginInterfaces | AllocateTasks() | Task Management Allocation | Allocate Tasks |
To develop your own plugin:
For more information regarding building the plugin, refer to the high-level overview on how to build a basic plugin - Developing your own plugins
For more information, refer to What is needed to work with Plugins?
Insert the DATASCOPE SDK
Insert the inheritance from the DATASCOPE SDK
Select the required Interface.
Write your code as per your own requirement.
Build it into a single .dll file and save it in the C:/ Program Files / DATASCOPE / DATASCOPE WMS WebAPI / Plugins folder on the server.
Test it in the module.
To configure this plugin:
From the Main Menu, browse to System Setup / Plugin Customization / Plugin Configuration
Select Task Management Allocation from the Plugin Name drop-down.
Select ADD from the Action drop-down
Enter a Display Name (i.e. TaskAllocation)
Add the compiled DLL file name, developed by a developer, in the Dll FileName field - for example TaskAllocation.dll
Select Save to save the configuration.
This plugin will now be configured for the Fetch New Task button on the HTML5 Task List screen.
For more information on configuring a plugin, refer to Create a Custom Plugin and link it to a Module or System Setting (configuring plugins) or Developing your own plugins | Configuring the plugin in the software
Â