Example - Simulate the Passage of Time and the Resolution of Some Events
Run part of the Event_Studio_ELM_Agent_Modify_GOSALES.sql
script to simulate data changes.
First, change it so that two days elapsed since the ELM Returns Agent sample was last run. Second, for three of the four event instances found the last time that the ELM Returns Agent sample ran, change the follow-up code from -1 to +1. This indicates that only one of the these event instances still requires follow-up and the other instances are resolved.
Procedure
- In SQL Query Analyzer, from the File menu, click Open.
- Go to c10_location/webcontent/samples/datasources/sqlserver and double-click the Event_Studio_ELM_Agent_Modify_GOSALES.sql file.
- On the toolbar, click GOSALES from the list of databases.
- In the Query window, under Part 2, select all lines of code that appear after the comments.
- From the Query menu, click Execute.