EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB205018: How to simulate Pre- and Post-Service execution SQL with MicroStrategy Distribution Services.


Community Admin

• Strategy


This article describes possibility to mimic pre- and post-Service execution SQL using Distribution Services.

Summary:
This Technical Note describes the steps to simulate the pre- and post-execution SQL functionality that was available with Strategy Narrowcast. This functionality is not available in Distribution Services, but can be simulated with the use of other Strategy tools. 
 
Description:
Strategy Narrowcast offered users the ability to define SQL statements to be executed before and after a service is executed. This was useful for modifying or checking certain criteria that relate to the service execution to these recipients. This functionality is not available in Distribution Services, however the effects can be simulated through the use of Alert triggered Subscriptions and post-report SQL statements.
Action:
Strategy Web offers the ability to create Alert based subscriptions, triggered by metric qualifications. Alert based subscriptions can be used as a more sophisticated version of a pre-SQL check, and it includes full analytical functionality available to Strategy reports.

  • Create a report that includes the necessary Attributes and Metrics on which you would like to qualify.

ka04W000000uGAwQAM_0EM440000002HGv.jpeg
  • Right-click on the qualifying Metric and select Alerts. Both email and mobile notifications are available.
ka04W000000uGAwQAM_0EM440000002HGt.jpeg
  • Define the metric qualification in which the alert will be triggered.

ka04W000000uGAwQAM_0EM440000002HGw.jpeg
  • Delivery settings can be configured to the execution and delivery of a different report.

ka04W000000uGAwQAM_0EM440000002HGa.jpeg

This method provides greater functionality than Narrowcast pre-SQL checks, and is more intuitive.
The post-execution SQL that was available in Narrowcast can be replaced by implementing post-report SQL VLDB properties. This allows SQL to be run after the report execution, and is not tied to the subscription.
For more information regarding post statements defined at the report level, refer to the following Technical Note:
KB14618: How do pre/post statements in the VLDB properties affect the SQL statement when executing reports in Microstrategy Developer 10.x?


Comment

0 comments

Details

Knowledge Article

Published:

June 13, 2017

Last Updated:

June 13, 2017