Skip to main content
summaryrefslogblamecommitdiffstats
blob: 20a7b49ff51759dc961dd9100ed02cf309f1e02b (plain) (tree)






























































































































                                                             
workDefinition "WorkDef_Team_Demo_Code" {
   id "WorkDef_Team_Demo_Code"
   startState "Endorse"

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

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

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

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

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

   widgetDefinition "User Community" {
      attributeName "ats.User Community"
      xWidgetName "XListDam(OPTIONS_FROM_ATTRIBUTE_VALIDITY)"
      option HORIZONTAL_LABEL
   }

   state "Completed" {
      type Completed
      ordinal 5
      to "Implement" OverrideAttributeValidation
      rule AddDecisionValidateBlockingReview
   }

   state "Implement" {
      type Working
      ordinal 4
      to "Cancelled"
      to "Completed" AsDefault
      to "Authorize" OverrideAttributeValidation
      to "Analyze" OverrideAttributeValidation
      rule RequireStateHourSpentPrompt
      layout {
         attributeWidget "ats.Work Package"
         attributeWidget "ats.Estimated Completion Date"
         widget "Resolution"
      }
   }

   state "Authorize" {
      type Working
      ordinal 3
      to "Cancelled"
      to "Implement" AsDefault
      to "Analyze" OverrideAttributeValidation
      layout {
         attributeWidget "ats.Work Package"
         attributeWidget "ats.Estimated Completion Date"
      }
   }

   state "Analyze" {
      type Working
      ordinal 2
      to "Cancelled"
      to "Authorize" AsDefault
      to "Endorse" OverrideAttributeValidation
      rule RequireStateHourSpentPrompt
      layout {
         attributeWidget "ats.Work Package"
         widget "Problem"
         widget "Proposed Resolution"
         composite {
            numColumns 6
            attributeWidget "ats.Change Type"
            attributeWidget "ats.Priority"
            attributeWidget "ats.Need By"
         }
         attributeWidget "ats.Estimated Hours"
      }
   }

   state "Cancelled" {
      type Cancelled
      ordinal 6
      to "Authorize" OverrideAttributeValidation
      to "Analyze" OverrideAttributeValidation
      to "Implement" OverrideAttributeValidation
      to "Endorse" OverrideAttributeValidation
   }

   state "Endorse" {
      type Working
      ordinal 1
      to "Cancelled"
      to "Analyze" AsDefault
      rule RequireStateHourSpentPrompt
      layout {
         widget "Title"
         widget "Description"
         widget "Proposed Resolution"
         composite {
            numColumns 6
            attributeWidget "ats.Change Type"
            attributeWidget "ats.Priority"
            attributeWidget "ats.Need By"
         }
         attributeWidget "ats.Validation Required"
         attributeWidget "ats.Work Package"
         widget "User Community"
      }
   }
}

Back to the top