File: process-management.xml

package info (click to toggle)
otrs2-doc 20140509-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 38,292 kB
  • sloc: xml: 57,707; makefile: 13
file content (3428 lines) | stat: -rw-r--r-- 130,831 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">

<section id="process-management" >
<title>Process Management</title>
    <section>
        <title>Introduction</title>
        <para>
            This feature of OTRS allows you to model processes (work-flows) in the
ticket system.  The basic idea is to be able to define recurring processes,
and to delegate work items to different people, as well as leading the
progress of a process in different directions based on certain criteria.
        </para>
    </section>
    <section>
        <title>Example process</title>
        <para>
            Let's see an example to make it more demonstrative. We will define a book
order process:
        </para>

        <section>
            <title>Recording the demand</title>
            <para>
                Before an order will be placed, the demand for literature by an employee
will be recorded. The following book is needed in our example:
            </para>
            <para>
                <screen>
Title: Prozessmanagement für Dummies
Autor: Thilo Knuppertz
ISBN: 3527703713
                </screen>
            </para>
        </section>

        <section>
            <title>Approval by manager</title>
            <para>
                The head of the employee's department needs to decide on the order. In case
of a denial, a reason should be recorded by the manager. In case of
approval, the order is passed to the purchasing department.
            </para>
        </section>

        <section>
            <title>Processing by purchasing department</title>
            <para>
                Purchasing now has the task to find out where the book can be ordered with
the best conditions. If it is out of stock, this can be recorded in the
order. In case of a successful order purchasing will record the supplier,
the price and the delivery date.
            </para>
        </section>

        <section>
            <title>Processing by the mail room</title>
            <para>
                The shipment will arrive at the company. The incoming goods department
checks the shipment and records the date of receipt. Now the employee will
be informed that their order has arrived and is ready to be collected.
            </para>
        </section>
    </section>
    <section>
        <title>Implementing the example</title>
        <para>
            If we assume that a ticket acts in this work-flow like an accompanying
document that can receive change notes, we already have a clear picture of
process tickets.
        </para>
        <para>
            From the analysis of the example process we can identify the following
necessary items:
        </para>
        <para>
            <itemizedlist>
                <listitem>
                    <para>
                        Possibilities to record data, let's call them <emphasis>Activity
Dialogs</emphasis>,
                    </para>
                </listitem>
                <listitem>
                    <para>
                        Checks which can react to changed data automatically, let's call them
<emphasis>Transitions</emphasis>,
                    </para>
                </listitem>
                <listitem>
                    <para>
                        changes which can be applied to a process ticket after successful
transitions of a process ticket, let's call them <emphasis>Transition
Actions</emphasis>.
                    </para>
                </listitem>
            </itemizedlist>
        </para>
        <para>
            We also need an additional item which might not be as obvious:
        </para>
        <para>
            <itemizedlist>
                <listitem>
                    <para>
                        A possibility to offer more than just one Activity Dialog to be available.
In our example this is needed when the manager must have the choice between
"Approve" and "Deny". Let's call this <emphasis>Activity</emphasis>.
                    </para>
                </listitem>
            </itemizedlist>
        </para>
        <para>
            Now, with Activities, Activity Dialogs, Transitions and Transition Actions
we have the necessary tools to model the individual steps of our
example. What's still missing is an area where for each work-flow the order
of the steps can be specified. Let's call this
<emphasis>Process</emphasis>. To be able to refer to all these entities
later, we will assign to them an abbreviation in parentheses. This
abbreviation is based on an internal identification mechanism called
EntityIDs.
        </para>
        <para>
            The EntityIDs are conformed with one or two letters (depending on the
process part or entity) and then a consecutive number, examples:
            <itemizedlist>
                <listitem><para>Process: 'P1', 'P2' ... 'Pn'.</para></listitem>
                <listitem><para>Activity: 'A1', 'A2' ... 'An'.</para></listitem>
                <listitem><para>Activity Dialog: 'AD1', 'AD2' ... 'ADn'.</para></listitem>
                <listitem><para>Transition: 'T1', 'T2' ... 'Tn'.</para></listitem>
                <listitem><para>Transition Action: 'TA1', 'TA2' ... 'TAn'.</para></listitem>
            </itemizedlist>
        </para>
        <para>
           Before the creation of the process and its parts is necessary to prepare the
system, we will need to define some Queues, Users and Dynamic Fields as well
as set some SysConfig options.
        </para>
        <para>
            Create the following Queues:
            <itemizedlist>
                <listitem><para>Management</para></listitem>
                <listitem><para>Employees</para></listitem>
                <listitem><para>Purchasing</para></listitem>
                <listitem><para>Post office</para></listitem>
            </itemizedlist>
        </para>
        <para>
            Create the following Users:
            <itemizedlist>
                <listitem><para>Manager</para></listitem>
                <listitem><para>Employee</para></listitem>
            </itemizedlist>
        </para>
        <para>
            Create the following Dynamic Fields:
            <itemizedlist>
                <listitem>
                    <para>Title</para>
                    <informaltable>
                        <tgroup cols='2' align='left' colsep='1' rowsep='1'>
                            <tbody>
                                <row>
                                    <entry>Label</entry><entry>Title</entry>
                                </row>
                                <row>
                                    <entry>Type</entry><entry>Text</entry>
                                </row>
                                <row>
                                    <entry>Object</entry><entry>Ticket</entry>
                                </row>
                            </tbody>
                        </tgroup>
                    </informaltable>
                </listitem>
                <listitem>
                    <para>Author</para>
                    <informaltable>
                        <tgroup cols='2' align='left' colsep='1' rowsep='1'>
                            <tbody>
                                <row>
                                    <entry>Label</entry><entry>Author</entry>
                                </row>
                                <row>
                                    <entry>Type</entry><entry>Text</entry>
                                </row>
                                <row>
                                    <entry>Object</entry><entry>Ticket</entry>
                                </row>
                            </tbody>
                        </tgroup>
                    </informaltable>
                </listitem>
                <listitem>
                    <para>ISBN</para>
                    <informaltable>
                        <tgroup cols='2' align='left' colsep='1' rowsep='1'>
                            <tbody>
                                <row>
                                    <entry>Label</entry><entry>ISBN</entry>
                                </row>
                                <row>
                                    <entry>Type</entry><entry>Text</entry>
                                </row>
                                <row>
                                    <entry>Object</entry><entry>Ticket</entry>
                                </row>
                            </tbody>
                        </tgroup>
                    </informaltable>
                </listitem>
                <listitem>
                    <para>Status</para>
                    <informaltable>
                        <tgroup cols='2' align='left' colsep='1' rowsep='1'>
                            <tbody>
                                <row>
                                    <entry>Label</entry><entry>Status</entry>
                                </row>
                                <row>
                                    <entry>Type</entry><entry>Dropdown</entry>
                                </row>
                                <row>
                                    <entry>Object</entry><entry>Ticket</entry>
                                </row>
                                <row>
                                    <entry>Possible Values</entry>
                                    <entry>
                                        <itemizedlist>
                                            <listitem><para>Approval</para></listitem>
                                            <listitem><para>Approval denied</para></listitem>
                                            <listitem><para>Approved</para></listitem>
                                            <listitem><para>Order denied</para></listitem>
                                            <listitem><para>Order placed</para></listitem>
                                            <listitem><para>Shipment received</para></listitem>
                                        </itemizedlist>
                                    </entry>
                                </row>
                            </tbody>
                        </tgroup>
                    </informaltable>
                    <para>
                        Note: Please use this exactly this possible values for "Key" and "Value" in
the Dynamic Field setup.
                    </para>
                </listitem>
                <listitem>
                    <para>Supplier</para>
                    <informaltable>
                        <tgroup cols='2' align='left' colsep='1' rowsep='1'>
                            <tbody>
                                <row>
                                    <entry>Label</entry><entry>Supplier</entry>
                                </row>
                                <row>
                                    <entry>Type</entry><entry>Text</entry>
                                </row>
                                <row>
                                    <entry>Object</entry><entry>Ticket</entry>
                                </row>
                            </tbody>
                        </tgroup>
                     </informaltable>
                </listitem>
                <listitem>
                    <para>Price</para>
                    <informaltable>
                        <tgroup cols='2' align='left' colsep='1' rowsep='1'>
                            <tbody>
                                <row>
                                    <entry>Label</entry><entry>Price</entry>
                                </row>
                                <row>
                                    <entry>Type</entry><entry>Text</entry>
                                </row>
                                <row>
                                    <entry>Object</entry><entry>Ticket</entry>
                                </row>
                            </tbody>
                        </tgroup>
                     </informaltable>
                </listitem>
                <listitem>
                    <para>DeliveryDate</para>
                    <informaltable>
                        <tgroup cols='2' align='left' colsep='1' rowsep='1'>
                            <tbody>
                                <row>
                                    <entry>Label</entry><entry>Delivery date</entry>
                                </row>
                                <row>
                                    <entry>Type</entry><entry>Date</entry>
                                </row>
                                <row>
                                    <entry>Object</entry><entry>Ticket</entry>
                                </row>
                            </tbody>
                        </tgroup>
                     </informaltable>
                </listitem>
                <listitem>
                    <para>DateOfReceipt</para>
                    <informaltable>
                        <tgroup cols='2' align='left' colsep='1' rowsep='1'>
                            <tbody>
                                <row>
                                    <entry>Label</entry><entry>Date Of Receipt</entry>
                                </row>
                                <row>
                                    <entry>Type</entry><entry>Date</entry>
                                </row>
                                <row>
                                    <entry>Object</entry><entry>Ticket</entry>
                                </row>
                            </tbody>
                        </tgroup>
                     </informaltable>
                </listitem>
            </itemizedlist>
        </para>
        <para>
            Set the the following SysConfig settings:
            <itemizedlist>
                <listitem><para>'Ticket::Responsible': Yes</para></listitem>
                <listitem>
                    <para>
                        'Ticket::Frontend::AgentTicketZoom###ProcessWidgetDynamicFieldGroups':
                    </para>
                    <informaltable>
                        <tgroup cols='2' align='left' colsep='1' rowsep='1'>
                            <thead>
                                <row>
                                    <entry><emphasis>Key:</emphasis></entry>
                                    <entry><emphasis>Content:</emphasis></entry>
                                </row>
                            </thead>
                            <tbody>
                                <row>
                                    <entry>Book</entry><entry>Title, Author, ISBN</entry>
                                </row>
                                <row>
                                    <entry>General</entry><entry>Status</entry>
                                </row>
                                <row>
                                    <entry>Order</entry>
                                    <entry>Price, Supplier, DeliveryDate</entry>
                                </row>
                                <row>
                                    <entry>Shipment</entry><entry>DateOfReceipt</entry>
                                </row>
                            </tbody>
                        </tgroup>
                    </informaltable>
                </listitem>
                <listitem>
                    <para>
                        'Ticket::Frontend::AgentTicketZoom###ProcessWidgetDynamicField':
                    </para>
                    <informaltable>
                        <tgroup cols='2' align='left' colsep='1' rowsep='1'>
                            <thead>
                                <row>
                                    <entry><emphasis>Key:</emphasis></entry>
                                    <entry><emphasis>Content:</emphasis></entry>
                                </row>
                            </thead>
                            <tbody>
                                <row>
                                    <entry>Author</entry><entry>1</entry>
                                </row>
                                <row>
                                    <entry>DateOfReceipt</entry><entry>1</entry>
                                </row>
                                <row>
                                    <entry>DeliveryDate</entry><entry>1</entry>
                                </row>
                                <row>
                                    <entry>ISBN</entry><entry>1</entry>
                                </row>
                                <row>
                                    <entry>Price</entry><entry>1</entry>
                                </row>
                                <row>
                                    <entry>Status</entry><entry>1</entry>
                                </row>
                                <row>
                                    <entry>Supplier</entry><entry>1</entry>
                                </row>
                                <row>
                                    <entry>Title</entry><entry>1</entry>
                                </row>
                            </tbody>
                        </tgroup>
                    </informaltable>
                </listitem>
            </itemizedlist>
        </para>
        <para>
             Now lets start with the real Process Management stuff. In the next step, we
will define the individual entities that we need.
        </para>
        <section>
            <title>Process (as a container)</title>
            <para>
                To create a new process is necessary to click on the "Process Management"
link in the System Administration box in the Admin panel, this will lead to
the Process Management Overview screen. After the creation of the process we
can create all other entities (or process parts).
            </para>
            <note>
                <para>
                    Activities, Activity Dialogs, Transitions and Transition Actions defined in
one process will be available for all the processes in the system.
                </para>
            </note>
            <para>
                <screenshot>
<screeninfo>The OTRS Admin screen - System Administration</screeninfo> <graphic
srccredit="process-management - screenshot" scale='40'
fileref="screenshots/pm-admin-sysadmin.png"></graphic></screenshot>
            </para>
            <para>
                <emphasis>Figure: OTRS Admin screen - System Administration.</emphasis>
            </para>

            <para>
                Click on the "Create New Process" action from the Actions box.
            </para>
            <para>
                <screenshot>
<screeninfo>Create New Process button</screeninfo> <graphic
srccredit="process-management - screenshot" scale='40'
fileref="screenshots/pm-newprocess-button.png"></graphic></screenshot>
            </para>
            <para>
                <emphasis>Figure: Create New Process button.</emphasis>
            </para>
            <para>
                Fill the process information,set Process Name and the Description, we will
leave the process State as "inactive", until we finish all the tasks. Save
the process.
            </para>
            <para>
                <screenshot>
<screeninfo>Add new process</screeninfo> <graphic
srccredit="process-management - screenshot" scale='40'
fileref="screenshots/pm-newprocess-info.png"></graphic></screenshot>
            </para>
            <para>
                <emphasis>Figure: Add new process.</emphasis>
            </para>
        </section>
        <section>
            <title>Activity Dialogs</title>
                <para>
                    Click on the new process name in the Process Management Overview Screen,
then in the "Available Process Elements" click in "Activity Dialogs" (this
action will expand the activity dialog options and will collapse all others
doing and accordion like effect), then click on "Create New Activity
Dialog".
                </para>
                <para>
                    <screenshot>
<screeninfo>Create New Activity Dialog button</screeninfo> <graphic
srccredit="process-management - scale='40'screenshot" scale='40'
fileref="screenshots/pm-accordion-new-activitydialog.png"></graphic></screenshot>
                </para>
                <para>
                    <emphasis>Figure: Create New Activity Dialog button.</emphasis>
                </para>
                <para>
                    In the opened popup screen fill the "Activity dialog Name" as well as the
"Description (short)" fields, for this example we will leave all other
fields as the default, to assign fields to the Activity Dialog simple drag
the required field from the "Available Fields" pool and drop into the
"Assigned Fields" pool.  The order in the "Assigned Fields" pool is the
order as the fields will have in the screen, to modify the order simply drag
and drop the filed within the pool to rearrange it in the correct place.
                </para>
                <para>
                    <screenshot>
<screeninfo>Add new Activity Dialog</screeninfo> <graphic
srccredit="process-management - screenshot" scale='40'
fileref="screenshots/pm-edit-activitydialog.png"></graphic></screenshot>
                </para>
                <para>
                    <emphasis>Figure: Add new Activity Dialog.</emphasis>
                </para>
                <para>
                    As soon as the fields are dropped into the "Assigned Fields" pool another
popup screen is shown with some details about the field, we will leave the
default options and only for Article fields we should make sure that the
ArticleType field is set to "note-internal".
                </para>
                <para>
                    <screenshot>
<screeninfo>Edit field details (Article)</screeninfo> <graphic
srccredit="process-management - screenshot" scale='40'
fileref="screenshots/pm-edit-field-article.png"></graphic></screenshot>
                </para>
                <para>
                    <emphasis>Figure: Edit field details (Article).</emphasis>
                </para>
                <para>
                    After all fields are assigned click on the submit button in the main popup
screen to save the changes.
                </para>
                <para>
                    In this example we will use Article field for comments, but another option
could be to create a TextArea type Dynamic Field, the rest of the mentioned
fields in the lines below are the Dynamic Fields that we define before.
                </para>
                <para>
                    Please be aware that in this screen all the Dynamic Fields has the prefix
"DynamicField_" as in "DynamicField_Title", Do not confuse with the field
"Title" that is the Ticket Title.
                </para>
                <para>
                    Create the following Activity Dialogs:
                </para>
                <para>
                <itemizedlist>
                    <listitem>
                        <para>"Recoding the demand" (AD1)</para>
                        <para>
                            An Activity Dialog that contains all the required fields for the data to be
collected for the order (Title, Author and ISBN), and a Status field with
the possibility to choose "Approval".
                        </para>
                    </listitem>
                    <listitem>
                        <para>"Approval denied" (AD2)</para>
                        <para>
                            An Activity Dialog with a comment field (Article) and a Status field with
the option "Approval denied".
                        </para>
                    </listitem>
                    <listitem>
                        <para>"Approved" (AD3)</para>
                        <para>
                            Here we just need the Status field with the option "Approved".
                        </para>
                    </listitem>
                    <listitem>
                        <para>"Order denied" (AD4)</para>
                        <para>
                            An activity dialog which makes it possible for purchasing to reject an
impossible order (book out of stock). Here we also need a comment field and
the Status field with the option "Order denied".
                        </para>
                    </listitem>
                    <listitem>
                        <para>"Order placed" (AD5)</para>
                        <para>
                            An activity dialog with the fields Supplier, Price and Delivery date for
purchasing and the Status field with the option "Order placed".
                        </para>
                    </listitem>
                    <listitem>
                        <para>"Shipment received" (AD6)</para>
                        <para>
                            An activity for the mail room with a field for the Date of receipt and the
Status field with the option "Shipment received".
                        </para>
                    </listitem>
                </itemizedlist>
                </para>
                <para>
                    To restrict the Status field for each activity dialog we need to add some
ACLs in the Kernel/Config.pm or to a new perl file located in
Kernel/Config/Files.
                </para>
                <para>
                    <screen>
    $Self->{TicketAcl}->{'P1-AD1-1'} = {
        Properties => {
            Process => {
                ActivityDialogEntityID => ['AD1'],
            },
        },
        Possible => {
            Ticket => {
                DynamicField_Status => ['Approval'],
            },
        },
    };

    $Self->{TicketAcl}->{'P1-AD2-1'} = {
        Properties => {
            Process => {
                ActivityDialogEntityID => ['AD2'],
            },
        },
        Possible => {
            Ticket => {
                DynamicField_Status => ['Approval denied'],
            },
        },
    };

    $Self->{TicketAcl}->{'P1-AD3-1'} = {
        Properties => {
            Process => {
                ActivityDialogEntityID => ['AD3'],
            },
        },
        Possible => {
            Ticket => {
                DynamicField_Status => ['Approved'],
            },
        },
    };

    $Self->{TicketAcl}->{'P1-AD4-1'} = {
        Properties => {
            Process => {
                ActivityDialogEntityID => ['AD4'],
            },
        },
        Possible => {
            Ticket => {
                DynamicField_Status => ['Order denied'],
            },
        },
    };

    $Self->{TicketAcl}->{'P1-AD5-1'} = {
        Properties => {
            Process => {
                ActivityDialogEntityID => ['AD5'],
            },
        },
        Possible => {
            Ticket => {
                DynamicField_Status => ['Order placed'],
            },
        },
    };

    $Self->{TicketAcl}->{'P1-AD6-1'} = {
        Properties => {
            Process => {
                ActivityDialogEntityID => ['AD6'],
            },
        },
        Possible => {
            Ticket => {
                DynamicField_Status => ['Shipment received'],
            },
        },
    };
                    </screen>
                </para>
        </section>
        <section>
            <title>Transitions</title>
                <para>
                    In the "Available Process Elements" click in "Transitions", then click on
"Create New Transition".
                </para>
                <para>
                    <screenshot>
<screeninfo>Create New Transition button</screeninfo> <graphic
srccredit="process-management - screenshot" scale='40'
fileref="screenshots/pm-accordion-new-transition.png"></graphic></screenshot>
                </para>
                <para>
                    <emphasis>Figure: Create New Transition button.</emphasis>
                </para>
                <para>
                    In the opened popup screen fill the "Transition Name", then in the
conditions, for this examples we will use just one condition and just one
field, for both we can leave the Type of Linking as "and" and we will use
the filed match type value as "String".
                </para>
                <para>
                    <screenshot>
<screeninfo>Add new Transition</screeninfo> <graphic
srccredit="process-management - screenshot" scale='40'
fileref="screenshots/pm-edit-transition.png"></graphic></screenshot>
                </para>
                <para>
                    <emphasis>Figure: Add new Transition.</emphasis>
                </para>
                <para>
                    After all conditions are set click on the submit button to save the changes.
                </para>
                <para>
                    Create the following Transitions:
                </para>
                <para>
                <itemizedlist>
                    <listitem>
                        <para>"Approval" (T1)</para>
                        <para>
                            A transition which checks if the Status field is set to "Approval".
                        </para>
                    </listitem>
                    <listitem>
                        <para>"Approval denied" (T2)</para>
                        <para>
                            A transition which checks if the Status field is set to "Approval denied".
                        </para>
                    </listitem>
                    <listitem>
                        <para>"Approved" (T3)</para>
                        <para>
                            A transition which checks if the Status field is set to "Approved".
                        </para>
                    </listitem>
                    <listitem>
                        <para>"Order denied" (T4)</para>
                        <para>
                            A transition which checks if the Status field is set to "Order denied".
                        </para>
                    </listitem>
                    <listitem>
                        <para>"Order placed" (T5)</para>
                        <para>
                            A transition which checks if the Status field is set to "Order placed".
                        </para>
                    </listitem>
                    <listitem>
                        <para>"Shipment received" (T6)</para>
                        <para>
                            A transition which checks if the Status field is set to "Shipment received".
                        </para>
                    </listitem>
                </itemizedlist>
                </para>
        </section>
        <section>
            <title>Transition Actions</title>
                <para>
                    Click on "Transition Actions" in the "Available Process Elements", then
click on "Create New Transition Action".
                </para>
                <para>
                    <screenshot>
<screeninfo>Create New Transition Action button</screeninfo> <graphic
srccredit="process-management - screenshot" scale='40'
fileref="screenshots/pm-accordion-new-transitionaction.png"></graphic></screenshot>
                </para>
                <para>
                    <emphasis>Figure: Create New Transition Action button.</emphasis>
                </para>
                <para>
                    In the opened popup screen fill the "Transition Name", and the "Transition
Action module" then add the required and optional parameter names and
values.
                </para>
                <para>
                    All the Transition Action Modules are located in
Kernel/System/ProcessManagement/TransitionAction and the following is the
list of bundled Transition Actions included in this release
                </para>
                <para>
                    <itemizedlist>
                        <listitem><para>DynamicFieldSet</para></listitem>
                        <listitem><para>TicketArticleCreate</para></listitem>
                        <listitem><para>TicketCustomerSet</para></listitem>
                        <listitem><para>TicketLockSet</para></listitem>
                        <listitem><para>TicketOwnerSet</para></listitem>
                        <listitem><para>TicketQueueSet</para></listitem>
                        <listitem><para>TicketResponsibleSet</para></listitem>
                        <listitem><para>TicketServiceSet</para></listitem>
                        <listitem><para>TicketSLASet</para></listitem>
                        <listitem><para>TicketStateSet</para></listitem>
                        <listitem><para>TicketTitleSet</para></listitem>
                        <listitem><para>TicketTypeSet</para></listitem>
                    </itemizedlist>
                </para>
                <para>
                    Each module has its own and different parameters.  Please review the <link
linkend="available-transition-actions">module documentation</link> to learn
all require and optional parameters.
                </para>
                <para>
                    <screenshot>
<screeninfo>Add new Transition Action</screeninfo> <graphic
srccredit="process-management - screenshot" scale='40'
fileref="screenshots/pm-edit-transitionaction.png"></graphic></screenshot>
                </para>
                <para>
                    <emphasis>Figure: Add new Transition Action.</emphasis>
                </para>
                <para>
                    After all parameters and values are set click on the submit button to save
the changes.
                </para>
                <para>
                    Create the following Transitions Actions:
                </para>
                <para>
                <itemizedlist>
                    <listitem>
                        <para>"Move the process ticket into the 'Management' queue" (TA1)</para>
                        <para>
                            This action is supposed to be executed when the Transition "Approval" (T1)
applied.
                        </para>
                    </listitem>
                    <listitem>
                        <para>"Change ticket responsible to 'manager'" (TA2)</para>
                        <para>
                            To be executed when the Transition "Approval" (T1) applied.
                        </para>
                    </listitem>
                    <listitem>
                        <para>"Move the process ticket into the 'Employees' queue"" (TA3)</para>
                        <para>To be executed when:</para>
                        <itemizedlist>
                            <listitem><para>
                                The Transition "Approval denied" (T2) applied
                            </para></listitem>
                            <listitem><para>
                                The Transition "Order denied" (T4) applied
                            </para></listitem>
                            <listitem><para>
                                The Transition "Shipment received" (T6) applied
                            </para></listitem>
                        </itemizedlist>
                    </listitem>
                    <listitem>
                        <para>"Change ticket responsible to 'Employee'" (TA4)</para>
                        <para>To be executed when:</para>
                        <itemizedlist>
                            <listitem><para>
                                The transition "Approval denied" (T2) applied
                            </para></listitem>
                            <listitem><para>
                                The transition "Order denied" (T4) applied
                            </para></listitem>
                            <listitem><para>
                                The transition "Shipment received" (T6) applied
                            </para></listitem>
                        </itemizedlist>
                    </listitem>
                    <listitem>
                        <para>"Move process ticket into the 'Purchasing' queue" (TA5)</para>
                        <para>To be executed when the transition "Approved" (T3) applied.</para>
                    </listitem>
                    <listitem>
                        <para>"Move process ticket into the 'Post office' queue" (TA6)</para>
                        <para>To be executed when the transition "Order placed" (T5) applied.</para>
                    </listitem>
                    <listitem>
                        <para>"Close ticket successfully" (TA7)</para>
                        <para>To be executed when:</para>
                        <itemizedlist>
                            <listitem><para>
                                The transition "Shipment received" (T6) applied
                            </para></listitem>
                        </itemizedlist>
                    </listitem>
                    <listitem>
                        <para>"Close ticket unsuccessfully" (TA8)</para>
                        <para>To be executed when:</para>
                        <itemizedlist>
                            <listitem><para>
                                The transition "Approval denied" (T2) applied
                            </para></listitem>
                            <listitem><para>
                                The transition "Order denied" (T4) applied
                            </para></listitem>
                        </itemizedlist>
                    </listitem>
                </itemizedlist>
                </para>
                <para>
                    As you can see, there are places where the same Transition Actions should be
executed. Therefore it is reasonable to make it possible to link Transition
Actions freely with Transitions to be able to reuse them.
                </para>
        </section>
        <section>
            <title>Activities</title>
            <para>
                We chose the approach to see Activities as a basket which can contain one or
more Activity Dialogs.
            </para>
            <para>
                Click on "Activities" in the "Available Process Elements", then click on
"Create New Activity".
            </para>
            <para>
                <screenshot>
<screeninfo>Create New Activity button</screeninfo> <graphic
srccredit="process-management - screenshot" scale='40'
fileref="screenshots/pm-accordion-new-activity.png"></graphic></screenshot>
            </para>
            <para>
                <emphasis>Figure: Create New Activity button.</emphasis>
            </para>
            <para>
                In the opened popup screen fill the "Activity Name", Then drap the required
Activity Dialogs from the "Available Activity Dialogs" pool, and drop then
into to the "Assigned Activity Dialogs" pool. This dialogs will be presented
(in the ticket zoom screen) in the same order as it is defined on this
screen translating from top to bottom, to left to right.
            </para>
            <para>
                This order is specially important in the first Activity, since the first
Activity Dialog for this activity is the only one that is presented when the
process starts
            </para>
            <para>
                Create the following Activities:
            </para>
            <para>
                <itemizedlist>
                    <listitem>
                        <para>"Recording the demand" (A1)</para>
                        <para>Contains the Activity Dialog "Recording the demand" (AD1)</para>
                    </listitem>
                    <listitem>
                        <para>"Approval" (A2)</para>
                        <para>
                            Contains the Activity Dialogs "Approval denied" (AD2) as well as "Approved"
(AD3)
                        </para>
                    </listitem>
                    <listitem>
                        <para>"Order" (A3)</para>
                        <para>
                            Contains the Activity Dialogs "Order rejected" (AD4) as well as "Order
placed" (AD5)
                        </para>
                    </listitem>
                    <listitem>
                        <para>"Incoming" (A4)</para>
                        <para>Contains the Activity Dialog "Shipment received" (AD6)</para>
                    </listitem>
                    <listitem>
                        <para>"Process complete" (A5): This is an Activity without possible Activity
Dialogs.  It will be set after "Approval denied", "Order denied" or
"Shipment received" and represents the end of the process.
                        </para>
                    </listitem>
                </itemizedlist>
            </para>
            <para>
                Now we can clearly see that Activities are precisely defined states of a
process ticket. After a successful Transition a process ticket moves from
one Activity to another.
            </para>
        </section>
        <section>
            <title>Book ordering process Path</title>
            <para>
                Let us conclude our example with the last missing piece in the puzzle, the
Process as the a flow describer. In our case this is the whole ordering
work-flow. Other processes could be office supply ordering or completely
different processes.
            </para>
            <para>
                The process has a starting point which consists of the start Activity and
the start Activity Dialog. For any new book order, the start Activity Dialog
(first Activity Dialog for the first Activity) is the first screen that is
displayed. If this is completed and saved, the Process ticket will be
created and can follow the configured work-flow.
            </para>
            <para>
                The process also contains the directions for how the process ticket can move
through the Process. Let's call this the "Path". It consists of the start
Activity, one or more Transitions (possibly with Transition Actions), and
other Activities.
            </para>
            <para>
                Assuming that the Activities has already assigned their Activity Dialogs
drag an Activity from the accordion (in the left part of the screen) and
drop it into the canvas area (below process information). Notice that an
arrow from the process start (green circle) to the Activity is placed
automatically. (This is the first Activity and its first Activity Dialog is
the first screen that will be shown when the process starts).
            </para>
            <para>
                <screenshot>
<screeninfo>Drag first Activity into the canvas</screeninfo> <graphic
srccredit="process-management - screenshot" scale='40'
fileref="screenshots/pm-canvas-drag-activity.png"></graphic></screenshot>
            </para>
            <para>
                <emphasis>Figure: Drag first Activity into the canvas.</emphasis>
            </para>
            <para>
                Next, drag another Activity into the canvas too. now we will have two
Activities in the canvas the first one is connected to the start point and
the second has no connections, you can hover the mouse over each activity to
reveal their own Activity Dialogs.
            </para>
            <para>
                <screenshot>
<screeninfo>Drag second Activity into the canvas</screeninfo> <graphic
srccredit="process-management - screenshot" scale='40'
fileref="screenshots/pm-canvas-drag-activity2.png"></graphic></screenshot>
            </para>
            <para>
                <emphasis>Figure: Drag second Activity into the canvas.</emphasis>
            </para>
            <para>
                Then let's create the "Path" (connection) between this two Activities, for
this we will use the Transitions, Click on Transitions in the accordion drag
a Transition and drop it inside the first Activity, notice that the Activity
change its color indicating that the Transition is attached, as soon as the
Transition is dropped the end point of the Transition arrow will be placed
next to the process start point. Drag the Transition arrow end point and
drop it inside the other Activity to create the connection between the
Activities.
            </para>
            <para>
                <screenshot>
<screeninfo>Drag a Transition into the canvas</screeninfo> <graphic
srccredit="process-management - screenshot" scale='40'
fileref="screenshots/pm-canvas-drag-transition.png"></graphic></screenshot>
            </para>
            <para>
                <emphasis>Figure: Drag a Transition into the canvas.</emphasis>
            </para>
            <para>
                Now that the "Path" between the Actions is defined, then we need to assign
the Transition Actions to the Transition, double click the Transition label
(in the canvas), this will open a new popup window.
            </para>
            <para>
                <screenshot>
<screeninfo>Connect Activities using Transitions</screeninfo> <graphic
srccredit="process-management - screenshot" scale='40'
fileref="screenshots/pm-canvas-drag-transition2.png"></graphic></screenshot>
            </para>
            <para>
                <emphasis>Figure: Connect Activities using Transitions.</emphasis>
            </para>
            <para>
                Drag the needed Transition Actions from Available Transition Actions pool
and drop them into the Assigned Transition Actions pool and click on submit
button.
            </para>
            <para>
                <screenshot>
<screeninfo>Assign Transition Actions</screeninfo> <graphic
srccredit="process-management - screenshot" scale='40'
fileref="screenshots/pm-edit-path.png"></graphic></screenshot>
            </para>
            <para>
                <emphasis>Figure: Assign Transition Actions.</emphasis>
            </para>
            <para>
                Then back in the main process edit screen click on save button below the
canvas to save all other changes.
            </para>
            <para>
                Complete the "path"" adding the following Activities, Transitions and
Transition Actions:
            </para>
            <para>Recording the demand until "Approval"</para>
            <para>
                <itemizedlist>
                    <listitem>
                        <para>Starting point: Activity: Recording the demand (A1)</para>
                    </listitem>
                    <listitem>
                        <para>Possible Transition: Approval (T1)</para>
                        <itemizedlist>
                            <listitem>
                                <para>
                                    If the condition of this activity is fulfilled, the ticket will move to
Activity: Approval (A2)
                                </para>
                            </listitem>
                            <listitem>
                                <para>
                                    Additionally, the following TransitionActions are executed:
                                </para>
                                <itemizedlist>
                                    <listitem>
                                        <para>
                                            "Moving the ticket into the 'Management' Queue" (TA1)
                                        </para>
                                    </listitem>
                                    <listitem>
                                        <para>"Set ticket responsible to 'manager'" (TA2)</para>
                                    </listitem>
                                </itemizedlist>
                            </listitem>
                        </itemizedlist>
                    </listitem>
                </itemizedlist>
            </para>
            <para>
                The Activity: "Recording the demand" (A1) is a defined step of the process
ticket, where there is the possibility for the Transition: "Approval"
(T1). If this applies, the ticket will move to the next Activity: "Approval"
(A2), and the Transition Actions: "Moving the ticket into the 'Management'
Queue" (TA1) and "Set ticket responsible to 'manager'" (TA2) are
executed. In the Activity: "Approval" (A2), the Activity Dialogs: "Approval
denied" (AD2) and "Approved" (AD3) are available.
            </para>
            <para>Approval</para>
            <para>
                <itemizedlist>
                    <listitem>
                        <para>Starting Point: Activity "Approval" (A2)</para>
                    </listitem>
                    <listitem>
                        <para>Possible Transitions:</para>
                            <itemizedlist>
                                <listitem>
                                    <para>"Approval denied" (T2)</para>
                                    <itemizedlist>
                                        <listitem>
                                        <para>
                                            If this matches, the process ticket will move to Activity:"Process complete"
(A5).
                                        </para>
                                        </listitem>
                                        <listitem>
                                        <para>
                                            Additionally, the following Transition Actions are executed:
                                        </para>
                                        <itemizedlist>
                                        <listitem>
                                            <para>
                                                "Move process ticket to the 'Employees' Queue" (TA3)
                                            </para>
                                        </listitem>
                                        <listitem>
                                            <para>
                                                "Set ticket responsible to 'Employee'" (TA4)
                                             </para>
                                        </listitem>
                                        <listitem>
                                            <para>
                                                "Close ticket unsuccessfully" (TA8)
                                             </para>
                                        </listitem>
                                        </itemizedlist>
                                        </listitem>
                                    </itemizedlist>
                                </listitem>
                                <listitem>
                                    <para>"Approved" (T3)</para>
                                    <itemizedlist>
                                        <listitem>
                                        <para>
                                            If this matches, the process ticket will move to Activity: "Order" (A3).
                                        </para>
                                        </listitem>
                                        <listitem>
                                            <para>
                                                Additionally, the following Transition Action is executed:
                                            </para>
                                            <itemizedlist>
                                            <listitem>
                                                <para>
                                                    "Move process ticket to 'Purchasing' Queue" (TA5)
                                                </para>
                                            </listitem>
                                            </itemizedlist>
                                        </listitem>
                                    </itemizedlist>
                                </listitem>
                            </itemizedlist>
                    </listitem>
                </itemizedlist>
            </para>
            <para>
                We can see that from the current Activity, which defines a step of the
process ticket, there are one or more possibilities for Transition which
have exactly one target Activity (and possibly one or more Transition
Actions).
            </para>
            <para>Order</para>
            <para>
                <itemizedlist>
                    <listitem>
                        <para>Starting Point: Activity "Order" (A3)</para>
                    </listitem>
                    <listitem>
                        <para>Possible Transitions:</para>
                            <itemizedlist>
                                <listitem>
                                    <para>"Order denied" (T4)</para>
                                    <itemizedlist>
                                        <listitem>
                                        <para>
                                            If this matches, the process ticket will move to Activity:"Process complete"
(A5).
                                        </para>
                                        </listitem>
                                        <listitem>
                                        <para>
                                            Additionally, the following Transition Actions are executed:
                                        </para>
                                        <itemizedlist>
                                        <listitem>
                                            <para>
                                                "Move process ticket to the 'Employees' Queue" (TA3)
                                            </para>
                                        </listitem>
                                        <listitem>
                                            <para>
                                                "Set ticket responsible to 'Employee'" (TA4)
                                             </para>
                                        </listitem>
                                        <listitem>
                                            <para>
                                                "Close ticket unsuccessfully" (TA8)
                                             </para>
                                        </listitem>
                                        </itemizedlist>
                                        </listitem>
                                    </itemizedlist>
                                </listitem>
                                <listitem>
                                    <para>"Order placed" (T5)</para>
                                    <itemizedlist>
                                        <listitem>
                                        <para>
                                            If this matches, the process ticket will move to Activity: "Incoming" (A5).
                                        </para>
                                        </listitem>
                                        <listitem>
                                            <para>
                                                Additionally, the following Transition Action is executed:
                                            </para>
                                            <itemizedlist>
                                            <listitem>
                                                <para>
                                                    "Move process ticket to 'Post office' Queue" (TA6)
                                                </para>
                                            </listitem>
                                            </itemizedlist>
                                        </listitem>
                                    </itemizedlist>
                                </listitem>
                            </itemizedlist>
                    </listitem>
                </itemizedlist>
            </para>
            <para>Incoming</para>
            <para>
                <itemizedlist>
                    <listitem>
                        <para>Starting Point: Activity "Incoming" (A4)</para>
                    </listitem>
                    <listitem>
                        <para>Possible Transitions:</para>
                            <itemizedlist>
                                <listitem>
                                    <para>"Shipment received" (T6)</para>
                                    <itemizedlist>
                                        <listitem>
                                        <para>
                                            If this matches, the process ticket will move to Activity:"Process complete"
(A5).
                                        </para>
                                        </listitem>
                                        <listitem>
                                        <para>
                                            Additionally, the following Transition Actions are executed:
                                        </para>
                                        <itemizedlist>
                                        <listitem>
                                            <para>
                                                "Move process ticket to the 'Employees' Queue" (TA3)
                                            </para>
                                        </listitem>
                                        <listitem>
                                            <para>
                                                "Set ticket responsible to 'Employee'" (TA4)
                                             </para>
                                        </listitem>
                                        <listitem>
                                            <para>
                                                "Close ticket successfully" (TA7)
                                             </para>
                                        </listitem>
                                        </itemizedlist>
                                        </listitem>
                                    </itemizedlist>
                                </listitem>
                            </itemizedlist>
                    </listitem>
                </itemizedlist>
            </para>
            <para>
                The complete Path for the book ordering Process will then look like this:
            </para>
            <para>
                <screenshot>
<screeninfo>Book ordering complete process path</screeninfo> <graphic
srccredit="process-management - screenshot" scale='40'
fileref="screenshots/pm-edit-process.png"></graphic></screenshot>
            </para>
            <para>
                <emphasis>Figure: Book ordering complete process path.</emphasis>
            </para>
            <para>
                After you finish the process path please click on "Save" button in the lower
part of the canvas and then click on "Synchronize All Processes"
button. This will gather all processes information form the Database and
create a cache file (in Perl language). This cache file is acctually the
processes configuration that the system will use to create or use process
tickets.
            </para>
            <para>
                Any change that is made of the process (in the GUI) will require to
re-synchronize the cache file in order to get the change reflected in the
system.
            </para>
            <para>
                It is also possible to import the whole process from a YAML file, but it is
still necessary to create all Dynamic Fields, Users, Queues, etc that are
needed by each process before the import.
            </para>
            <para>
                Notice that if the process requires the use of ACLs those are also needed to
be set manually.
            </para>
            <para>
                The follwing is the complete YAML file for the book ordering process
example:
            </para>
            <para>
                <screen><![CDATA[
---
Activities:
  A1:
    ActivityDialogs:
      - AD1
    ChangeTime: 2012-11-23 14:49:22
    Config:
      ActivityDialog:
        1: AD1
    CreateTime: 2012-11-23 11:49:38
    EntityID: A1
    ID: 151
    Name: Recording the demand
  A2:
    ActivityDialogs:
      - AD2
      - AD3
    ChangeTime: 2012-12-13 00:55:12
    Config:
      ActivityDialog:
        1: AD2
        2: AD3
    CreateTime: 2012-11-23 11:50:11
    EntityID: A2
    ID: 152
    Name: Approval
  A3:
    ActivityDialogs:
      - AD4
      - AD5
    ChangeTime: 2012-11-23 18:12:14
    Config:
      ActivityDialog:
        1: AD4
        2: AD5
    CreateTime: 2012-11-23 11:50:35
    EntityID: A3
    ID: 153
    Name: Order
  A4:
    ActivityDialogs:
      - AD6
    ChangeTime: 2012-11-23 18:12:35
    Config:
      ActivityDialog:
        1: AD6
    CreateTime: 2012-11-23 11:51:00
    EntityID: A4
    ID: 154
    Name: Incoming
  A5:
    ActivityDialogs: []
    ChangeTime: 2012-11-23 11:51:33
    Config: {}
    CreateTime: 2012-11-23 11:51:33
    EntityID: A5
    ID: 155
    Name: Process complete
ActivityDialogs:
  AD1:
    ChangeTime: 2012-12-06 02:16:21
    Config:
      DescriptionLong: ''
      DescriptionShort: Recoding the demand
      FieldOrder:
        - DynamicField_Author
        - DynamicField_ISBN
        - DynamicField_Title
        - DynamicField_Status
      Fields:
        DynamicField_Author:
          DefaultValue: ''
          DescriptionLong: ''
          DescriptionShort: ''
          Display: 1
        DynamicField_ISBN:
          DefaultValue: ''
          DescriptionLong: ''
          DescriptionShort: ''
          Display: 1
        DynamicField_Status:
          DefaultValue: ''
          DescriptionLong: ''
          DescriptionShort: ''
          Display: 1
        DynamicField_Title:
          DefaultValue: ''
          DescriptionLong: ''
          DescriptionShort: ''
          Display: 1
      Interface:
        - AgentInterface
      Permission: ''
      RequiredLock: 0
      SubmitAdviceText: ''
      SubmitButtonText: ''
    CreateTime: 2012-11-23 14:34:43
    EntityID: AD1
    ID: 154
    Name: Recording the demand
  AD2:
    ChangeTime: 2012-11-23 14:57:41
    Config:
      DescriptionLong: ''
      DescriptionShort: Approval denied
      FieldOrder:
        - Article
        - DynamicField_Status
      Fields:
        Article:
          Config:
            ArticleType: note-internal
          DefaultValue: ''
          DescriptionLong: ''
          DescriptionShort: ''
          Display: 1
        DynamicField_Status:
          DefaultValue: ''
          DescriptionLong: ''
          DescriptionShort: ''
          Display: 1
      Interface:
        - AgentInterface
      Permission: ''
      RequiredLock: 0
      SubmitAdviceText: ''
      SubmitButtonText: Deny Request
    CreateTime: 2012-11-23 14:36:39
    EntityID: AD2
    ID: 155
    Name: Approval denied
  AD3:
    ChangeTime: 2012-12-14 03:14:23
    Config:
      DescriptionLong: ''
      DescriptionShort: Approved
      FieldOrder:
        - DynamicField_Status
      Fields:
        DynamicField_Status:
          DefaultValue: ''
          DescriptionLong: ''
          DescriptionShort: ''
          Display: 1
      Interface:
        - AgentInterface
      Permission: ''
      RequiredLock: 0
      SubmitAdviceText: ''
      SubmitButtonText: Approve Request
    CreateTime: 2012-11-23 14:37:35
    EntityID: AD3
    ID: 156
    Name: Approved
  AD4:
    ChangeTime: 2012-11-23 14:58:52
    Config:
      DescriptionLong: ''
      DescriptionShort: Order rejected
      FieldOrder:
        - Article
        - DynamicField_Status
      Fields:
        Article:
          Config:
            ArticleType: note-internal
          DefaultValue: ''
          DescriptionLong: ''
          DescriptionShort: ''
          Display: 1
        DynamicField_Status:
          DefaultValue: ''
          DescriptionLong: ''
          DescriptionShort: ''
          Display: 1
      Interface:
        - AgentInterface
      Permission: ''
      RequiredLock: 0
      SubmitAdviceText: ''
      SubmitButtonText: Reject Order
    CreateTime: 2012-11-23 14:38:48
    EntityID: AD4
    ID: 157
    Name: Order rejected
  AD5:
    ChangeTime: 2012-12-06 02:20:12
    Config:
      DescriptionLong: ''
      DescriptionShort: Order placed
      FieldOrder:
        - DynamicField_DeliveryDate
        - DynamicField_Price
        - DynamicField_Supplier
        - DynamicField_Status
      Fields:
        DynamicField_DeliveryDate:
          DefaultValue: ''
          DescriptionLong: ''
          DescriptionShort: ''
          Display: 1
        DynamicField_Price:
          DefaultValue: ''
          DescriptionLong: ''
          DescriptionShort: ''
          Display: 1
        DynamicField_Status:
          DefaultValue: ''
          DescriptionLong: ''
          DescriptionShort: ''
          Display: 1
        DynamicField_Supplier:
          DefaultValue: ''
          DescriptionLong: ''
          DescriptionShort: ''
          Display: 1
      Interface:
        - AgentInterface
      Permission: ''
      RequiredLock: 0
      SubmitAdviceText: ''
      SubmitButtonText: Place Order
    CreateTime: 2012-11-23 14:41:28
    EntityID: AD5
    ID: 158
    Name: Order placed
  AD6:
    ChangeTime: 2012-11-23 14:42:43
    Config:
      DescriptionLong: ''
      DescriptionShort: Shipment received
      FieldOrder:
        - DynamicField_DateOfReceipt
        - DynamicField_Status
      Fields:
        DynamicField_DateOfReceipt:
          DefaultValue: ''
          DescriptionLong: ''
          DescriptionShort: ''
          Display: 1
        DynamicField_Status:
          DefaultValue: ''
          DescriptionLong: ''
          DescriptionShort: ''
          Display: 1
      Interface:
        - AgentInterface
      Permission: ''
      RequiredLock: 0
      SubmitAdviceText: ''
      SubmitButtonText: ''
    CreateTime: 2012-11-23 14:42:43
    EntityID: AD6
    ID: 159
    Name: Shipment received
Process:
  Activities:
    - A1
    - A2
    - A3
    - A4
    - A5
  ChangeTime: 2012-12-06 02:31:59
  Config:
    Description: The process to order a book
    Path:
      A1:
        T1:
          ActivityEntityID: A2
          TransitionAction:
            - TA2
            - TA1
      A2:
        T2:
          ActivityEntityID: A5
          TransitionAction:
            - TA3
            - TA4
            - TA8
        T3:
          ActivityEntityID: A3
          TransitionAction:
            - TA5
      A3:
        T4:
          ActivityEntityID: A5
          TransitionAction:
            - TA3
            - TA4
            - TA8
        T5:
          ActivityEntityID: A4
          TransitionAction:
            - TA6
      A4:
        T6:
          ActivityEntityID: A5
          TransitionAction:
            - TA3
            - TA4
            - TA7
      A5: {}
    StartActivity: A1
    StartActivityDialog: AD1
  CreateTime: 2012-11-23 11:45:12
  EntityID: P1
  ID: 94
  Layout:
    A1:
      left: 172
      top: 63
    A2:
      left: 402
      top: 156
    A3:
      left: 649
      top: 255
    A4:
      left: 774
      top: 391
    A5:
      left: 194
      top: 410
  Name: Book ordering
  State: Active
  StateEntityID: S1
  TransitionActions:
    - TA1
    - TA2
    - TA3
    - TA4
    - TA8
    - TA5
    - TA3
    - TA4
    - TA8
    - TA6
    - TA3
    - TA4
    - TA7
  Transitions:
    - T1
    - T2
    - T3
    - T4
    - T5
    - T6
TransitionActions:
  TA1:
    ChangeTime: 2012-11-23 16:01:37
    Config:
      Config:
        Queue: Management
      Module: Kernel::System::ProcessManagement::TransitionAction::TicketQueueSet
    CreateTime: 2012-11-23 15:50:59
    EntityID: TA1
    ID: 61
    Name: Move the process ticket into the "Management" queue
  TA2:
    ChangeTime: 2012-11-23 16:02:12
    Config:
      Config:
        Responsible: manager
      Module: Kernel::System::ProcessManagement::TransitionAction::TicketResponsibleSet
    CreateTime: 2012-11-23 15:58:22
    EntityID: TA2
    ID: 62
    Name: Change ticket responsible to "manager"
  TA3:
    ChangeTime: 2012-11-24 14:27:02
    Config:
      Config:
        Queue: Employees
      Module: Kernel::System::ProcessManagement::TransitionAction::TicketQueueSet
    CreateTime: 2012-11-23 16:02:54
    EntityID: TA3
    ID: 63
    Name: Move the process ticket into the "Employees" queue
  TA4:
    ChangeTime: 2012-11-23 16:04:06
    Config:
      Config:
        Responsible: Employee
      Module: Kernel::System::ProcessManagement::TransitionAction::TicketResponsibleSet
    CreateTime: 2012-11-23 16:04:06
    EntityID: TA4
    ID: 64
    Name: Change ticket responsible to "Employee"
  TA5:
    ChangeTime: 2012-12-06 02:18:34
    Config:
      Config:
        Queue: Purchasing
      Module: Kernel::System::ProcessManagement::TransitionAction::TicketQueueSet
    CreateTime: 2012-11-23 16:04:54
    EntityID: TA5
    ID: 65
    Name: Move process ticket into the "Purchasing" queue
  TA6:
    ChangeTime: 2012-12-06 02:18:48
    Config:
      Config:
        Queue: Post office
      Module: Kernel::System::ProcessManagement::TransitionAction::TicketQueueSet
    CreateTime: 2012-11-23 16:06:20
    EntityID: TA6
    ID: 66
    Name: Move process ticket into the "Post office" queue
  TA7:
    ChangeTime: 2012-12-06 02:29:55
    Config:
      Config:
        State: closed successful
      Module: Kernel::System::ProcessManagement::TransitionAction::TicketStateSet
    CreateTime: 2012-12-06 02:29:27
    EntityID: TA7
    ID: 67
    Name: Close ticket successfully
  TA8:
    ChangeTime: 2012-12-06 02:31:12
    Config:
      Config:
        State: closed unsuccessful
      Module: Kernel::System::ProcessManagement::TransitionAction::TicketStateSet
    CreateTime: 2012-12-06 02:31:12
    EntityID: TA8
    ID: 68
    Name: Close ticket unsuccessfully
Transitions:
  T1:
    ChangeTime: 2012-11-23 15:12:20
    Config:
      Condition:
        1:
          Fields:
            DynamicField_Status:
              Match: Approval
              Type: String
          Type: and
      ConditionLinking: and
    CreateTime: 2012-11-23 11:53:52
    EntityID: T1
    ID: 94
    Name: Approval
  T2:
    ChangeTime: 2012-11-23 15:12:50
    Config:
      Condition:
        1:
          Fields:
            DynamicField_Status:
              Match: Approval denied
              Type: String
          Type: and
      ConditionLinking: and
    CreateTime: 2012-11-23 11:54:26
    EntityID: T2
    ID: 95
    Name: Approval denied
  T3:
    ChangeTime: 2012-11-23 15:13:29
    Config:
      Condition:
        1:
          Fields:
            DynamicField_Status:
              Match: Approved
              Type: String
          Type: and
      ConditionLinking: and
    CreateTime: 2012-11-23 11:54:54
    EntityID: T3
    ID: 96
    Name: Approved
  T4:
    ChangeTime: 2012-11-23 15:14:08
    Config:
      Condition:
        1:
          Fields:
            DynamicField_Status:
              Match: Order denied
              Type: String
          Type: and
      ConditionLinking: and
    CreateTime: 2012-11-23 11:55:25
    EntityID: T4
    ID: 97
    Name: Order denied
  T5:
    ChangeTime: 2012-11-23 18:30:33
    Config:
      Condition:
        1:
          Fields:
            DynamicField_Status:
              Match: Order placed
              Type: String
          Type: and
      ConditionLinking: and
    CreateTime: 2012-11-23 11:56:15
    EntityID: T5
    ID: 98
    Name: Order placed
  T6:
    ChangeTime: 2012-11-23 15:15:30
    Config:
      Condition:
        1:
          Fields:
            DynamicField_Status:
              Match: Shipment received
              Type: String
          Type: and
      ConditionLinking: and
    CreateTime: 2012-11-23 11:56:48
    EntityID: T6
    ID: 99
    Name: Shipment received

                ]]></screen>
            </para>
        </section>
    </section>

    <section>
        <title>Process configuration reference</title>

        <section>
            <title>Process</title>
            <para>
                A Process models the path of a workflow/process. The waypoints on this path
can be Activities or Transitions, we'll talk about these later.
            </para>
            <section>
                <title>Process configuration</title>
                <para>
                    The Process configuration can be done in the file
<filename>Kernel/Config.pm</filename> but it is strongly recommended to
create new files like
<filename>Kernel/Config/Files/MyProcess.pm</filename>. notice that the GUI
generates the file
<filename>Kernel/Config/File/ZZZProcessManagement</filename> please avoid to
use that filename, otherwise it will be overwritten when you sync
processes.  Let's see an example process configuration (from process cache
file):
                </para>
                <para>
                    <screen>
$Self->{'Process'} = {
    'P1' => {
        Name                => 'Book order',
        CreateTime          => '16-02-2012 13:37:00',
        CreateBy            => '1',
        ChangeTime          => '17-02-2012 13:37:00',
        ChangeBy            => '1',
        State               => 'Active',
        StartActivity       => 'A1',
        StartActivityDialog => 'AD1',
        Path => {
            'A1' => {
                'T1' => {
                    ActivityEntityID => 'A2',
                },
            },
            'A2' => {
                'T2' =>  {
                    ActivityEntityID => 'A3',
                },
            },
        },
    },
    'P2' => {
        Name                => 'IT order',
        CreateTime          => '26-02-2012 13:37:00',
        CreateBy            => '1',
        ChangeTime          => '27-02-2012 13:37:00',
        ChangeBy            => '1',
        State               => 'Active',
        StartActivity       => 'A2',
        StartActivityDialog => 'AD2',
        Path => {
            'A2' => {
                'T3' => {
                    ActivityEntityID => 'A4',
                },
            },
        },
    }
};
                    </screen>
                </para>
            </section>
            <section>
                <title>Name</title>
                <para>
                    The name of the process, this can be selected by the agent when creating a
new process ticket.
                </para>
            </section>
            <section>
                <title>CreateTime</title>
                <para>
                    The time when the process was created.
                </para>
            </section>
            <section>
                <title>CreateBy</title>
                <para>
                    The UID of the user creating the process.
                </para>
            </section>
            <section>
                <title>ChangeTime</title>
                <para>
                    The time when the process was changed.
                </para>
            </section>
            <section>
                <title>ChangeBy</title>
                <para>
                    The UID of the user who made the last change to the process.
                </para>
            </section>
            <section>
                <title>State</title>
                <para>
                    Defines the state of a process. Possible values:
                    <itemizedlist>
                        <listitem>
                            <para>
                                'Active' are all processes which can be used in new process tickets.
                            </para>
                        </listitem>
                        <listitem>
                            <para>
                                'FadeAway' are processes which cannot be selected any more for new tickets,
but existing tickets still can use the process.
                            </para>
                        </listitem>
                        <listitem>
                            <para>
                                'Inactive' processes are deactivated and cannot be used for new or existing
tickets.
                            </para>
                        </listitem>
                    </itemizedlist>
                </para>
            </section>
            <section>
                <title>StartActivity</title>
                <para>
                    When creating a new process ticket, a StartActivity must be defined. As soon
as the ticket is created, this Activity will be set and used as the base for
the first transition checks.
                </para>
            </section>
            <section>
                <title>StartActivityDialog</title>
                <para>
                    For new process tickets, a StartActivityDialog must be defined. This will be
shown when creating a new process ticket (after the process was
selected). At this point, the ticket does not exist yet, it will be created
after submitting the StartActivityDialog.
                </para>
            </section>
            <section>
                <title>Path</title>
                <para>
                    The Path contains the structure of the Activities, and the possible
Transitions between them, for the current process. And also the Transition
Actions that happens when transitioning . This controls the way that a
process ticket can take. Example:
                </para>
                <para>
                    <screen>
'A1' => {
    'T1' => {
        ActivityEntityID => 'A2',
    },
    'T2' => {
        ActivityEntityID => 'A3',
    },
    'T3' => {
        ActivityEntityID => 'A4',
        TransitionAction => ['TA1', 'TA2'],
    },
},
                    </screen>
                </para>
                <para>
                    If a process ticket is in Activity 'A1', it has three possible ways to get
to another Activity. In the Transitions 'T1' to 'T3', conditions are
defined, that a process ticket must fulfill to move (transit) to another
Activity.
                </para>
                <para>
                    If in this case all the values of the process ticket and its dynamic fields
that are needed for the Transition 'T2' are correct, the ticket will be
moved from Activity 'A1' to 'A3'. After an ActivityDialog is submitted, or
any other change is made to a ticket, it will be checked for possible
Transitions from the current Activity. If multiple Transitions are possible,
the first one will be used (based on nummerical sorting of the
TransitionIDs).
                </para>
                <para>
                    Additionally, it is possible to assign Transition Actions to Transitions in
the Path configuration. These are modules which are executed after a
successful Transition. They have to be specified in array form as in the
example, we'll talk about the details later.
                </para>
            </section>
        </section>

        <section>
            <title>Activity</title>
            <para>
                An Activity contains one or more Activity Dialogs and models a 'step' in the
process. All Activity Dialogs of the current Activity are displayed in the
ticket zoom and can be used until the conditions of a Transition are
fulfilled.
            </para>
            <section>
            <title>Activity configuration</title>
            <para>
                Let's see an example activity configuration:
            </para>
            <para>
                <screen>
$Self->{'Process::Activity'} =
{
    'A1' => {
        Name       => 'Activity 1 optional',
        CreateTime => '16-02-2012 13:37:00',
        CreateBy   => '1',
        ChangeTime => '17-02-2012 13:37:00',
        ChangeBy   => '1',
        ActivityDialog => {
            1 => 'AD1',
        },
    },
    'A2' => {
        Name       => 'Activity 2 optional',
        CreateTime => '16-02-2012 13:37:00',
        CreateBy   => '1',
        ChangeTime => '17-02-2012 13:37:00',
        ChangeBy   => '1',
        ActivityDialog => {
            1 => 'AD5',
            2 => 'AD6',
            3 => 'AD1',
        },
    },
};
                </screen>
            </para>
            </section>
            <section>
                <title>Name</title>
                <para>
                    The name of the activity.
                </para>
            </section>
            <section>
                <title>CreateTime</title>
                <para>
                    The time when it was created.
                </para>
            </section>
            <section>
                <title>CreateBy</title>
                <para>
                    UID of the user who created the Activity.
                </para>
            </section>
            <section>
                <title>ChangeTime</title>
                <para>
                    The last time when it was changed.
                </para>
            </section>
            <section>
                <title>ChangeBy</title>
                <para>
                    UID of the last user who changed the Activity.
                </para>
            </section>
            <section>
                <title>ActivityDialog</title>
                <para>
                    Activity Dialog contains the list of Activity Dialogs which are available in
this Activity. All Activity Dialogs of the current Activity are displayed in
the ticket zoom. Their order is set by the order in the configuration, here
'AD5' is shown before 'AD6' and 'AD1'.
                </para>
            </section>
        </section>

        <section>
            <title>ActivityDialog</title>
            <para>
                An Activity Dialog is a particular screen and can be used in different
Activities.
            </para>
            <section>
                <title>ActivityDialog configuration</title>
                <para>
                    Let's see an example config
                </para>
                <para>
                    <screen>
$Self->{'Process::ActivityDialog'} = {
    'AD1' => {
        Name             => 'ActivityDialog 1 optional',
        DescriptionShort => 'Basic info',
        DescriptionLong  => 'Please insert the necessesary basic information for IT orders',
        CreateTime       => '28-02-2012 13:37:00',
        CreateBy         => '1',
        ChangeTime       => '29-02-2012 13:37:00',
        ChangeBy         => '1',
        Fields => {
            PriorityID => {
                DescriptionShort => 'Priority ID',
                DescriptionLong  => 'Enter the priority here',
                Display          => 2,
            },
        },
        FieldOrder       => [ 'PriorityID' ],
        SubmitAdviceText => 'Note: If you submit the form...',
        SubmitButtonText => 'Send request',
    },
    'AD2' => {
        Name => 'ActivityDialog 2 optional',
        DescriptionShort => 'Basic info',
        DescriptionLong  => 'Please insert the necessesary basic information for Book orders',
        CreateTime       => '28-02-2012 13:37:00',
        CreateBy         => '1',
        ChangeTime       => '29-02-2012 13:37:00',
        ChangeBy         => '1',
        Fields => {
            StateID => {
                DescriptionShort => 'State ID',
                DescriptionLong  => 'Enter the state here',
                Display          => 2,
                DefaultValue     => '2',
            },
            Queue => {
                DescriptionShort => 'Queue ID',
                DescriptionLong  => 'Enter the queue here',
                Display          => 2,
                DefaultValue     => 'Raw',
            },
            Title => {
                DescriptionShort => 'Title',
                DescriptionLong  => 'Enter the title here',
                Display          => 1,
                DefaultValue     => 'Default Title',
            },
            DynamicField_Anzahl => {
                DescriptionShort    => 'Amount',
                DescriptionLong     => 'Enter the amount here',
                Display             => 2,
                DefaultValue        => '4',
            },
        },
        FieldOrder       => [ 'DynamicField_Anzahl', 'StateID', 'Queue', 'Title' ],
        SubmitAdviceText => 'Note: If you submit the form...',
        SubmitButtonText => 'Send request',
    },
};
                    </screen>
                </para>
            </section>
            <section>
                <title>Name</title>
                <para>
                    Name of the Activity Dialog.
                </para>
            </section>
            <section>
                <title>CreateTime</title>
                <para>
                    Time when it was created.
                </para>
            </section>
            <section>
                <title>CreateBy</title>
                <para>
                    UID of the user who created this Activity Dialog.
                </para>
            </section>
            <section>
                <title>ChangeTime</title>
                <para>
                    Last time when it was changed.
                </para>
            </section>
            <section>
                <title>ChangeBy</title>
                <para>
                    UID of the last user who changed this Activity Dialog.
                </para>
            </section>
            <section>
                <title>Fields</title>
                <para>
                    Contains all fields which can be displayed in this Activity Dialog.  The
following fields can currently be used:
                </para>
                <para>
                    <screen>
    Title
    State
    StateID
    Priority
    PriorityID
    Lock
    LockID
    Queue
    QueueID
    Customer
    CustomerID
    CustomerNo
    CustomerUserID
    Owner
    OwnerID
    Type
    TypeID
    SLA
    SLAID
    Service
    ServiceID
    Responsible
    ResponsibleID
    PendingTime
    DynamicField_$FieldName  # for all dynamic fields
                    </screen>
                </para>
                <para>
                    Example of a single field configuration:
                </para>
                <para>
                    <screen>
StateID => {
    DescriptionShort => 'State ID',
    DescriptionLong  => 'Enter the state here',
    Display          => 2,
    DefaultValue     => '2',
},
                    </screen>
                </para>
                <para>
                    The field "Article" is a special case. If it is present in a "Fields"
configuration, the Activity Dialog will contain a complete Richtext editor
with subject field and attachment handling. The entered text will then be
added to the ticket as an article and sent by email. Let's see an example
Article field configuration: <screen>
Article => {
    DescriptionShort => 'Please insert your comment here.',
    DescriptionLong => '',
    Display         => 1,
    Config          => {
        ArticleType  => 'note-internal',
        LabelSubject => '',
        LabelBody    => '',
    },
},
                    </screen>
                </para>
                <para>
                    Let's look at the field configuration options:
                </para>
                <section>
                    <title>DescriptionShort</title>
                    <para>
                        Optional short description that is shown with the field title.
                    </para>
                </section>
                <section>
                    <title>DescriptionLong</title>
                    <para>
                        Optional longer field description that is shown then the mouse is over the
field, for example advice on how to fill out the field.
                    </para>
                </section>
                <section>
                    <title>Display</title>
                    <para>
                        Controls if the field is shown and/or mandatory.  Possible values:
                        <itemizedlist>
                            <listitem>
                                <para>
                                    '0': field is invisible. This can be helpful if field values should
automatically be set. The configured DefaultValue will be stored in this
case.
                                </para>
                            </listitem>
                            <listitem>
                                <para>
                                    '1': field is visible, but optional.
                                </para>
                            </listitem>
                            <listitem>
                                <para>
                                    '2': field is visible and mandatory. The following fields can only be
invisible or mandatory: <screen>
    QueueID
    Queue
    State
    StateID
    Lock
    LockID
    Priority
    PriorityID
    Type
    TypeID
                                </screen>
                                </para>
                            </listitem>
                        </itemizedlist>
                    </para>
                    <para>
                        If fields are configured as optional, and no value is submitted by the user,
the Default Value will be saved when the Activity Dialog is submitted by the
user.
                    </para>
                </section>
                <section>
                    <title>DefaultValue</title>
                    <para>
                        For fields with 'ID' (like QueueID, OwnerID), this refers to the database ID
of the value. For other fields without 'ID' (like Queue, Owner), the
DefaultValue must contain the value itself. Example:
                    </para>
                    <para>
                        <screen>
Queue => {
    DescriptionShort => 'Queue',
    DescriptionLong  => 'Enter the queue here',
    Display          => 2,
    DefaultValue     => 'Raw',
},
                        </screen>
                    </para>
                </section>
            </section>
            <section>
                <title>FieldOrder</title>
                <para>
                    Here the display order of the fields is configured. IMPORTANT: Invisible
fields also must be configured here, because only configured fields will be
considered when saving. Fields which are not configured will not be saved.
                </para>
            </section>
            <section>
                <title>SubmitAdviceText</title>
                <para>
                    Optional text to be shown right above the submit button for additional help
or advice text.
                </para>
            </section>
            <section>
                <title>SubmitButtonText</title>
                <para>
                    Optional custom text for the submit button.
                </para>
            </section>
        </section>

        <section>
            <title>Transition</title>
            <para>
                A Transition decides - based on configurable conditions - which path in the
Process is taken, i. e. to which Activity a Process ticket can be moved.
            </para>
            <section>
                <title>Transition configuration</title>
                <para>
                    Let's see an example:
                </para>
                <para>
                    <screen>
$Self->{'Process::Transition'} = {
    'T1' => {
        Name => 'Transition 1',
        CreateTime => '14-03-2012 13:37:00', # optional
        CreateBy   => '1',                   # optional
        ChangeTime => '15-03-2012 13:37:00', # optional
        ChangeBy   => '15-03-2012 13:37:00', # optional
        Condition  => {
            Cond1  => {
                Fields => {
                    StateID => {
                        Type  => 'String',
                        Match => '1',
                    },
                },
            },
        },
    },
    'T2' => {
        Name       => 'Transition 2 optional',
        CreateTime => 'DATE',   # optional
        CreateBy   => 'USERID', # optional
        ChangeTime => 'DATE',   # optional
        ChangeBy => 'USERID',   # optional
        Condition => {
            Cond1 => {
                Queue               => 'Raw',
                DynamicField_Farbe  => '2',
                DynamicField_Anzahl => '1',
            },
        },
    },
};
                    </screen>
                </para>
            </section>
            <section>
                <title>Name</title>
                <para>
                    Name of the transition.
                </para>
            </section>
            <section>
                <title>CreateTime</title>
                <para>
                    Time when it was created.
                </para>
            </section>
            <section>
                <title>CreateBy</title>
                <para>
                    UID of the user who created this Transition.
                </para>
            </section>
            <section>
                <title>ChangeTime</title>
                <para>
                    Last time when it was changed.
                </para>
            </section>
            <section>
                <title>ChangeBy</title>
                <para>
                    UID of the last user who changed this Transition.
                </para>
            </section>
            <section>
                <title>Condition</title>
                <para>
                    Contains all conditions that are neccessary for this Transition to take
effect.  Example:
                </para>
                <para>
                    <screen>
Condition => {
    Type  => 'and',
    Cond1 => {
        Type   => 'and',
        Fields => {
            StateID => {
                Type  => 'String',
                Match => '1',
            },
            DynamicField_Marke => {
                Type  => 'String',
                Match => 'VW',
        },
    },
    Cond2 => {
        Type => 'and',
        Fields => {
            Queue => {
                Type  => 'String',
                Match => 'Raw',
            },
        },
    },
},
                    </screen>
                </para>
                <para>
                    Let's look at the condition configuration in detail.
                </para>
                <section>
                    <title>Type (Condition)</title>
                    <para>
                        Specifies the way the different condition elements are connected to each
other. Possible values:
                        <itemizedlist>
                            <listitem>
                                <para>
                                    'and': This is the default. All conditions must be met for the transition to
take effect.
                                </para>
                            </listitem>
                            <listitem>
                                <para>
                                    'or': At least one condition must match.
                                </para>
                            </listitem>
                            <listitem>
                                <para>
                                    'xor': Exactly one condition must match, not more.
                                </para>
                            </listitem>
                        </itemizedlist>
                    </para>
                </section>
                <section>
                    <title>Cond1</title>
                    <para>
                        This is the name of an example condition. It can be freely chosen.
Conditions are evaluated in sorted order.
                    </para>
                </section>
                <section>
                    <title>Type (Cond)</title>
                    <para>
                        Specifies the way how the individual field tests of this condition are
connected to each other. Possible values:
                        <itemizedlist>
                            <listitem>
                                <para>
                                    'and': This is the default. All field tests must match for this condition to
match.
                                </para>
                            </listitem>
                            <listitem>
                                <para>
                                    'or': At least one field test must match.
                                </para>
                            </listitem>
                            <listitem>
                                <para>
                                    'xor': Exactly one field test must match, not more.
                                </para>
                            </listitem>
                        </itemizedlist>
                    </para>
                </section>
                <section>
                    <title>Fields</title>
                    <para>
                        Specifies the particular fields whose values should be tested. From our
example: <screen>
Fields => {
    StateID => {
        Type  => 'String',
        Match => '1',
    },
                        </screen>
                    </para>
                </section>
                <section>
                    <title>StateID</title>
                    <para>
                        Example of a field name. The following ticket fields can be used:
<screen>
    Title
    State
    StateID
    Priority
    PriorityID
    Lock
    LockID
    Queue
    QueueID
    Customer
    CustomerID
    CustomerNo
    CustomerUserID
    Owner
    OwnerID
    Type
    TypeID
    SLA
    SLAID
    Service
    ServiceID
    Responsible
    ResponsibleID
    PendingTime
    DynamicField_$FieldName # for all DynamicFields
                        </screen>
                    </para>
                    <para>
                        When testing a field with 'ID' (like SLAID), the database ID of the field
will be used for testing, for other fields (like SLA) the actual value is
used for testing.
                    </para>
                </section>
                <section>
                    <title>Type</title>
                    <para>
                        Determines the kind of field testing. Possible values:

                        <itemizedlist>
                            <listitem>
                                <para>
                                    'String': Compares the field value with the string specified in
'Match'. Matches if they are exactly the same.
                                </para>
                            </listitem>
                            <listitem>
                                <para>
                                    'Hash': Compares the field value (hash) with the hash specified in
'Match'. All hash values must be the same.
                                </para>
                            </listitem>
                            <listitem>
                                <para>
                                    'Array': Compares the field value (array) with the array specified in
'Match'. Both lists must be the same.
                                </para>
                            </listitem>
                            <listitem>
                                <para>
                                    'Regex': The field value can be tested with a regular expression. It is
important that 'Match' contains <emphasis>qr{}xms</emphasis> as a base
condition. Between the braces the actual regular expression can be noted.
                                </para>
                            </listitem>
                            <listitem>
                                <para>
                                    'Module': Allows you to use a perl module for condition checking. If it
returns 1, the check was positive. You can find an example module in
<filename>Kernel/System/ProcessManagement/TransitionValidation/ValidateDemo.pm</filename>.
                                </para>
                            </listitem>
                        </itemizedlist>
                    </para>
                </section>
            </section>
        </section>

        <section>
            <title>Transition Actions</title>
            <para>
                Transition Actions are actions which can be triggered after successfully
applied transitions (when a process ticket moves from one activity to
another). These Transition Actions can be used to perform different changes
on the ticket, e. g.  change the Queue or the Owner of the ticket, and you
can also create your own Transition Actions to perform other complex
changes.
            </para>
            <section>
                <title>Transition Action configuration</title>
                <para>
                    Let's see an example: <screen>
$Self->{'Process::TransitionAction'} = {
    'TA1' => {
        Name   => 'Queue Move',
        Module => 'Kernel::System::ProcessManagement::TransitionAction::TicketQueueSet',
        Config => {
            Queue  => 'Junk',
            UserID => 123,
        },
    },
};
                    </screen>
                </para>
            </section>
            <section>
                <title>Name</title>
                <para>
                    The name of the Transition Action.
                </para>
            </section>
            <section>
                <title>Module</title>
                <para>
                    Specifies the Perl module to be used.
                </para>
            </section>
            <section>
                <title>Config</title>
                <para>
                    This parameter contains all settings which are required for the module. Its
content depends on the particular Transition Action module which is
used. Please see the documentation of the individual modules for details. In
our example, only the Queue must be specified, Nevertheless we are also
sending UserID parameter, by using the UserID parameter, the transition
action will be executed impersonating the user with the given UserID.
                </para>
                <para>
                    The use of UserID inside the "Config" parameter of a Transition Action is
accepted by all Transition Actions (since OTRS 3.2.4), in this example it
could be particularly important if the user that triggers the Transition
does not have permissions to move the ticket to the queue 'Junk', while the
user with the UserID 123 might have.
                </para>
            </section>
            <section>
                <title>Reusing Transition Action modules</title>
                <para>
                    To use Transition Action modules multiple times, just specify several
TransitionActions in your configuration. Example: <screen>
    $Self->{'Process::TransitionAction'} = {
        'TA1' => {
            Name   => 'Queue Move Junk',
            Module => 'Kernel::System::ProcessManagement::TransitionAction::TicketQueueSet',
            Config => {
                Queue => 'Junk',
            },
        },
        'TA2' => {
            Name   => 'Queue Move Raw',
            Module => 'Kernel::System::ProcessManagement::TransitionAction::TicketQueueSet',
            Config => {
                Queue => 'Raw',
            },
        },
    };
                    </screen>
                </para>
                <para>
                    Here the same module is used to move a process ticket into the 'Raw' queue,
and another time to move it into the junk queue. The Transition Action which
must be used for a particular Transition is determined from the 'Path'
setting of the Process configuration.
                </para>
            </section>
            <section id="available-transition-actions">
                <title>Available Transition Actions</title>
                <para>
                    OTRS comes with several Transition Actions that can be used in your
processes.  Here you can find their documentation and how they need to be
configured.
                </para>

                <section>
                    <title>DynamicFieldSet</title>
                    <para>
                        Sets one or more dynamic fields at a process ticket. Example:
                    </para>
                    <para>
                        <screen><![CDATA[
$Self->{'Process::TransitionAction'} = {
    'TA1' => {
        Name   => 'Set DynamicField Master to Master and Approved to 1',
        Module => 'Kernel::System::ProcessManagement::TransitionAction::DynamicFieldSet',
        Config => {
            MasterSlave => 'Master',
            Approved    => '1',

        },
    },
};
                        ]]></screen>
                    </para>
                    <para>
                        'Name' specifies the name of the configured TransitionAction.
                    </para>
                    <para>
                        'MasterSlave' and 'Approved' are given as examples of DynamicField names.
The values of the fields ('Master' and '1') will be set by this
TransitionAction.
                    </para>
                </section>

                <section>
                    <title>TicketArticleCreate</title>
                    <para>
                        Creates an article and can be used to create notes or email
replies. Example:
                    </para>
                    <para>
                        <screen><![CDATA[
$Self->{'Process::TransitionAction'} = {
    'TA1' => {
        Name   => 'Article Create Note Internal',
        Module => 'Kernel::System::ProcessManagement::TransitionAction::TicketArticleCreate',
        Config => {
            ArticleType      => 'note-internal',                                        # note-external|phone|fax|sms|...
                                                                                        #   excluding any email type
            SenderType       => 'agent',                                                # agent|system|customer
            ContentType      => 'text/plain; charset=ISO-8859-15',                      # or optional Charset & MimeType
            Subject          => 'some short description',                               # required
            Body             => 'the message text',                                     # required
            HistoryType      => 'OwnerUpdate',                                          # EmailCustomer|Move|AddNote|PriorityUpdate|WebRequestCustomer|...
            HistoryComment   => 'Some free text!',
            From             => 'Some Agent <email@example.com>',                       # not required but useful
            To               => 'Some Customer A <customer-a@example.com>',             # not required but useful
            Cc               => 'Some Customer B <customer-b@example.com>',             # not required but useful
            ReplyTo          => 'Some Customer B <customer-b@example.com>',             # not required
            InReplyTo        => '<asdasdasd.12@example.com>',                           # not required but useful
            References       => '<asdasdasd.1@example.com> <asdasdasd.12@example.com>', # not required but useful
            NoAgentNotify    => 0,                                                      # if you don't want to send agent notifications
            AutoResponseType => 'auto reply',                                           # auto reject|auto follow up|auto reply/new ticket|auto remove

            ForceNotificationToUserID   => [ 1, 43, 56 ],                               # if you want to force somebody
            ExcludeNotificationToUserID => [ 43, 56 ],
                 # if you want full exclude somebody from notfications,
                 # will also be removed in To: line of article,
                 # higher prio as ForceNotificationToUserID
            ExcludeMuteNotificationToUserID => [ 43, 56 ],
                 # the same as ExcludeNotificationToUserID but only the
                 # sending gets muted, agent will still shown in To:
                 # line of article
        },
    },
};
                        ]]></screen>
                    </para>
                    <para>
                        'Name' specifies the name of the configured TransitionAction. It can be
freely chosen, but should reflect the purpose of the configured action.
                    </para>
                    <para>
                        'ArticleType' defines the type of the article to be created. Possible
values: phone, fax, sms, webrequest, note-internal, note-external and
note-report.
                    </para>
                    <para>
                        SenderType defines the sender type of the article. Possible values: agent,
system, customer.
                    </para>
                    <para>
                        'ContentType' defines the content type of the article. Possible values:
'text/plain; charset=ISO-8859-15' or any other valid charset and mime type.
                    </para>
                    <para>
                        'Subject' defines the article title. Mandatory.
                    </para>
                    <para>
                        'Body' defines the article content. Mandatory.
                    </para>
                    <para>
                        HistoryType defines the type of the history entry. Possible values: AddNote,
ArchiveFlagUpdate, Bounce, CustomerUpdate, EmailAgent, EmailCustomer,
EscalationResponseTimeNotifyBefore, EscalationResponseTimeStart,
EscalationResponseTimeStop, EscalationSolutionTimeNotifyBefore,
EscalationSolutionTimeStart, EscalationSolutionTimeStop,
EscalationUpdateTimeNotifyBefore, EscalationUpdateTimeStart,
EscalationUpdateTimeStop, FollowUp, Forward, Lock, LoopProtection, Merged,
Misc, Move, NewTicket, OwnerUpdate, PhoneCallAgent, PhoneCallCustomer,
PriorityUpdate, Remove, ResponsibleUpdate, SendAgentNotification,
SendAnswer, SendAutoFollowUp, SendAutoReject, SendAutoReply,
SendCustomerNotification, ServiceUpdate, SetPendingTime, SLAUpdate,
StateUpdate, Subscribe, SystemRequest, TicketDynamicFieldUpdate,
TicketLinkAdd, TicketLinkDelete, TimeAccounting, TypeUpdate, Unlock,
Unsubscribe, WebRequestCustomer.
                    </para>
                    <para>
                        'HistoryComment' defines the content of the history entry.
                    </para>
                    <para>
                        'From', 'To', 'Cc' and 'ReplyTo' take email addresses in the notation
specified above.
                    </para>
                    <para>
                        'InReplyTo' and 'References' take email message IDs.
                    </para>
                    <para>
                        'NoAgentNotify' - if set to 1, the email notification of the Agent will not
be sent.
                    </para>
                    <para>
                        'AutoResponseType' can take the following values: auto follow up, auto
reject, auto remove, auto reply, auto reply/new ticket.
                    </para>
                    <para>
                        'ForceNotificationToUserID', 'ExcludeNotificationToUserID',
'ExcludeMuteNotificationToUserID' can take a list of UserIDs that are either
always notified, not notified or listed as notified but not actually sent a
notification email.
                    </para>
                </section>
                <section>
                    <title>TicketCustomerSet</title>
                    <para>
                        Sets the customer of a process ticket. Example:
                    </para>
                    <para>
                        <screen><![CDATA[
$Self->{'Process::TransitionAction'} = {
    'TA1' => {
        Name   => 'Customer Set Customer to test',
        Module => 'Kernel::System::Process::TransitionAction::TicketCustomerSet',
        Config => {
            No      => 'test',
            User    => 'client-user-123',
            # or in other words
            # CustomerID     => 'client123',
            # CustomerUserID => 'client-user-123',

        },
    },
};
                        ]]></screen>
                    </para>
                    <para>
                        'Name' specifies the name of the configured TransitionAction.
                    </para>
                    <para>
                        No or CustomerID set the Customer ID of the customer.
                    </para>
                    <para>
                        User or CustomerUserID set the Username of the customer.
                    </para>
                </section>

                <section>
                    <title>TicketLockSet</title>
                    <para>
                        Changes the lock of a process ticket. Example:
                    </para>
                    <para>
                        <screen><![CDATA[
$Self->{'Process::TransitionAction'} = {
    'TA1' => {
        Name   => 'Set Lock to lock',
        Module => 'Kernel::System::ProcessManagement::TransitionAction::TicketLockSet',
        Config => {
            Lock   => 'lock',
            # or
            LockID => 2,
        },
    },
};
                        ]]></screen>
                    </para>
                    <para>
                        'Name' specifies the name of the configured TransitionAction.
                    </para>
                    <para>
                        'Lock' defines the new lock of the process ticket.
                    </para>
                    <para>
                        'LockID' defines the internal ID of the new lock.
                    </para>
                </section>

                <section>
                    <title>TicketOwnerSet</title>
                    <para>
                        Changes the owner of a process ticket. Example:
                    </para>
                    <para>
                        <screen><![CDATA[
$Self->{'Process::TransitionAction'} = {
    'TA1' => {
        Name   => 'Owner Set root@localhost',
        Module => 'Kernel::System::ProcessManagement::TransitionAction::TicketOwnerSet',
        Config => {
            Owner => 'root@localhost',
            # or
            OwnerID => 1,
        },
    },
};
                        ]]></screen>
                    </para>
                    <para>
                        'Name' specifies the name of the configured TransitionAction.
                    </para>
                    <para>
                        'Owner' specifies the login name of the new owner.
                    </para>
                    <para>
                        'OwnerID' specifies the internal ID of the new owner.
                    </para>
                </section>

                <section>
                    <title>TicketQueueSet</title>
                    <para>
                        Moves the ticket into a target queue. Example:
                    </para>
                    <para>
                        <screen><![CDATA[
$Self->{'Process::TransitionAction'} = {
    'TA1' => {
        Name   => 'Queue Move Raw',
        Module => 'Kernel::System::ProcessManagement::TransitionAction::TicketQueueSet',
        Config => {
            Queue => 'Raw',
            # or
            # QueueID => '2',
        },
    },
};
                        ]]></screen>
                    </para>
                    <para>
                        'Name' specifies the name of the configured TransitionAction.
                    </para>
                    <para>
                        'Queue' specifies the name of the target queue.
                    </para>
                    <para>
                        'QueueID' specifies the internal ID of the target queue.
                    </para>
                </section>

                <section>
                    <title>TicketResponsibleSet</title>
                    <para>
                        Changes the responsible of a process ticket. Example:
                    </para>
                    <para>
                        <screen><![CDATA[
$Self->{'Process::TransitionAction'} = {
    'TA1' => {
        Name   => 'Responsible Set root@localhost',
        Module => 'Kernel::System::ProcessManagement::TransitionAction::TicketResponsibleSet',
        Config => {
            Responsible => 'root@localhost',
            # or
            ResponsibleID => 1,
        },
    },
};
                        ]]></screen>
                    </para>
                    <para>
                        'Name' specifies the name of the configured TransitionAction.
                    </para>
                    <para>
                        'Responsible' specifies the login name of the new responsible.
                    </para>
                    <para>
                        'ResponsibleID' specifies the internal ID of the new responsible.
                    </para>
                </section>

                <section>
                    <title>TicketServiceSet</title>
                    <para>
                        Assigns a service to a process ticket.  The ticket requires to have a
customer and the service must be assigned to that customer.  Example:
                    </para>
                    <para>
                        <screen><![CDATA[
$Self->{'Process::TransitionAction'} = {
    'TA1' => {
        Name   => 'Set MyService service',
        Module => 'Kernel::System::ProcessManagement::TransitionAction::TicketServiceSet',
        Config => {
            Service   => 'MyService',
            # or
            ServiceID => 123,
        },
    },
};
                        ]]></screen>
                    </para>
                    <para>
                        'Name' specifies the name of the configured TransitionAction.
                    </para>
                    <para>
                        'Service' defines the new service of the process ticket. The full name is
required (e.g. GramdFatherService::FatherService::SonService ).
                    </para>
                    <para>
                        'ServiceID' defines the internal ID of the new service.
                    </para>
                </section>

                <section>
                    <title>TicketSLASet</title>
                    <para>
                        Assigns a service level agreement to a process ticket.  The ticket requires
to have a service and the SLA must be assigned to that service.  Example:
                    </para>
                    <para>
                        <screen><![CDATA[
$Self->{'Process::TransitionAction'} = {
    'TA1' => {
        Name   => 'Set MySLA SLA',
        Module => 'Kernel::System::ProcessManagement::TransitionAction::TicketSLASet',
        Config => {
            SLA   => 'MyService',
            # or
            SLAID => 123,
        },
    },
};
                        ]]></screen>
                    </para>
                    <para>
                        'Name' specifies the name of the configured TransitionAction.
                    </para>
                    <para>
                        'SLA' defines the new service level agreement of the process ticket.
                    </para>
                    <para>
                        'SLAID' defines the internal ID of the new SLA.
                    </para>
                </section>

                <section>
                    <title>TicketStateSet</title>
                    <para>
                        Changes the state of a process ticket. Example:
                    </para>
                    <para>
                        <screen><![CDATA[
$Self->{'Process::TransitionAction'} = {
    'TA1' => {
        Name   => 'Set State to open',
        Module => 'Kernel::System::ProcessManagement::TransitionAction::TicketStateSet',
        Config => {
            State   => 'open',
            # or
            StateID => 4,

            PendingTimeDiff => 123,
        },
    },
};
                        ]]></screen>
                    </para>
                    <para>
                        'Name' specifies the name of the configured TransitionAction.
                    </para>
                    <para>
                        'State' defines the new state of the process ticket.
                    </para>
                    <para>
                        'StateID' defines the internal ID of the new state.
                    </para>
                    <para>
                        'PendingTimeDiff' used only for pending type states, defines the time
difference in seconds relative (relative to the Transition Action execution
time) to set ticket pending time (e.g. 3600 means that the pending time is
1hr after the Transition Action is executed).
                    </para>
                </section>

                <section>
                    <title>TicketTitleSet</title>
                    <para>
                        Sets the ticket title of a process ticket. Example:
                    </para>
                    <para>
                        <screen><![CDATA[
$Self->{'Process::TransitionAction'} = {
    'TA1' => {
        Name   => 'Set Ticket Title to Ticket-title',
        Module => 'Kernel::System::ProcessManagement::TransitionAction::TicketTitleSet',
        Config => {
            Title => 'Ticket-title',
        },
    },
};
                        ]]></screen>
                    </para>
                    <para>
                        'Name' specifies the name of the configured TransitionAction.
                    </para>
                    <para>
                        'Title' specifies the new title of the ticket.
                    </para>
                </section>

                <section>
                    <title>TicketTypeSet</title>
                    <para>
                        Sets the ticket type of a process ticket. Example:
                    </para>
                    <para>
                        <screen><![CDATA[
$Self->{'Process::TransitionAction'} = {
    'TA1' => {
        Name   => 'Set Ticket Type to default',
        Module => 'Kernel::System::ProcessManagement::TransitionAction::TicketTypeSet',
        Config => {
            Type     => 'default',
            # or
            # TypeID => '1',
        },
    },
};
                        ]]></screen>
                    </para>
                    <para>
                        'Name' specifies the name of the configured TransitionAction.
                    </para>
                    <para>
                        'Type' specifies the name of the ticket type.
                    </para>
                    <para>
                        'TypeID' specifies the internal ID of the ticket type.
                    </para>
                </section>
            </section>
        </section>

        <section id="process-management-acl">
            <title>Access Control Lists (ACLs)</title>
            <para>
                With the help of ACLs, you can limit selectable values in process tickets.
Please also see the <link linkend="acl-reference">ACL reference</link> for a
description of the full ticket ACL syntax.
            </para>
            <section>
                <title>ACL configuration</title>
                <para>
                    ACLs can only be defined in <filename>Kernel/Config.pm</filename>. Example:
                </para>
                <para>
                    <screen>
$Self->{TicketAcl}->{'001-ACL-ProcessProperties'} = {
    Properties => {
        Process => {
            ProcessEntityID        => ['P1'],
            ActivityEntityID       => ['A1'],
            ActivityDialogEntityID => ['AD1'],
        }
    },
    Possible => {
        ActivityDialog => ['AD1', 'AD3'],
    },
    PossibleNot => {
        ActivityDialog => ['AD3'],
    },
};
                    </screen>
                </para>
            </section>
            <section>
                <title>001-ACL-ProcessProperties</title>
                <para>
                    Name of the ACL rule. For further information on ACL rules in general,
please consult <link linkend="acl">the ACL manual</link>.
                </para>
            </section>
            <section>
                <title>Process</title>
                <para>
                    This is the section that is used to check if an ACL must be applied. If it
has the specified values, the rule is applied. The following values can be
used:
                </para>
                <section>
                    <title>ProcessEntityID</title>
                    <para>
                        The ID of a process that the process. Matches if the ticket is assigned to
this process.
                    </para>
                </section>
                <section>
                    <title>ActivityEntityID</title>
                    <para>
                        The ID of the Activity that the process ticket currently is assigned to.
                    </para>
                </section>
                <section>
                    <title>ActivityDialogEntityID</title>
                    <para>
                        The ID of the Activity Dialog that is currently open for a process ticket.
                    </para>
                </section>
            </section>
            <section>
                <title>Possible/PossibleNot Activity Dialog</title>
                <para>
                    Here you can specify a list of Activity Dialog IDs. This list will limit the
possible Activity Dialogs that are offered to the user in the ticket zoom
mask.
                </para>
                <para>
                    'Possible' lists the Activity Dialogs that are allowed. The setting above
will only allow 'AD1' and 'AD3' of the list of configured Activity Dialogs.
                </para>
                <para>
                    'PossibleNot' lists the Activity Dialogs that are not allowed. In the
example above, the setting will remove 'AD3' from the list of configured
Activity Dialogs.
                </para>
                <para>
                    If both 'Possible' and 'PossibleNot' are specified, the list of configured
Activity Dialogs will first be filtered by 'Possible', leaving only 'AD1'
and 'AD3' in our example. Then 'PossibleNot' will be applied and filter out
'AD3', so that only 'AD1' remains and is shown as a possible Activity Dialog
that the user can use.
                </para>
                <para>
                    If multiple ACL rules match, the intersection of all matching rules will be
calculated to determine the possible Activity Dialogs. Example:
                </para>
                <para>
                    Configured Activity Dialogs: 'AD1', 'AD2', 'AD3', 'AD4', 'AD5', 'AD6',
'AD7'.  <screen>
$Self->{TicketAcl}->{'001-ACL-Status'} = {
    Properties => {
        Ticket => {
            Status => 'new',
        }
    },
    Possible => {
        ActivityDialog => ['AD1', 'AD2', 'AD3', 'AD6', 'AD7'],
    },
};
$Self->{TicketAcl}->{'002-ACL-Queue'} = {
    Properties => {
        Ticket => {
            Queue => ['Raw']
        }
    },
    Possible => {
        ActivityDialog => ['AD2', 'AD3', 'AD4', 'AD7'],
    },
};
$Self->{TicketAcl}->{'003-ACL-Priority'} = {
    Properties => {
        Ticket => {
            Priority => ['3 normal']
        }
    },
    PossibleNot => {
        ActivityDialog => ['AD3', 'AD4'],
    },
};
                    </screen>
                </para>
                <para>
                    If a process ticket has the state 'new', is in the 'Raw' queue and has a
priority '3 normal', then all three ACL rules will match.
                </para>
                <para>
                    The first rule reduces the Activity Dialogs from 'AD1', 'AD2', 'AD3', 'AD4',
'AD5', 'AD6', 'AD7' to 'AD1', 'AD2', 'AD3', 'AD6', 'AD7' and forbids 'AD4'
and 'AD5'.
                </para>
                <para>
                    The second rule will now further reduce the remaining Activity Dialogs.  In
our example, 'AD2', 'AD3', 'AD7' will remain.
                </para>
                <para>
                    Now the third rule will further reduce the list by 'PossibleNot'.  'AD3' is
removed from the list. 'AD4' is not removed, since it was not on the list in
the first place. At the end, 'AD2' and 'AD7' remain as possible Activity
Dialogs that the user can utilize.
                </para>
                <para>
                    It is also possible to limit the processes that can be displayed in the "New
process ticket" screen, the functionality is similar to limiting the
ActivityDialogs with one exception: The ACLs could only be based on Users.
                </para>
                <para>See examples below:</para>
                <para>
                    <screen>
$Self->{TicketAcl}->{'200-ACL-Process'} = {
    # match properties
    Properties => {
        User => {
            UserID => [2, 3],
        },
    },
    Possible => {
       Process => ['P1', 'P2', 'P3'],
    },
    PossibleNot => {
        Process => ['P4'],
    },
};
                    </screen>
                </para>
                <para>
                    <screen>
$Self->{TicketAcl}->{'201-ACL-Process'} = {
    # match properties
    Properties => {
        User => {
            Group_rw => [ 'MyGroup' ],
        },
    },
    Possible => {
       Process => ['P1', 'P2', 'P3'],
    },
    PossibleNot => {
        Process => ['P4'],
    },
};
                    </screen>
                </para>
                <para>
                    <screen>
$Self->{TicketAcl}->{'202-ACL-Process'} = {
    # match properties
    Properties => {
        User => {
            Role => [ 'MyRole' ],
        },
    },
    Possible => {
       Process => ['P1', 'P2', 'P3'],
    },
    PossibleNot => {
        Process => ['P4'],
    },
};
                    </screen>
                </para>
            </section>
        </section>
    </section>
</section>