In addition, you can use the Component Browser in the ATG Dynamo Server Admin page to see information about your scenarios. The main Nucleus component responsible for scenario operations is located at /atg/scenario/ScenarioManager. To examine the scenarios handled by this service, point your Web browser to the ATG Dynamo Server Admin page at:

http://localhost:port/dyn/admin/nucleus/atg/scenario/ScenarioManager/

(The default port numbers on JBoss, Oracle WebLogic, and IBM WebSphere are 8080, 7001, and 9080, respectively. For more information, see Connecting to the Dynamo Administration UI in the ATG Installation and Configuration Guide.)

The Examine Scenarios table shows, for each scenario, its status; last modification time; number of collective and individual instances; and debugging flags. A scenario’s status is displayed as “running” if it is enabled or as “disabled” if it is disabled.

Click the List instances link in the table to view, for the given scenario, the repository items that maintain the scenario state. Individual scenario instances maintain the scenario state for individual visitor profiles, and collective scenario instances maintain the state for the scenario as a whole. The following shows an example of the information you see for each scenario:

Scenario /QuincyFunds/InvestorRetention/WelcomeMail.sdl:

  Scenario info:

    1000020: class atg.adapter.gsa.GSAItem, item=scenarioInfo[ id=1000020,
    creationTime=960937282000, pdl=[B@683bfc, stateMachineVersion=2,
    author=admin, processStatus=2, id=1000020,
    processName=/QuincyFunds/InvestorRetention/WelcomeMail.sdl, lastModifiedBy=,
    modificationTime=964051587174]

Segment New Members:

Collective scenario instances:

    1.1000009: class atg.adapter.gsa.GSAItem, item=collectiveScenario[ id=1000009,
    segmentName=New Members, state=2, id=1000009,
    processName=/QuincyFunds/InvestorRetention/WelcomeMail.sdl,
    modificationTime=964051587174, creatorId=null]

Individual scenario instances:
    1.11000015: class atg.adapter.gsa.GSAItem, item=individualScenario
    [id=11000015, segmentName=New Members, contextLongs={},
    contextDates={}, state=3, createdByRecurringEvent=false, subject=(reference
    to item=user:210001), id=11000015,
    processName=/QuincyFunds/InvestorRetention/WelcomeMail.sdl,
    contextBooleans={}, modificationTime=964051587174, contextDoubles={},
    contextStrings={}, creatorId=1000009]

Click the name of the scenario in the table to view an internal text-based representation of the elements in the given scenario. You might find this version helpful if you need to include a description of a scenario in an internal bug report, for example. The following shows the scenario definition information for the New Members segment in the WelcomeMail scenario:

Scenario /QuincyFunds/InvestorRetention/WelcomeMail.sdl:

Process enabled=true modificationTime=1028236820204

     Segment New Members:
       0s: branch
         1: event atg.dps.Register
         2: time-wait in 5 mins
         3: condition (eq subject:investors true)
         4: condition (eq subject:receiveEmail yes)
         5: condition (eq subject:locale en_US)
         6: condition (isNotNull subject:email)
         7: action sendEmail[template=/QuincyFunds/en/email/welcome.jsp]
         8: fork
           8.1: branch
             8.1.1: event atg.dps.Login
           8.2: branch
             8.2.1: time-wait in 4 weeks 2 days
             8.2.2: action
              sendEmail[template=/QuincyFunds/en/email/newmemberoffer.jsp]

The link also shows you the possible states for people passing through each scenario (see Scenario Basics for more information about scenario states). The following example shows the scenario states for the New Members segment of the WelcomeMail scenario:

StateMachine New Members:
  1[start]
    (1) in 1 secs --> 2[1]:

  2[1]
    (1) atg.dps.Register --> 3[2]:

  3[2]
    (1) in 5 mins --> 4[8.2.1((eq subject:investors true)&(eq subject:receiveEmail
         yes)&(eq subject:locale en_US)&(isNotNull subject:email)),8.1.1((eq
         subject:investors true)&(eq subject:receiveEmail yes)&(eq subject:locale
         en_US)&(isNotNull subject:email))]:
         sendEmail[template=/QuincyFunds/en/email/welcome.jsp]((eq
         subject:investors true)&(eq subject:receiveEmail yes)&(eq subject:locale
         en_US)&(isNotNull subject:email))

  4[8.2.1((eq subject:investors true)&(eq subject:receiveEmail yes)&(eq
    subject:locale en_US)&(isNotNull subject:email)),8.1.1((eq subject:investors
    true)&(eq subject:receiveEmail yes)&(eq subject:locale en_US)&(isNotNull
    subject:email))]
    (1) ((eq subject:investors true)&(eq subject:receiveEmail yes)&(eq
        subject:locale en_US)&(isNotNull subject:email)) --> 5[8.2.1,8.1.1]:

  5[8.2.1,8.1.1]
    (1) atg.dps.Login --> 6[8++]:
    (2) in 4 weeks 2 days --> 6[8++]:
         sendEmail[template=/QuincyFunds/en/email/newmemberoffer.jsp]

  6[8++]

Copyright © 1997, 2013 Oracle and/or its affiliates. All rights reserved. Legal Notices