kuali rice edoclite uc davis, information & educational technology

20
Kuali Rice eDocLite UC Davis, Information & Educational Technology

Upload: leo-mcgee

Post on 16-Jan-2016

221 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Kuali Rice eDocLite UC Davis, Information & Educational Technology

Kuali Rice eDocLite

UC Davis, Information & Educational Technology

Page 2: Kuali Rice eDocLite UC Davis, Information & Educational Technology

Agenda

1. Overview

2. Step through an sample eDocLite

3. Look through some of the code behind the sample eDocLite

Page 3: Kuali Rice eDocLite UC Davis, Information & Educational Technology

Overview1. eDocLite allows quick document building and integration with

workflow using only XML

2. Is a component of Kuali Enterprise Workflow

3. Runs on the central Rice servers.

4. Providing access to eDocLite forms is as easy as URL

5. Development team will work on a style/skin to match the UC Davis web template

6. All Documents are searchable on the Rice servers.

Page 4: Kuali Rice eDocLite UC Davis, Information & Educational Technology

eDocLite in Action

Page 5: Kuali Rice eDocLite UC Davis, Information & Educational Technology

Requester searches for the relevant Document and initiates a request.

Page 6: Kuali Rice eDocLite UC Davis, Information & Educational Technology

Requester fills out the form and clicks “route”.

This initiates the workflow.

Based on some rules, the workflow routes the Document to the next appropriate responsible party.

Page 7: Kuali Rice eDocLite UC Davis, Information & Educational Technology

The Document lands in the Action List of someone who is a member of a group who has approval responsibility.

The current status of the Document is ENROUTE.

This Approver opens Document 2220.

Page 8: Kuali Rice eDocLite UC Davis, Information & Educational Technology

The Approver inspects the Document.

After finding that the information in the form is acceptable, the Approver clicks “approve”.

This Document moves forward in the workflow.

Page 9: Kuali Rice eDocLite UC Davis, Information & Educational Technology

The Document lands back in the Action List of the Requester.

The current status of the Document is PROCESSED.

At this stage, we’re asking the Requester to acknowledge that the request has been fulfilled.

Page 10: Kuali Rice eDocLite UC Davis, Information & Educational Technology

The Requester clicks “acknowledge”.

The workflow is thus finished.

The status of the Document is now FINAL.

Page 11: Kuali Rice eDocLite UC Davis, Information & Educational Technology

We can view the routing log of each Document.

Page 12: Kuali Rice eDocLite UC Davis, Information & Educational Technology

eDocLite Behind the Scenes

Page 13: Kuali Rice eDocLite UC Davis, Information & Educational Technology

Parent Document<documentTypes xmlns="ns:workflow/DocumentType"

xsi:schemaLocation="ns:workflow/DocumentType resource:DocumentType"><documentType>

<name>RequestFirewallChange.eDoc.ParentDocType</name><description>eDocLite Parent Document Type</description><label>Request Firewall Change eDocLite Parent Document Type</label><blanketApprovePolicy>NONE</blanketApprovePolicy><docHandler>${workflow.url}/EDocLite</docHandler><active>true</active><routingVersion>2</routingVersion>

</documentType></documentTypes>

A Document Type that has attributes that are to be inherited by all associated Child Document Types.

Page 14: Kuali Rice eDocLite UC Davis, Information & Educational Technology

Child Document<documentTypes xmlns="ns:workflow/DocumentType"

xsi:schemaLocation="ns:workflow/DocumentType resource:DocumentType"><documentType>

<name>RequestFirewallChange.eDoc.ChildDocType</name><parent>RequestFirewallChange.eDoc.ParentDocType</parent><routePaths>

<routePath> </routePath>

</routePaths> <routeNodes>

<start name="Request"> <activationType>P</activationType></start><requests name="FinalApproval"></requests><requests name="AcknowledgeConfiguration"></requests>

</routeNodes></documentType>

</documentTypes>

A Document Type defines the nodes of the workflow and the actions being requested in each node.

Page 15: Kuali Rice eDocLite UC Davis, Information & Educational Technology

eDocLite Form<edoclite xmlns="ns:workflow/EDocLite" xsi:schemaLocation="ns:workflow/EDocLite

resource:EDocLite">

<edl name="RequestFirewallChange.eDoc.Form" title="Request Firewall Change"> ... ...</edl>

<style name="RequestFirewallChange.eDoc.Style">...

...</style>

<association><docType>RequestFirewallChange.eDoc.ChildDocType</docType><definition>RequestFirewallChange.eDoc.Form</definition><style>RequestFirewallChange.eDoc.Style</style>

<active>true</active> </association>

</edoclite>

<edl> defines the fields on the form.

<style> defines the layout using HTML tags

<association> binds the form to a Document Type

Page 16: Kuali Rice eDocLite UC Davis, Information & Educational Technology

Rule Attributes<ruleAttributes xmlns="ns:workflow/RuleAttribute" xsi:schemaLocation="ns:workflow/RuleAttribute

resource:RuleAttribute"><ruleAttribute>

<name>RequestFirewallChange.eDoc.isUrgent.RuleAttribute</name> <className>edu.iu.uis.eden.routetemplate.xmlrouting.StandardGenericXMLRuleAttribute</className>

<label>Request Firewall Change Is Urgent Rule Attribute</label> <description>Request Firewall Change Is Urgent Rule Attribute</description>

<type>RuleXmlAttribute</type> <routingConfig> <fieldDef name="isUrgent" title="URGENT" workflowType="ALL">

<display> <type>select</type> <values title="NO">NO</values> <values title="YES">YES</values> </display> <validation required="true" /> <fieldEvaluation> <xpathexpression>//isUrgent =

wf:ruledata('isUrgent')</xpathexpression> </fieldEvaluation> </fieldDef> <xmlDocumentContent> <isUrgent>%isUrgent%</isUrgent> </xmlDocumentContent> </routingConfig> </ruleAttribute></ruleAttributes>

Rule Attributes define items (typically values in a field), that are to be evaluated by the workflow.

They are associated with Rule Templates and Forms.

Page 17: Kuali Rice eDocLite UC Davis, Information & Educational Technology

Rule Templates<ruleTemplates xmlns="ns:workflow/RuleTemplate" xsi:schemaLocation="ns:workflow/RuleTemplate

resource:RuleTemplate"><ruleTemplate>

<name>RequestFirewallChange.eDoc.InitialApproval.RuleTemplate</name> <description>Initial Approval RuleTemplate</description> <attributes> <attribute>

<name>RequestFirewallChange.eDoc.isUrgent.RuleAttribute</name> <required>true</required> </attribute> </attributes>

</ruleTemplate><ruleTemplate>

<name>RequestFirewallChange.eDoc.FinalApproval.RuleTemplate</name> <description>Final Approval RuleTemplate</description> <attributes> <attribute> <name>RequestFirewallChange.eDoc.isUrgent.RuleAttribute</name> <required>true</required> </attribute> </attributes>

</ruleTemplate></ruleTemplates>

Rule Templates are associated with Route Nodes.

Rule Attributes bind Rule Attributes to nodes in the workflow.

Page 18: Kuali Rice eDocLite UC Davis, Information & Educational Technology

Routing Rules<rules xmlns="ns:workflow/Rule" xsi:schemaLocation="ns:workflow/Rule resource:Rule">

<rule> <documentType>RequestFirewallChange.eDoc.ChildDocType</documentType> <ruleTemplate>RequestFirewallChange.eDoc.InitialApproval.RuleTemplate</ruleTemplate> <description>Initial Approval By Firewall SysAdmin Rule</description> <ignorePrevious>false</ignorePrevious> <ruleExtensions> <ruleExtension> <attribute>RequestFirewallChange.eDoc.isUrgent.RuleAttribute</attribute> <ruleTemplate>RequestFirewallChange.eDoc.InitialApproval.RuleTemplate</ruleTemplate> <ruleExtensionValues> <ruleExtensionValue> <key>isUrgent</key> <value>YES</value> </ruleExtensionValue> </ruleExtensionValues> </ruleExtension>

</ruleExtensions> <responsibilities> <responsibility> <workgroup>ucd.IET.DCCS.FirewallSysAdmin.Workgroup</workgroup> <actionRequested>A</actionRequested> <priority>1</priority> </responsibility> </responsibilities> </rule><rules>

Routing Rules determine the direction of the workflow.

The meat of a rule is comprised of Action Requested, Responsible Group, and one or more Rule Attributes.

Page 19: Kuali Rice eDocLite UC Davis, Information & Educational Technology

eDocLite Dependency Hierarchy

Page 20: Kuali Rice eDocLite UC Davis, Information & Educational Technology

Information Sources• Kuali Foundation: (http://www.kuali.org)

• Kuali Rice• Hampton Sublett ([email protected])• Curtis Bray ([email protected])

• UCD Kuali Rice Wiki: (https://confluence.ucdavis.edu/confluence/x/O4C3)