How to add Gantt chart to your application

To add support for Gantt chart in your application you need to do the following:

  1. Add some predefined business objects to your application that represent Gantt tasks, dependencies and allocated resources
  2. Add business rules and process to create and process instances of these objects
  3. Add a query that finds tasks and displays them and related dependencies as a Gantt chart

To add predefined business objects to your application select the Business Objects node in the tree, right click and select the Add Gantt Task Object command from the popup menu. Before doing this, make sure that you define your own object that represents a “resource” that will be allocated to a task (even if you don’t use resources in your Gantt). It can be any object that has an attribute called Name. After you select the command Aware IM will ask you to provide the name of the “resource” object and then it will create predefined objects called GanttTask and GtDependency with all the required attributes (Note that GtDependency has references to the tasks that it “connects”.

After this you need to define rules and processes that will create and manage tasks and related dependencies.

Finally you need to define a query to find task objects and display them as a Gantt chart. When a query looks for task objects Aware IM will automatically enable the Gantt option in the Display options of the query. You can then specify properties of the Gantt chart that you want to show. The Gantt chart will automatically include all dependencies related to the tasks.

This video tutorial explains how to configure Gantt charts in Aware IM.

 

.

  • Last modified: 2023/03/09 03:56