Skip to main content
summaryrefslogtreecommitdiffstats
blob: 6b8dafbd67c1cff4092e594142c6c4fc925645eb (plain) (blame)
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
workDefinition "WorkDef_Review_Decision" {
   id "WorkDef_Review_Decision"
   startState "Prepare"

   widgetDefinition "Question" {
      attributeName "Name"
      xWidgetName "XLabelDam"
   }

   widgetDefinition "Decision" {
      attributeName "ats.Decision"
      xWidgetName "XComboDam(1,2,3)"
      option REQUIRED_FOR_TRANSITION
      option HORIZONTAL_LABEL
   }

   widgetDefinition "Description" {
      attributeName "ats.Description"
      xWidgetName "XTextDam"
      option FILL_VERTICALLY
   }

   widgetDefinition "Resolution" {
      attributeName "ats.Resolution"
      xWidgetName "XTextDam"
      option FILL_VERTICALLY
   }

   widgetDefinition "Title" {
      attributeName "Name"
      xWidgetName "XTextDam"
      option REQUIRED_FOR_TRANSITION
   }

   widgetDefinition "Decision Review Options" {
      attributeName "ats.Decision Review Options"
      xWidgetName "XTextDam"
      option FILL_VERTICALLY
   }

   widgetDefinition "Review Blocks" {
      attributeName "ats.Review Blocks"
      xWidgetName "XComboDam(OPTIONS_FROM_ATTRIBUTE_VALIDITY)"
      option REQUIRED_FOR_TRANSITION
      option HORIZONTAL_LABEL
   }

   state "Decision" {
      type Working
      ordinal 2
      to "Followup"
      to "Cancelled"
      to "Completed" AsDefault
      to "Prepare" OverrideAttributeValidation
      layout {
         widget "Question"
         widget "Decision"
         widget "Description"
         widget "Resolution"
      }
   }

   state "Prepare" {
      type Working
      ordinal 1
      to "Cancelled"
      to "Decision" AsDefault
      layout {
         widget "Title"
         widget "Decision Review Options"
         widget "Description"
         attributeWidget "ats.Related To State"
         widget "Review Blocks"
         attributeWidget "ats.Need By"
         attributeWidget "ats.Estimated Hours"
      }
   }

   state "Followup" {
      type Working
      ordinal 3
      to "Cancelled"
      to "Completed" AsDefault
      to "Decision" OverrideAttributeValidation
      layout {
         widget "Resolution"
      }
   }

   state "Cancelled" {
      type Cancelled
      ordinal 5
      to "Decision" OverrideAttributeValidation
      to "Followup" OverrideAttributeValidation
      to "Prepare" OverrideAttributeValidation
   }

   state "Completed" {
      type Completed
      ordinal 4
      to "Decision" OverrideAttributeValidation
      to "Followup" OverrideAttributeValidation
      rule AddDecisionValidateBlockingReview
      layout {
         widget "Question"
         widget "Decision"
         widget "Resolution"
      }
   }
}

Back to the top