Skip to main content
summaryrefslogtreecommitdiffstats
blob: aa0ec47f8350ff7f5d4f1d49f7433da49e05affc (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
workDefinition "WorkDef_Task_Default" {
   id "WorkDef_Task_Default"
   startState "InWork"

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

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

   widgetDefinition "Related To State" {
      attributeName "ats.Related To State"
      xWidgetName "XStateCombo"
      option FILL_VERTICALLY
   }

   state "InWork" {
      type Working
      ordinal 1
      to "Completed" AsDefault
      to "Cancelled" OverrideAttributeValidation
      rule RequireStateHourSpentPrompt
      layout {
         widget "Title"
         widget "Description"
         composite {
            numColumns 6
            attributeWidget "ats.Estimated Hours"
            attributeWidget "ats.Estimated Completion Date"
            widget "Related To State"
         }
         composite {
            numColumns 4
            attributeWidget "ats.SMA Note"
            attributeWidget "ats.Category" 
         }
      }
   }

   state "Completed" {
      type Completed
      ordinal 2
      to "InWork" OverrideAttributeValidation
      color DARK_GREEN
   }

   state "Cancelled" {
      type Cancelled
      ordinal 3
      color DARK_GREEN
   }
}

Back to the top