WorkFlow (WF) slouží k:
- nastavení vlastností prvků formuláře
- k viditelnosti prvků formuláře
- speciální funkce po akci s prvky formuláře
- atd
Nejzákladnější definice WF
<?xml version="1.0" encoding="utf-8"?>
<WorkFlow xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:dsp="http://www.gappex.com/sfp/DataSource/Parameters"
Ident="Ident"
FormIdent="FormIdent"
SegmentType="Segment"
PackageIdent="Package">
<Definition>
<States>
<State TitleResourceKey="Deleted_Group" Value="0" />
<State TitleResourceKey="New_Group" Value="1" />
<State TitleResourceKey="Created_Group" Value="2" />
</States>
</Definition>
<Steps>
<Step State="1">
<Groups>
<Group>
<Permissions>
<string>Role</string>
</Permissions>
<Buttons>
<Button Ident="SaveButton" IsVisible="true" >
<Actions>
<Action xsi:type="ChangeState" State="2" ActionStart="AfterSave" />
</Actions>
</Button>
</Buttons>
</Group>
</Groups>
</Step>
<Step State="2">
<Groups>
<Group>
<Permissions>
<string>Role</string>
</Permissions>
<Buttons>
<Button Ident="DeleteButton" IsVisible="true" >
<Actions>
<Action xsi:type="ChangeState" State="0" ActionStart="AfterSave" />
</Actions>
</Button>
</Buttons>
</Group>
</Groups>
</Step>
</Steps>
</WorkFlow>