Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

This content has been archived and is no longer being updated.

Links may not function; however, this content may be relevant to outdated versions of the product.

Care Management - Modifying the Timeline Display

Updated on September 25, 2019

The Care Management Framework incorporates the use of a timeline display to depict a series of events and marked time period on a flexible scale time line. The time scale can be as detailed in increments as small as one hour and as long as ten years.

When a case is opened, the Timeline tab presents a graphical display of past due work objects as well as work objects scheduled in the future. Hovering over an icon on the timeline displays a summary pop-up of the event.

 

Configuring Timeline Display Options

The framework is configured to center the case timeline with today’s date when a case is displayed.

Timeline settings are configured in the javascript of the CaseTimeLine HTML rule.

/* this_timeline.set_timeline_title("Mary's Timeline"); */
this_timeline.center_todays_date();
/* this_timeline.startwith_todays_date(); */
/* this_timeline.startwith_todays_date("month",1); */

Below are the timeline settings used by the framework that you can update to meet your display needs:

  • this_timeline.set_timeline_title(‘custom title’) - Sets the title of the timeline
  • this_timeline.center_todays_date() - Centers the initial display with today's date. If today’s date is beyond the limits of the event, this setting is ignored. This is the CMF default.
  • this_timeline.startwith_todays_date() - Starts the initial display with today’s date. If today’s date is beyond the limits of the event, this setting is ignored.
  • this_timeline.startwith_todays_date(scale,duration) - Starts the initial display with today’s date and displays the interval requested. If today’s date is beyond the limits of the event, this setting is ignored. The scale value can be either “year|month|day”. Month is the preferred option.

 

Example

When the setting, this_timeline.startwith_todays_date is configured with the parameter (“month”,6), the framework starts the initial time display with today and displays the next 6 months data.

 

Return to About the Care Management Framework

 

 

 

 

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us