You are on page 1of 40

Management Tools

Master Class
Agenda

Service Center Lifetime


■ Factory Area ■ Performance monitoring
□ Applications
■ User Management
□ Modules

■ Monitoring Area
□ Errors Logs

□ General logs

□ Integrations

□ Extensions

□ Timers

□ Emails

□ Environment Health
2
01
Service Center
Service Center - Home

To access Service Center go to https://<your_server>/ServiceCenter or click the gear


icon in the Service Studio toolbar

4
Service Center - Factory

In this area, you can set the configurations of the modules of the
environment, site properties, timers, and emails configurations... among
other things
Applications

6
Application Details

7
Module Details

8
Site Properties Tab

■ List of all the Site Properties that are defined in the module

9
Site Properties Tab

■ It’s possible to change the values of the site properties


■ The value set here overrides the default value that was set in Service Studio

10
Timers Tab

■ List of all the timers that are defined in the module


■ Possible to run and enable/disable the timer

11
Timers Tab

■ In the Timer’s detail, it’s possible to


□ Set a different schedule

□ Adjust the priority

□ Change timeout

□ Run the timer

□ Disable the timer

□ Details of last run vs. current execution

12
Service Center - Monitoring

In this area, you can see the environment logs and also information about
the environment current status. Almost all log options allow you to export
the logs to Excel so that members of the operations team can analyze these
logs and share them if needed.
Error Logs

■ Here you can monitor the errors that


occurred in runtime
■ Errors are logged automatically
■ Use the filters section to narrow
down your search
■ For more details go to the Detail link

14
Internal Error Screen

Suddenly you are redirected to an Internal Error Screen...

15
Why?

■ An exception was raised while you

were executing the application in the


browser
■ That exception was not handled
anywhere before getting to the
Global Exception Handler
■ Inside the OnException, the
exception was caught by the
AllExceptions Handler and that flow
redirects the user to the Internal
Error Screen

16
How to proceed?

■ Investigate it
□ Check the Errors Log in SERVICE CENTER

Service Center is part of your developer toolkit. Remember that!

■ Analyse it
□ Open the Error Detail and read the Message and Stack Trace

■ Follow the hints


□ The error Message and Stack hints about where the error is the code. At this point, it is
important to find the error in Service Studio.

□ Can’t find it? Use the DEBUGGER!

17
Investigate Errors using Service Center

18
Analyse Errors using Service Center

19
Unexpected Feedback Messages

Suddenly you get an Unexpected Feedback Message...

20
Why?

■ An exception was raised while you

were executing the application in the


browser
■ The exception was handled by an
exception handler in one of the
screen actions
■ Inside the Screen Action, the
exception was caught by the
AllExceptions Handler and that flow
runs a Feedback Message with the
Exception Message

21
Investigate Errors using Service Center

22
Analyse Errors using Service Center

23
How to fix the Errors?

■ Understand the error and what caused it


□ Learning from your mistakes is an important step to grow as an IT developer

■ Know your options


□ Being a developer is not about following a recipe, it’s about knowing the possible options
and making choices

■ Fix the error using the best option for each specific scenario

24
Sharpen your pencil... well, grab your mouse!

Common Errors Exercise

Shall we fix both errors now?

LET’S DO IT!

Common Errors Exercise

25
Bear in mind - Common Error Key Takeaways

■ A redirection to an Internal Error Screen or an Unexpected Feedback Message


can occur for different reasons
■ It is important to read the error message and detail to figure out what caused the
error to be able to act accordingly
■ There may be many solution options… It’s the beauty of IT!
■ Not all options are good for all the scenarios
■ Your job is to find the best fix for each specific issue

26
General Logs

■ These logs can be used to debug the

action flow or to register some


information that you can examine
afterwards
■ Use the filters section to narrow
down your search
□ Application audits only (checkbox)

■ Here you can monitor the activity


logs that were registered in runtime

27
LogMessage Action

How to register Logs?

■ Use the System Action LogMessage in a logic


flow
□ Registers information that can be presented in
Service Center in the module General log

More info on Log Information in Action


Flows
28
Integrations Log

■ Here you can monitor the execution

of the actions of your exposed and


consumed integrations, such as
REST, SOAP or SAP
■ Use the filters section to narrow
down your search
□ Type

□ Action

29
Extensions Log

■ Here you can monitor all extensions

actions that run during a request, the


caller module, and how long the
extension action took to reply.
■ Use the filters section to narrow
down your search

30
Enable Log

■ To enable the extension logs, go to


Factory, choose Extension and find
the extension module
■ Open the extension module and
choose the Operation tab
■ Check the Activity logging check box

31
Timer Log

32
Email Log

■ Go to Monitoring and choose Emails

■ Here you can access the Log of


emails sent from the OutSystems
platform
■ When there’s an error it’s possible to
see the detail
■ You can also set the email content to
be logged as well
□ By default, it’s set to not log the email
content

33
Environment Health

Shows the status of the OutSystems


platform front-end servers and timers.
■ Green icon: service is running; all is
operating correctly.

■ Yellow icon: service is running; a non-critical


condition has occurred.

■ Red icon: service is not running, or a critical


condition has occurred.

34
02
Lifetime
Performance Monitoring

36
Performance Monitoring

37
User Management

■ Lifetime allows you to create IT Users


using a role-based permission model
■ This model enables you to set up the
permissions of your IT users for
simple to complex security policy
needs

Note: In environments without Lifetime,


use Service Center to manage IT Users
and Roles.
38
Questions?
Thank you!

You might also like