User:Hummel-riegel/SRF Process/Individuals

Letting Individuals (such as persons, machines, documents, ...) walk through a process is currently work in progress.

Requisites

 * Installed and running Semantic Mediawiki Extension, download from here
 * Installed and running Mediawiki extension GraphViz, download from here
 * Installed and running Semantic Result Formats Extension, download from here
 * Installed and running Process Printer, download from here or more up to date here


 * This extension is highly based on templates, so you should also run Extension:ParserFunctions and Extension:SemanticInternalObjects.


 * Have a look at Semantic Bundle for a compositon of useful semantic extensions.

Install instructions
Get the latest Individual_Process folder from https://waves1.fzi.de/svn/waves/trunk/SRF_Printer/ and put that into /extensions/SemanticResultFormats/.

Add the following to your LocalSettings.php: require_once('/extensions/SemanticResultFormats/Individual_Process/SRF_Individual_Process.php");

Templates and Forms
At the moment this extension works mainly with templates. They can be found in the templates-folder. They can be easily imported with Special:Import and make modelling much simpler. There can be found:
 * Process_Individual_Package.xml -> Necessary templates

Please also use the templates of the basic Process Printer.

Usage
We are working on some code to improve usability and to hide code from most users. But at the moment we are far from releasing this. Nontheless you can just use this "extension" already with our forms, if you don't mind some wikitext ;-)

Linking Individual to Process
Just use the templates and put this on a page of an Individual: This defines the Process and Process Step the Individual ist currently in. Also we have a start date and an actual status (percentage) of work done (or whatever you want to).

An Individual can be assigned to more than one process - just add another Individual Pointer.

If you want to track older steps then just use: This removes status and adds end anddate and a closed by-attribute.

Display Individuals in Processes
Now you can query your data already but this doesn't seem like much fun. So just add our predefined "Views"


 * (already linked in the Process Step Template)
 * (already linked in the Process Step Template)

Put this on the relevant pages (Pagetitles are relevant), for examle Mr. A that is an Individuum -> use the individual view. But if he also is part of a role -> add the role view, too. (You can even create a page for a group when linking to the individuals with has role member::username

Some Screens: