SlideShare a Scribd company logo
John Gross
FlyCast
As one of Flycast Partners most senior and dynamic Consultants, John Gross brings a
diverse consulting and training background to every customer engagement. With over 20
years of extensive experience in IT Service Management Professional Services, Education
Services and Support Services, John is responsible for the entire gamut of the product life
cycle including Pre-Sales, Design Workshops, Implementations, Training and on-going
customer support. Implementation and Training experience includes a variety of public
and private sector customers in the Americas, EMEA and APAC. With over 400 ITSM
implementations, John has seen it all and willingly shares his meaningful experiences with
his Customers. As a Cherwell Certified Engineer and Cherwell Certified Instructor, John’s
ability to turn Cherwell CSM concepts into practical examples and interesting stories
makes his classes very enjoyable. As a result, John’s courses are always rated very highly.
“Advanced Cherwell
Administration Tips”
Cherwell Service Management
(CSM)
Advanced Cherwell Administration Tips
John Gross
CSM Administration Challenges
• Needs for the application to produce results
• Play out a behavior or process that meets business
needs
• Some answers are pretty easy to get or do:
• Show how many open tickets we have right now in my
dashboard that are due today
• Send a notification to the owned by manager if the
ticket breaches the due date
CSM Administration Challenges
• Some answers are not easy:
• When I look at the customer records, I need to see who
the department manager is
• As we do reviews, we’d like a link that sends an email to
the department manager from the customer record
• Sounds easy, right?
• This is our first example
• They all normally sound easy to the person asking!
• I want you to display the age of the ticket in the grid
• I always like to know how old a ticket is when I look at my
work in the dashboard
Standard Tools in CSM
• Adds tabs in the Form
Arrangement
• Used to Display related records
• Enables the ability to Update
“Child Records” a.k.a. the related
records
• Can be used to auto-populate
fields
• Can be used to Delete Child
Records (where the child records
are “owned”)
• More . . . .
RELATIONSHIPS
Standard Tools in CSM
• Invoked by a button,
menu action, save
action, business process,
scheduler etc.
• Can keep related data
up-to-date when key
fields change
• More . . . .
One-Steps
Standard Tools in CSM
•Assist in calculating
field values
•Assist in creating filters
or limits
•More…..
Expressions
Standard Tools in CSM
• Working with field properties
• The Elusive Calculated Field
• How do I keep it
recalculating???
• It doesn’t update in the grid in
my dashboard!
• How rude
• But what about validating?
• Validating vs. Relationships
• When do I need a relationship?
• More . . .
• A lot more…..
Business
Object
Properties
Department Manager
• I want my Department to show all
Customers who belong to it in a tab
• I want to update the Department
Manager and automatically have all
Customers Update with the new
Manager Name
• When we do reviews of customers, I
need to see the valid manager of the
customer, not the one who was the
manager when I created the record
Common people language into Cherwell
development components:
• What will we need?
• A tab on the Department business
object? OK, that sounds like a
relationship and form arrangement.
• Update department managers? Where
to start: I don’t even keep track of
department managers.
• Add in a new field and update records
– how to I update a bunch of related
records at one time?
The Department is a Lookup…for now
• Maybe set the
Business Object
Properties to at
least “Supporting”?
• No, since we want
to add a Form
Arrangement, we
must elevate to a
Major Object
• Only Major Objects
can have “tabs”
(Form
Arrangement)
The Edit Relationships is only available for
Supporting and Major Objects
Customer- Internal
• Is there already a
relationship to the
Department or is it
just being validated?
What was the
difference again?
• Hmmm . . . . . I do not
see a relationship
from Customer –
Internal to
Department
• Do I need a
relationship and do I
care about anything
here?
• Update the customers with department information
• A reverse relationship will need to exist between the
customer and department
• You can use the same fields (e.g. Department Name) to
link the Parent / Child.
• We need to set up a relationship to and from the
Customer – Internal and Department
• However, it will be the reverse relationship that was set
up from the Customer – Internal that will enable the
values to be sent from the Department to the
Customer – Internal (e.g. new Department Manager) as
well will see when we get to our One-Step
Step Through Children
• Customer – Internal Relationship
to Department (One to One)
• Department Relationship to
Customer – Internal (One to
Many)
• Both ways Reverse Relationship
• Common Link for both
relationships: Department Name
To get started, we will need:
• Now that the Department is a
Major Object, it can be linked
to other objects
• Only Major Objects can “link”
• Supporting Objects can be
“owned” but not linked to . . . .
• We simply create a
relationship that links the
parent (Department) to the
Child (Customer – Internal).
• The Department will Link to
Many Customer Internals
• So, what do we link?
• If you use the Wizard, you may be
driven down the road of linking the Rec
ID’s
• This is not always necessary
• Link common fields instead using the
custom constraints section
• E.g., “Customer –
Internal.Department” to
“Department.Department Name”
• You can also add additional Constraints
to limit the records that will be linked
• Hint: Constraint = Filter = Limit
Relationship Links
• Link and return only the values that
make sense
• When you eventually get to the Form
Arrangement, the tab will only show
values that match the filters set up in
the Constraint
• Note that Constraints only use field
values
• You cannot access expressions from the
Constrain area of a relationship
• The Form Arrangement can now display
the Customers in the Departments form
• However, we need to set up the rest of
the relationships
Relationship Links (continued)
• Using the same links,
set up the Customer
– Internal
relationship of
Customer – Internal
links ONE
Department
• Set the Reverse
Relationship
The link back to the department name is the same
You may now go back to the original Department
relationship and set the reverse relationship
• We’re half-way there
• We can now see the department’s customers linked in
the department form
• Using our experience in
adding in fields, we add
in a validated field
called Department
Manager that validates
against the Full Name
in the Customer –
Internal business
object
• We’ve also added in
the Department
Manager Name to the
Customer – Internal
business object and
form
• We add this to our
form and are now 90%
done with our task
Step Through Children
• Now that we have the Parent /
Child relationship set up along
with the necessary reverse
relationship between the
Department and the Customer
– Internal, it is possible to use
the Step Through Children
One-Step and update the
children (Department
Manager Name) with the
Department’s Manager value
• You’ll need to “turn on” the
ability to write One-Steps on
the Department business
object
Create the One-Step to Step Through Children
• Because of the reverse
relationship, the Customer
– Internal now displays the
Department Fields in the
Field Explorer
Step Through Children and save after each update
The One-Step is now ready to be invoked
Where to invoke the One-Step?
• You could add a button to
the form
• Add the one-step to the
Save Action of the business
object
• Use a Business Process
• Other Suggestion?
• To be more automatic, we’re going to invoke the
one-step in the Save Action of the Department
• In addition, we will invoke the One-Step after the
department has finished saving its own data
• As a final step, we
can return our
Department
business object to
the Lookup objects
• Where would we
go to add/edit
Departments if we
left it as a Major
Object??
Before saving:
After saving:
• By leveraging the Relationships, we were able to
create a Step Through Children one-step and
update a list of records in one swoop
• Where else could we have invoked the one-step?
• Via a button or link:
From the One-Step Manager
For One Record:
From the One-Step Manager
For Multiple Records:
As a final task to the request we would:
• Create a one-step to email the Department
Manager from the Customer – Internal object
• Add a link or button on the Customer – Internal
form that would invoke the email
The SQL “WHERE” Clause
• Constraints
• Filters
• Expressions
• Searches
• Limit
• Etc.
• For non-database-engineers
in common language:
• Select the data you want –
Show me the data
• WHERE
• Constraints/Filters/Searches
are True
The Age Old Question
• So, when I look at a grid, I want to see how many days old
my tickets are . . .
• Let’s see, since grids only show fields, I’ll need a new field
• Yeah! I know how to add a field
• OK, it’ll be in Days and a Number . . . .
• Hmmmm. So, when I add this to my grid, I need it so
show me how old it is
• If it’s Open, I want to see how many days it’s been
open since it was created and if it’s closed, I want to
see how long it took between the create date and the
close date
• I will need a Calculated Field
• I’m going to create an expression for each State
• For Open Tickets, I’ll refer to an expression that
calculates a Duration between Create and Right Now
(Current Date / Time)
Open Tickets Days
Closed Tickets Days
Now, I can combine this into one
expression to add to my field
Now, we use the Age in Days expression as the
Calculated Value property of the new Age in Days field
Make sure you use the Recalculate after load so the
value updates on the form
So, you add the field to your grid
Why is it empty in the GRID!!!???!!
I can see the value on the form:
• NOTE: Grids only display data once it’s been saved in the
database
• Calculated fields only can be updated once the record is
saved
• Even displaying the record with the Age on it will NOT
update the grid unless you invoke a SAVE command on the
record
• So, how to I update the age?
• You will need to invoke a Save Command
• Typically, by updating a field in the object and then setting the
Save checkbox, the calculated field will re-calculate to its new
value
• The Last Modified Date Time is a good placer-holder field to
update and then execute the Save by checking the save checkbox
Advanced Cherwell Administration Tips
To update the whole list, use the Run for
Group option in the One-Step Manager:
Advanced Cherwell Administration Tips
• Since this example wants to see the Age in Days, then you’d
want to create a scheduled event to run the one-step every
day
• If it were Age in Hours, then schedule the event every hour
• When executing one-steps in the Scheduler, you must assign
a Search Group (Search) to the one-step
• It is not recommended to use the All Incidents, since this will
eventually be a load on the scheduled event
• Instead, create a search that includes all open tickets plus
things closed in the last day or so
Scheduling the Age Update
Scheduling the Age Update
Scheduling the Age Update
Thank you!
Thank you for attending this
session!
Please fill
out an evaluation form.

More Related Content

PPTX
social media
PPTX
Credit Operation Process of UCBL
PPT
Public Relations & the Internet & Social Media
PPTX
I Didn’t Know You Could Do That in Cherwell!
PPTX
Cherwell One-StepTM Actions Can Turn Your Service Desk into a LEAN Machine!
PDF
Seven Things You Didn't Know About Cherwell
PPTX
Automating Business Processes for Trigo Group with Cherwell Service Management
PPTX
Taking ITPT from Project Tracking to Project Management
social media
Credit Operation Process of UCBL
Public Relations & the Internet & Social Media
I Didn’t Know You Could Do That in Cherwell!
Cherwell One-StepTM Actions Can Turn Your Service Desk into a LEAN Machine!
Seven Things You Didn't Know About Cherwell
Automating Business Processes for Trigo Group with Cherwell Service Management
Taking ITPT from Project Tracking to Project Management

Viewers also liked (13)

PDF
Service catalogue
PDF
Guide to the ITIL v3 Framework
PDF
IT Service Catalog Examples
PDF
UK Higher Education Service Desk Benchmarking Report 2014
PPTX
So You Wanna Make a Change?
PPTX
Stop Putting out Fires, Start Providing Solutions
PPTX
Introducing Express Software Manager
PPTX
California Baptist University Undergraduate catalog 1617_web
PPTX
IT Service Catalog: Customer, Provider and Manager Views of a Service Catalog
PPT
Best Practices for Implementing a Service Catalog and Enhanced ITSM
PPTX
Keep 'em or kick 'em out: Evaluating student workforce performance
PPTX
Developing a Service Catalog for Higher Education Information Technology Serv...
PPT
Defining Services for a Service Catalog
Service catalogue
Guide to the ITIL v3 Framework
IT Service Catalog Examples
UK Higher Education Service Desk Benchmarking Report 2014
So You Wanna Make a Change?
Stop Putting out Fires, Start Providing Solutions
Introducing Express Software Manager
California Baptist University Undergraduate catalog 1617_web
IT Service Catalog: Customer, Provider and Manager Views of a Service Catalog
Best Practices for Implementing a Service Catalog and Enhanced ITSM
Keep 'em or kick 'em out: Evaluating student workforce performance
Developing a Service Catalog for Higher Education Information Technology Serv...
Defining Services for a Service Catalog
Ad

Similar to Advanced Cherwell Administration Tips (20)

PPTX
Let’s build a_search-based_application_in_share_point_2013_-_baltimorespug
PPTX
Lets build a_search-based_application_in_share_point_2013_-_spsdc[2]
PDF
Salesforce Admin Webinar: Processes Drive Solutions
PDF
How to Solve the Biggest Problems with Salesforce Training
PPTX
How to Solve the Biggest Problems with Salesforce Training by David Giller
PDF
Webinar: So You Inherited (or Created) a Mess...Now What?
PPTX
Becoming a Salesforce / Data Driven Non-Profit
PDF
Better Resumes for Professional Communicators
PPTX
Unbelievable Salesforce Training Success Stories
PDF
SAP SD Training
PDF
How to Deliver Kick Ass Salesforce Training Without Breaking A Sweat or Break...
PDF
Modern Agile for Agencies
PDF
The Business of Flow - Point and Click Workflow Applications
PPTX
PQF Overview
PPTX
Webinar 5 Steps to a Digital Workplace on Office 365 - 4. Define an Internal ...
PPTX
Illinois workNet Step Guide Overview
PPTX
Unlock the Power of the Salesforce Service Cloud
PPTX
Microsoft Search on Bing
PPTX
Act! Tips by Tech Benders
PPTX
Practical Headless Flow Examples
Let’s build a_search-based_application_in_share_point_2013_-_baltimorespug
Lets build a_search-based_application_in_share_point_2013_-_spsdc[2]
Salesforce Admin Webinar: Processes Drive Solutions
How to Solve the Biggest Problems with Salesforce Training
How to Solve the Biggest Problems with Salesforce Training by David Giller
Webinar: So You Inherited (or Created) a Mess...Now What?
Becoming a Salesforce / Data Driven Non-Profit
Better Resumes for Professional Communicators
Unbelievable Salesforce Training Success Stories
SAP SD Training
How to Deliver Kick Ass Salesforce Training Without Breaking A Sweat or Break...
Modern Agile for Agencies
The Business of Flow - Point and Click Workflow Applications
PQF Overview
Webinar 5 Steps to a Digital Workplace on Office 365 - 4. Define an Internal ...
Illinois workNet Step Guide Overview
Unlock the Power of the Salesforce Service Cloud
Microsoft Search on Bing
Act! Tips by Tech Benders
Practical Headless Flow Examples
Ad

More from Cherwell Software (20)

PDF
Welcome to the Digital Transformation Jungle
PDF
9 Considerations Before You License a New ITSM Solution
PPTX
What is Enterprise Service Management and How You Can Get Started
PDF
What IT Organizations can Learn from Digital Marketing
PDF
Shadow IT - How to Solve the Problem that Can't be Seen
PDF
Five Ways Your ITSM Tool is Slowing You Down
PDF
Three Ways to Become More Agile
PDF
7 Steps to Creating an Effective ITSM Service Catalog
PDF
3 Steps to Selecting a New Service Desk Tool
PDF
Byod infographic
PPTX
Bringing Value to the Business through CSI
PPTX
The Death of Laptops: Promise and Challenge of the New Mobile Based Platform
PPTX
Cherwell's going to Pink15
PPTX
Who do You think is your best Ticket Management Provider?
PPTX
IT Help Desk Survey
PPTX
Expect More from Your Cherwell Self-Service Portal
PPTX
Business Value Intelligence: Beyond the Technology
PPTX
Knowledge Management for Real
PPTX
Metrics to Maturity, Intelligence for Innovation: Your Value Proposition
PPTX
Case Study: Turning a Big Ship–Transforming IT Silos into IT Services at the ...
Welcome to the Digital Transformation Jungle
9 Considerations Before You License a New ITSM Solution
What is Enterprise Service Management and How You Can Get Started
What IT Organizations can Learn from Digital Marketing
Shadow IT - How to Solve the Problem that Can't be Seen
Five Ways Your ITSM Tool is Slowing You Down
Three Ways to Become More Agile
7 Steps to Creating an Effective ITSM Service Catalog
3 Steps to Selecting a New Service Desk Tool
Byod infographic
Bringing Value to the Business through CSI
The Death of Laptops: Promise and Challenge of the New Mobile Based Platform
Cherwell's going to Pink15
Who do You think is your best Ticket Management Provider?
IT Help Desk Survey
Expect More from Your Cherwell Self-Service Portal
Business Value Intelligence: Beyond the Technology
Knowledge Management for Real
Metrics to Maturity, Intelligence for Innovation: Your Value Proposition
Case Study: Turning a Big Ship–Transforming IT Silos into IT Services at the ...

Recently uploaded (20)

PPTX
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
PDF
Encapsulation theory and applications.pdf
PDF
A comparative analysis of optical character recognition models for extracting...
PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
Getting Started with Data Integration: FME Form 101
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PPTX
OMC Textile Division Presentation 2021.pptx
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PDF
August Patch Tuesday
PDF
Heart disease approach using modified random forest and particle swarm optimi...
PPTX
A Presentation on Artificial Intelligence
PDF
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
PDF
A novel scalable deep ensemble learning framework for big data classification...
PDF
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PDF
project resource management chapter-09.pdf
PPTX
cloud_computing_Infrastucture_as_cloud_p
PPTX
1. Introduction to Computer Programming.pptx
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
Encapsulation theory and applications.pdf
A comparative analysis of optical character recognition models for extracting...
SOPHOS-XG Firewall Administrator PPT.pptx
NewMind AI Weekly Chronicles - August'25-Week II
Getting Started with Data Integration: FME Form 101
Group 1 Presentation -Planning and Decision Making .pptx
OMC Textile Division Presentation 2021.pptx
Univ-Connecticut-ChatGPT-Presentaion.pdf
August Patch Tuesday
Heart disease approach using modified random forest and particle swarm optimi...
A Presentation on Artificial Intelligence
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
A novel scalable deep ensemble learning framework for big data classification...
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
project resource management chapter-09.pdf
cloud_computing_Infrastucture_as_cloud_p
1. Introduction to Computer Programming.pptx
Building Integrated photovoltaic BIPV_UPV.pdf

Advanced Cherwell Administration Tips

  • 1. John Gross FlyCast As one of Flycast Partners most senior and dynamic Consultants, John Gross brings a diverse consulting and training background to every customer engagement. With over 20 years of extensive experience in IT Service Management Professional Services, Education Services and Support Services, John is responsible for the entire gamut of the product life cycle including Pre-Sales, Design Workshops, Implementations, Training and on-going customer support. Implementation and Training experience includes a variety of public and private sector customers in the Americas, EMEA and APAC. With over 400 ITSM implementations, John has seen it all and willingly shares his meaningful experiences with his Customers. As a Cherwell Certified Engineer and Cherwell Certified Instructor, John’s ability to turn Cherwell CSM concepts into practical examples and interesting stories makes his classes very enjoyable. As a result, John’s courses are always rated very highly. “Advanced Cherwell Administration Tips”
  • 2. Cherwell Service Management (CSM) Advanced Cherwell Administration Tips John Gross
  • 3. CSM Administration Challenges • Needs for the application to produce results • Play out a behavior or process that meets business needs • Some answers are pretty easy to get or do: • Show how many open tickets we have right now in my dashboard that are due today • Send a notification to the owned by manager if the ticket breaches the due date
  • 4. CSM Administration Challenges • Some answers are not easy: • When I look at the customer records, I need to see who the department manager is • As we do reviews, we’d like a link that sends an email to the department manager from the customer record • Sounds easy, right? • This is our first example • They all normally sound easy to the person asking! • I want you to display the age of the ticket in the grid • I always like to know how old a ticket is when I look at my work in the dashboard
  • 5. Standard Tools in CSM • Adds tabs in the Form Arrangement • Used to Display related records • Enables the ability to Update “Child Records” a.k.a. the related records • Can be used to auto-populate fields • Can be used to Delete Child Records (where the child records are “owned”) • More . . . . RELATIONSHIPS
  • 6. Standard Tools in CSM • Invoked by a button, menu action, save action, business process, scheduler etc. • Can keep related data up-to-date when key fields change • More . . . . One-Steps
  • 7. Standard Tools in CSM •Assist in calculating field values •Assist in creating filters or limits •More….. Expressions
  • 8. Standard Tools in CSM • Working with field properties • The Elusive Calculated Field • How do I keep it recalculating??? • It doesn’t update in the grid in my dashboard! • How rude • But what about validating? • Validating vs. Relationships • When do I need a relationship? • More . . . • A lot more….. Business Object Properties
  • 9. Department Manager • I want my Department to show all Customers who belong to it in a tab • I want to update the Department Manager and automatically have all Customers Update with the new Manager Name • When we do reviews of customers, I need to see the valid manager of the customer, not the one who was the manager when I created the record
  • 10. Common people language into Cherwell development components: • What will we need? • A tab on the Department business object? OK, that sounds like a relationship and form arrangement. • Update department managers? Where to start: I don’t even keep track of department managers. • Add in a new field and update records – how to I update a bunch of related records at one time?
  • 11. The Department is a Lookup…for now
  • 12. • Maybe set the Business Object Properties to at least “Supporting”? • No, since we want to add a Form Arrangement, we must elevate to a Major Object • Only Major Objects can have “tabs” (Form Arrangement)
  • 13. The Edit Relationships is only available for Supporting and Major Objects
  • 14. Customer- Internal • Is there already a relationship to the Department or is it just being validated? What was the difference again? • Hmmm . . . . . I do not see a relationship from Customer – Internal to Department • Do I need a relationship and do I care about anything here?
  • 15. • Update the customers with department information • A reverse relationship will need to exist between the customer and department • You can use the same fields (e.g. Department Name) to link the Parent / Child. • We need to set up a relationship to and from the Customer – Internal and Department • However, it will be the reverse relationship that was set up from the Customer – Internal that will enable the values to be sent from the Department to the Customer – Internal (e.g. new Department Manager) as well will see when we get to our One-Step Step Through Children
  • 16. • Customer – Internal Relationship to Department (One to One) • Department Relationship to Customer – Internal (One to Many) • Both ways Reverse Relationship • Common Link for both relationships: Department Name To get started, we will need:
  • 17. • Now that the Department is a Major Object, it can be linked to other objects • Only Major Objects can “link” • Supporting Objects can be “owned” but not linked to . . . . • We simply create a relationship that links the parent (Department) to the Child (Customer – Internal). • The Department will Link to Many Customer Internals
  • 18. • So, what do we link? • If you use the Wizard, you may be driven down the road of linking the Rec ID’s • This is not always necessary • Link common fields instead using the custom constraints section • E.g., “Customer – Internal.Department” to “Department.Department Name” • You can also add additional Constraints to limit the records that will be linked • Hint: Constraint = Filter = Limit Relationship Links
  • 19. • Link and return only the values that make sense • When you eventually get to the Form Arrangement, the tab will only show values that match the filters set up in the Constraint • Note that Constraints only use field values • You cannot access expressions from the Constrain area of a relationship • The Form Arrangement can now display the Customers in the Departments form • However, we need to set up the rest of the relationships Relationship Links (continued)
  • 20. • Using the same links, set up the Customer – Internal relationship of Customer – Internal links ONE Department • Set the Reverse Relationship
  • 21. The link back to the department name is the same
  • 22. You may now go back to the original Department relationship and set the reverse relationship
  • 23. • We’re half-way there • We can now see the department’s customers linked in the department form
  • 24. • Using our experience in adding in fields, we add in a validated field called Department Manager that validates against the Full Name in the Customer – Internal business object • We’ve also added in the Department Manager Name to the Customer – Internal business object and form • We add this to our form and are now 90% done with our task
  • 25. Step Through Children • Now that we have the Parent / Child relationship set up along with the necessary reverse relationship between the Department and the Customer – Internal, it is possible to use the Step Through Children One-Step and update the children (Department Manager Name) with the Department’s Manager value • You’ll need to “turn on” the ability to write One-Steps on the Department business object
  • 26. Create the One-Step to Step Through Children • Because of the reverse relationship, the Customer – Internal now displays the Department Fields in the Field Explorer
  • 27. Step Through Children and save after each update
  • 28. The One-Step is now ready to be invoked
  • 29. Where to invoke the One-Step? • You could add a button to the form • Add the one-step to the Save Action of the business object • Use a Business Process • Other Suggestion?
  • 30. • To be more automatic, we’re going to invoke the one-step in the Save Action of the Department • In addition, we will invoke the One-Step after the department has finished saving its own data
  • 31. • As a final step, we can return our Department business object to the Lookup objects • Where would we go to add/edit Departments if we left it as a Major Object??
  • 34. • By leveraging the Relationships, we were able to create a Step Through Children one-step and update a list of records in one swoop • Where else could we have invoked the one-step? • Via a button or link:
  • 35. From the One-Step Manager For One Record:
  • 36. From the One-Step Manager For Multiple Records:
  • 37. As a final task to the request we would: • Create a one-step to email the Department Manager from the Customer – Internal object • Add a link or button on the Customer – Internal form that would invoke the email
  • 38. The SQL “WHERE” Clause • Constraints • Filters • Expressions • Searches • Limit • Etc. • For non-database-engineers in common language: • Select the data you want – Show me the data • WHERE • Constraints/Filters/Searches are True
  • 39. The Age Old Question • So, when I look at a grid, I want to see how many days old my tickets are . . . • Let’s see, since grids only show fields, I’ll need a new field • Yeah! I know how to add a field • OK, it’ll be in Days and a Number . . . . • Hmmmm. So, when I add this to my grid, I need it so show me how old it is
  • 40. • If it’s Open, I want to see how many days it’s been open since it was created and if it’s closed, I want to see how long it took between the create date and the close date • I will need a Calculated Field • I’m going to create an expression for each State • For Open Tickets, I’ll refer to an expression that calculates a Duration between Create and Right Now (Current Date / Time)
  • 43. Now, I can combine this into one expression to add to my field
  • 44. Now, we use the Age in Days expression as the Calculated Value property of the new Age in Days field
  • 45. Make sure you use the Recalculate after load so the value updates on the form
  • 46. So, you add the field to your grid Why is it empty in the GRID!!!???!!
  • 47. I can see the value on the form: • NOTE: Grids only display data once it’s been saved in the database • Calculated fields only can be updated once the record is saved • Even displaying the record with the Age on it will NOT update the grid unless you invoke a SAVE command on the record
  • 48. • So, how to I update the age? • You will need to invoke a Save Command • Typically, by updating a field in the object and then setting the Save checkbox, the calculated field will re-calculate to its new value • The Last Modified Date Time is a good placer-holder field to update and then execute the Save by checking the save checkbox
  • 50. To update the whole list, use the Run for Group option in the One-Step Manager:
  • 52. • Since this example wants to see the Age in Days, then you’d want to create a scheduled event to run the one-step every day • If it were Age in Hours, then schedule the event every hour • When executing one-steps in the Scheduler, you must assign a Search Group (Search) to the one-step • It is not recommended to use the All Incidents, since this will eventually be a load on the scheduled event • Instead, create a search that includes all open tickets plus things closed in the last day or so Scheduling the Age Update
  • 55. Thank you! Thank you for attending this session! Please fill out an evaluation form.