value focused. results driven. good automation scripting...
TRANSCRIPT
value focused. results driven.
Good Automation Scripting PracticeBy Jason Uppenborn
Jan 24, 2013
• Automation Scripting Overview
• Business Benefit
• Pros and Cons
• Examples
• Demo
• Questions
Agenda
Introduced with TSRM / TAMIT 7.2, MAM 7.5
Languages: Jython, Javascript; JSR 223
Execute in Business Logic tier
4 types of Launch Point
1
2
3
4
Automation Scripting Overview
Action Condition
Object Attribute
Auto
Script
Launch Point Overview
Object
Initialize
Add
Update
Delete
Attribute
Validate / Action
Action
Escalation
Workflow
Condition
Conditional Expression
Condition Node (WF)
Launch Point Overview
Task Automation and Standardization
Control access or workflow routing
Quick prototyping
1
2
3
Business Benefit
Automation Scripts
• Cannot control colors
• Limited support
• Permissions queried by API
• Expensive set-up/tear-down
• Full API for dates
• No downtime
• Contained in DB
• MBO training advised
• Enhanced automation
• Not in Admin Mode
Configuration / Conditional UI
• Can control colors
• More supportable
• Permissions hard to query
• Cheap set-up/tear-down
• Dates are problematic
• Some downtime (DB, Apps)
• Contained in DB
• Minimal training required
• Limited automation
• Admin Mode or not
Pros and Cons vs Configuration / Conditional UI
Automation Scripts
• Limited support
• Customize some of bus. tier
• Expensive set-up/tear-down
• No downtime
• Contained in DB
• MBO training advised
• Text editor
• Debugging = logging
• Automatic upgrade
Java Customizations
• No support
• Customize any tier
• No set-up/tear-down
• Downtime required
• Contained in file system
• MBO training advised
• Coding tools (CVS, a-comp)
• Execution debugging
• Manual Upgrade
Pros and Cons vs Java Customizations
• Why?
– Compliance
– Convenience
– Data Consistency
• Configuration
• Java
Reported Date
PriorityTarget Finish
Example 1: Calculate Target Finish
• Launch Points
– WORKORDER.REPORTDATE
– WORKORDER.PRIORITY
– WORKORDER Add?
– WORKORDER Update?
• Why?
– Facilitate KPIs
– Help users prioritize
• Configuration
• Java
• Autoscript
– New attribute
– Action Launch Point
– Escalation
Example 2: Days until Target Finish
• Why?
– Target for buyers
• Configuration
• Java
• Autoscript / Launch Points
– PO, Object Initialize
– PO, Object Add
– PO, Object Update
– PO Line, Req’d Date
– Action
MinimumRequired
Date
Req. Date
Req. Date
Req. Date
Example 3: Minimum PO Required Date
• Why?
– Qualifications required
– Authorized users only
(e.g. Schedulers)
• Configuration
• Java
• Autoscript
– Object Initialize Launch
Point
– Condition Launch Point
Example 4: Control Field Access
Let me show you…
value focused. results driven.
Thank You!