Dynamic Workflow Pulling the Strings


Published on

Published in: Technology
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide
  • Dynamic Workflow Pulling the Strings

    1. 1. i W F M S A new generation of workflow management systems <ul><li>Joseph Wilk </li></ul>
    2. 2. What is workflow? <ul><li>“ A way of explaining to computers and people how tasks take place in the real world ” </li></ul><ul><li>Separates logic and control </li></ul><ul><li>Indicates </li></ul><ul><ul><li>Activities </li></ul></ul><ul><ul><li>Dependencies </li></ul></ul><ul><ul><li>Conditions </li></ul></ul>Prescribe Drugs Check Drugs Distribute Drugs Record Error correct incorrect
    3. 3. What is a WFMS? <ul><li>WorkFlow Management System (WFMS) </li></ul><ul><ul><li>Define workflow </li></ul></ul><ul><ul><li>Change workflow </li></ul></ul><ul><ul><li>Execute workflow </li></ul></ul>► Good but not perfect Design and define workflow Workflow Specifications Workflow Enactment service Applications & IT Tools User
    4. 4. WFMSs for form-based systems <ul><li>HTML form system </li></ul><ul><ul><li>Amazons online ordering system </li></ul></ul><ul><li>Workflow and form based systems </li></ul><ul><ul><li>Conditions on forms for progress </li></ul></ul><ul><ul><li>Dependencies between forms </li></ul></ul>Welcome Pay Confirm Wrap Items Address Dispatch <ul><li>no gift wrapping selected </li></ul><ul><li>gift wrapping selected </li></ul>
    5. 5. The problems <ul><li>HTML form systems </li></ul><ul><ul><li>Tangling of Code and Logic </li></ul></ul><ul><ul><li>Difficult to change </li></ul></ul><ul><li>WFMS provide a solution to HTML form systems </li></ul><ul><li>However WFMS can be </li></ul><ul><ul><li>Labour intensive to create </li></ul></ul><ul><ul><li>Labour intense and conceptually difficult to change </li></ul></ul>
    6. 6. The solution <ul><li>Intelligent WorkFlow Management systems </li></ul><ul><li>Improved ability to deal with new situations and requirements. </li></ul><ul><li>Project develops an iWFMS for HTML Form Systems using: </li></ul><ul><ul><li>Event Calculus – first order logic formalisation </li></ul></ul><ul><ul><li>Planning </li></ul></ul><ul><ul><li>Hospital Model as a working example </li></ul></ul>Conventional WFMS Artificial intelligence planning methodologies +
    7. 7. Hospital Model Patient admitted to ward Patient assessed and drug chart completed Checks drug chart and corrects mistakes Takes drug chart down to pharmacy Make up drugs Fetch drugs from pharmacist and take up to ward Doctor checks corrected drug chart confirm correct drugs and sign Give patient Drugs no mistakes mistakes approve correction reject drugs approve drugs reject correction
    8. 8. The Architecture Client Web browser Server-side domain Logic programming domain XML Specifications and HTML DTD files Form Data Workflow System Data HTML typing rules Knowledge base Workflow specifications
    9. 9. Event Calculus Workflow Workflow Unit 1 Workflow Unit 2 Workflow Unit 3 Workflow Unit 4 Form Entry Form Creation Form Submission Database Information User Input Workflow Progress Condition happens(workflowUnit4,Timepoint) holds_at(workflowUnit3, Timepoint)
    10. 10. Event Calculus Planner <ul><li>Dr. Murray Shanahan’s </li></ul><ul><li>ASLDICN (integrity </li></ul><ul><li>constraints and negation as </li></ul><ul><li>failure) </li></ul><ul><li>Event Calculus Planner </li></ul><ul><li>Features </li></ul><ul><ul><li>Conditional planning </li></ul></ul><ul><ul><li>Mapping partial ordered plans to total ordered plans </li></ul></ul><ul><ul><li>Loop reduction </li></ul></ul>Prescribe drugs Check drugs Goal Node Prescribe drugs Check drugs Goal Node correct incorrect
    11. 11. HTML Typing <ul><li>Definite Clause grammars </li></ul><ul><ul><li>Tokenise strings within Prolog </li></ul></ul><ul><li>Typing checks </li></ul><ul><ul><li>Attribute Values </li></ul></ul><ul><ul><li><select size=“notAnInteger” > </li></ul></ul><ul><ul><li>Valid HTML Children </li></ul></ul><ul><ul><li><select> </li></ul></ul><ul><ul><li> < option ></ option > </li></ul></ul><ul><ul><li> < option ></ option > </li></ul></ul><ul><ul><li></select> </li></ul></ul>
    12. 12. The Planners <ul><li>PHP planner </li></ul><ul><li>JavaScript planner </li></ul><ul><li>Environment = State of the forms and the user </li></ul>
    13. 13. Logic and server meeting <ul><li>Prolog Common Gateway Interface (CGI) </li></ul><ul><ul><li>Provide interaction with Web pages </li></ul></ul><ul><li>Prolog Interpreter </li></ul><ul><ul><li>To PHP Prolog's output is nothing but a String </li></ul></ul><ul><ul><li>Recapture the meaning in Prolog </li></ul></ul><ul><ul><li>Interpreter Design Pattern </li></ul></ul><ul><ul><ul><li>Represent the grammar of Prolog </li></ul></ul></ul>
    14. 14. Extensions <ul><li>Visualisation of Event Calculus plans </li></ul><ul><ul><li>Scalable Vector Graphics (SVG) </li></ul></ul><ul><li>Automatic documentation generation </li></ul><ul><ul><li>PHPDocumentor </li></ul></ul><ul><li>Unit Testing </li></ul><ul><ul><li>PHP simple Test </li></ul></ul>
    15. 15. Conclusion <ul><li>iWFMS weakness is its Performance when adding workflow </li></ul><ul><li>Handles change more effectively than WFMS </li></ul><ul><ul><li>Domain constraints </li></ul></ul><ul><ul><li>Hierarchical planning </li></ul></ul><ul><li>Functions which are not seen in WFMS </li></ul><ul><ul><li>Creation of workflow based on invoker </li></ul></ul>
    16. 16. i W F M S A new generation of workflow management system Questions?