Skelta Workflow.NET Help
Developing and Configuring Custom Resource Handlers

Skelta Workflow.NET uses resource handlers to query the resources, and extract the properties. The resource handler can get information from any source like database, active directory, LDAP etc. The resource handler should inherit the IResource abstract class. A resource handler should implement the QueryResource () and the GetResource () methods, and initialize and populate the ResourceProperties field.

Workflow.NET provides a default database handler. This database handler can be used for all the applications that get the resource information from the database. This resource handler has to be configured for the application in the WorkflowNET.Config.xml file.

  1. Edit the <resourcehandler> tag for the application, and specify the name, assembly, class and the XML file path from which the resource properties are to be read.
  2. After configuring the WorkflowNET.Config.xml file, the fields in the database tables to be exposed to Workflow.NET have to be identified and configured in an XML file that is specified in the WorkflowNET.Config.xml file.
  3. Build a view with all the fields for the resources.
  4. Configure the properties for the resources in the XML file.

Note The name of the property in the XML file has to be the same as the field name in the view.

  1. Configure the data source for the resources in the XML configuration file for the resource handler.

A sample Resource Properties Configuration XML file is shown below