Difference between revisions of "Workflow Course: Exercise 4"
From OpenKM Documentation
(Created page with '== Step 1 - Try all form elements == Take a look at all workflow available elements http://wiki.openkm.com/index.php/Form_Element_description Create simply workflow with a star…') |
m (moved Workflow Course: Exercice 4 to Workflow Course: Exercise 4) |
||
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{TOCright}} __TOC__ | ||
+ | |||
== Step 1 - Try all form elements == | == Step 1 - Try all form elements == | ||
+ | Take a look at all [[Form_Element_description|workflow available elements]]. | ||
− | + | * Create simply workflow with a start task, task node and end node like image: | |
− | |||
− | [[File: | + | [[File:Wf forms.png|center]] |
− | Create forms.xml file with all form elements definitions, create a task and assign to task node. | + | * Create a '''forms.xml''' file with all form elements definitions, create a task and assign to task node. |
<source lang="xml"> | <source lang="xml"> | ||
Line 31: | Line 33: | ||
</workflow-form> | </workflow-form> | ||
</workflow-forms> | </workflow-forms> | ||
− | |||
</source> | </source> | ||
− | Assign tak node the actor called okmAdmin. | + | * Assign tak node the actor called ''okmAdmin''. |
− | + | * Register and test workflow with ''okmAdmin'' user. | |
− | Register and test workflow with okmAdmin user. | ||
+ | [[Category: Workflow Guide]] | ||
[[Category: Workflow Course]] | [[Category: Workflow Course]] |
Latest revision as of 08:53, 18 June 2013
Contents |
Step 1 - Try all form elements
Take a look at all workflow available elements.
- Create simply workflow with a start task, task node and end node like image:
- Create a forms.xml file with all form elements definitions, create a task and assign to task node.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE workflow-forms PUBLIC "-//OpenKM//DTD Workflow Forms 2.1//EN"
"http://www.openkm.com/dtd/workflow-forms-2.1.dtd">
<workflow-forms>
<workflow-form task="Sample">
<input name="input" label="Input"/>
<input name="date" label="Date" type="date"/>
<input name="folder" label="Folder" type="folder"></input>
<select name="options" label="Options">
<option label="One" value="one"/>
<option label="Two" value="two"/>
<option label="Three" value="three"/>
</select>
<checkbox name="check" label="Check"/>
<textarea name="textarea" label="TextArea"/>
<separator name="separator" label="Separator"/>
<text name="text" label="This is a <font style='color: red'>sample</font> text"/>
<button name="submit" label="Submit" />
</workflow-form>
</workflow-forms>
- Assign tak node the actor called okmAdmin.
- Register and test workflow with okmAdmin user.