This document provides a query to get or update the business value of an application.
The business value of an application is a parameter used by the Cast Engineering Dashboard to decide the size of the application in the global display of the portfolio data.
Its value is set by the final user, it represents the importance of an application within the business portfolio.
Release | Yes/No |
---|---|
8.3.x |
RDBMS | Yes/No |
---|---|
Oracle Server | |
Microsoft SQL Server | |
CSS2 |
Get the business value of your application
SELECT Metric_num_value AS "business value" FROM dss_metric_results WHERE metric_id =66061 AND object_id =<APPLICATION_ID> AND snapshot_id= (SELECT MAX(SNAPSHOT_ID) FROM DSS_SNAPSHOTS WHERE APPLICATION_ID=<APPLICATION_ID> )
1
The business value parameter set for this application is 1.
(It is the default value)
Get the business value of your application
SELECT Metric_num_value AS "business value" FROM dss_metric_results WHERE metric_id =66061 AND object_id =<APPLICATION_ID> AND snapshot_id= (SELECT MAX(SNAPSHOT_ID) FROM DSS_SNAPSHOTS WHERE APPLICATION_ID=<APPLICATION_ID> )
business value
-----------------
1
1 record(s) selected [Fetch MetaData: 0/ms] [Fetch Data: 0/ms]
The business value parameter set for this application is 1.
(It is the default value)
Update the business value of your application
Suppose you want to give more importance to your application in Cast Engineering Dashboard display.
UPDATE dss_metric_results SET metric_num_value = <BUSINESS_VALUE> -- 3 for instance WHERE metric_id =66061 AND object_id =<APPLICATION_ID> AND snapshot_id = (SELECT MAX(SNAPSHOT_ID) FROM DSS_SNAPSHOTS WHERE APPLICATION_ID=<APPLICATION_ID> )
Query executed successfully : one line modified. Query was executed in 13 ms.
The business value parameter was updated to 3. The application will now appear in a bigger frame in CED.
In case you want to update for any particular snapshot, then you can replace the "(select max(SNAPSHOT_ID) from DSS_SNAPSHOTS WHERE APPLICATION_ID=<APPLCIATION_ID>)" with the snapshot_id you are interested in.
In this example, it is for the latest snapshot
Update the business value of your application
Suppose you want to give more importance to your application in Cast Engineering Dashboard display.
UPDATE dss_metric_results SET metric_num_value = <BUSINESS_VALUE> -- 3 for instance WHERE metric_id =66061 AND object_id =<APPLICATION_ID> AND snapshot_id = (SELECT MAX(SNAPSHOT_ID) FROM DSS_SNAPSHOTS WHERE APPLICATION_ID=<APPLICATION_ID> )
1 record(s) affected
[Executed: 17/01/17 09:22:34 GMT ] [Execution: 345/ms]
The business value parameter was updated to 3. The application will now appear in a bigger frame in CED.
In case you wanted to update for any particular snapshot, then you can replace the "(select max(SNAPSHOT_ID) from DSS_SNAPSHOTS WHERE APPLICATION_ID=<APPLCIATION_ID>)" with the snapshot_id you are interested in.
In this example, it is for the latest snapshot