Skip to content

Commit 30953ce

Browse files
committed
ASP.NET WebForms fix
1 parent 2bdacd1 commit 30953ce

2 files changed

Lines changed: 72 additions & 0 deletions

File tree

Samples/WebFormsSample/readme.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,6 @@ WorkflowEngine.NET - component that adds workflow in your application.
88
1. Execute SQL\CreatePersistenceObjects.sql
99
2. Check connection string in Designer\Web.config (connectionStrings section)
1010
3. Check connection string in Console\App.config (connectionStrings section)
11+
4. Run Designer project
12+
5. Create a scheme of workflow or load scheme.xml file from this package
13+
6. Run Console for test the scheme of workflow

Samples/WebFormsSample/scheme.xml

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
<Process>
2+
<Designer />
3+
<Commands>
4+
<Command Name="StartToRoute" />
5+
<Command Name="Approve" />
6+
<Command Name="Reject" />
7+
</Commands>
8+
<Activities>
9+
<Activity Name="Draft" State="Draft" IsInitial="True" IsFinal="False" IsForSetState="True" IsAutoSchemeUpdate="True">
10+
<Designer X="70" Y="200" />
11+
</Activity>
12+
<Activity Name="State1" State="State1" IsInitial="False" IsFinal="False" IsForSetState="True" IsAutoSchemeUpdate="True">
13+
<Designer X="370" Y="200" />
14+
</Activity>
15+
<Activity Name="State2" State="State2" IsInitial="False" IsFinal="False" IsForSetState="True" IsAutoSchemeUpdate="True">
16+
<Designer X="670" Y="200" />
17+
</Activity>
18+
<Activity Name="Final" State="Final" IsInitial="False" IsFinal="True" IsForSetState="True" IsAutoSchemeUpdate="True">
19+
<Designer X="970" Y="200" />
20+
</Activity>
21+
</Activities>
22+
<Transitions>
23+
<Transition Name="Activity_1_Activity_2_1" To="State1" From="Draft" Classifier="Direct">
24+
<Triggers>
25+
<Trigger Type="Command" NameRef="StartToRoute" />
26+
</Triggers>
27+
<Conditions>
28+
<Condition Type="Always" />
29+
</Conditions>
30+
<Designer />
31+
</Transition>
32+
<Transition Name="Activity_2_Activity_3_1" To="State2" From="State1" Classifier="Direct">
33+
<Triggers>
34+
<Trigger Type="Command" NameRef="Approve" />
35+
</Triggers>
36+
<Conditions>
37+
<Condition Type="Always" />
38+
</Conditions>
39+
<Designer />
40+
</Transition>
41+
<Transition Name="Activity_3_Activity_4_1" To="Final" From="State2" Classifier="Direct">
42+
<Triggers>
43+
<Trigger Type="Command" NameRef="Approve" />
44+
</Triggers>
45+
<Conditions>
46+
<Condition Type="Always" />
47+
</Conditions>
48+
<Designer />
49+
</Transition>
50+
<Transition Name="Activity_2_Activity_1_1" To="Draft" From="State1" Classifier="Reverse">
51+
<Triggers>
52+
<Trigger Type="Command" NameRef="Reject" />
53+
</Triggers>
54+
<Conditions>
55+
<Condition Type="Always" />
56+
</Conditions>
57+
<Designer Bending="0.3991925493582423" />
58+
</Transition>
59+
<Transition Name="Activity_3_Activity_1_1" To="Draft" From="State2" Classifier="Reverse">
60+
<Triggers>
61+
<Trigger Type="Command" NameRef="Reject" />
62+
</Triggers>
63+
<Conditions>
64+
<Condition Type="Always" />
65+
</Conditions>
66+
<Designer Bending="-0.2091841884353548" />
67+
</Transition>
68+
</Transitions>
69+
</Process>

0 commit comments

Comments
 (0)