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

KB16555: Narrowcast: Not Demanded vs. Demanded and Inactive vs. Active


Community Admin

• Strategy


Narrowcast: Not Demanded vs. Demanded and Inactive vs. Active

SUMMARY
During the life of a Narrowcast Service, it will usually only occupy two states: Active or Inactive. Some Narrowcast Services will occupy the state of 'Not Demanded'. Where does this state fit in the Narrowcast Service State paradigm?
 
Active vs. Inactive
Active and Inactive are both states that a service can occupy over the course of its lifetime. These two states are permanent changes to the service. In this sense, permanent means that once manually changed to Active/Inactive through the Narrowcast Administrator user interface, a service will stay in that state until it is toggled again by the user. There is no change to this state by the Narrowcast System. Below is an example of a change in service from Active to Inactive:
 

ka04W000000OaiDQAS_0EM440000002F7g.jpeg

 
Not Demanded vs. Demanded
Not Demanded is a term used to describe the type of Narrowcast Schedule that is loaded into the Distribution Manager. Inside the Schedule Editor, there is a check box for creating an 'On-Demand' Schedule. This type of Schedule is normally reserved for the Send Now Schedules as noted in the Schedule Editor but the functionality is available to other Schedules. The reason for this requirement is that the Send Now Schedule will run the Send Now Service once every minute. If the Schedule is set to Active, then the Send Now Service will run to completion every minute, logging all progress, no matter the load. If there are many Strategy Project Information Sources configured for Web Deliveries, this will create unnecessary clutter in the Distribution Manager and the DElogs.
 
Setting the Send Now Schedule to Not Demanded sets the Schedule inactive temporarily, while it has no tasks, similar to a waiting state. In effect, the Schedule is waiting for work. The amount of work that needs to be done is determined by the users in the Subscription Set of the Services attached to that Not Demanded Schedule. No users in the Subscription Set(s) in the Service(s) means no work to complete. Not Demanded says that in this case, the Schedule should remain dormant until there is a User in the attached Service's Subscription Set(s).
 
Executing a Not Demanded Schedule
When a Service tied to a Not Demanded Schedule contains at least one User in the Subscription Set(s) is executed, the status of the Schedule will change to Demanded. Just as Not Demanded is analigous to a temporary Inactive State, Demanded is analigous to a status of temporarily Active. During this time, the Service Execution will log and the Service will run to completion as if it was Active. However, once the last attached Service is done executing the status will change back to Not Demanded. The image below depicts this change:
 

ka04W000000OaiDQAS_0EM440000002F7e.jpeg

 

  1. After being loaded into the Distribution Manager on startup, the Not Demanded Schedule is triggered.
  2. The Service attached to the Schedule is loaded into the Distribution Manager.
  3. The Subscriptions are loaded into the DM from the Subscription Set attached to the Service.
    • If there are no Subscriptions, the Service and Susbcription Set are unloaded from the Distribution Manager.
    • If a Subscription is found, proceed to Step 4.
  4. The Distribution Manager changes the Status of the Schedule to 'Demanded' indicating the Schedule is temporarily active.
  5. The Service's segments are sent to Execution Engine(s) for execution.
  6. Once the Service's segment execution is complete, the Distribution Manager changes the status of the Schedule to 'Not Demanded' indicating that it is temporarily inactive.

Not Demanded/Demanded vs. Inactive/Active
The key difference between the two pairs of states is permanent vs. temporary. Active/Inactive are states that instantiated and changed by the user through the Narrowcast Administrator user interface and Not Demanded/Demanded are special states manipulated by the Narrowcast System at run-time.
 
KB16555


Comment

0 comments

Details

Knowledge Article

Published:

May 9, 2017

Last Updated:

December 29, 2018