Created
August 10, 2010 20:41
-
-
Save MikeGrace/517961 to your computer and use it in GitHub Desktop.
Raise explicit events in your Kynetx app!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ruleset a60x294 { | |
meta { | |
name "explicit-event-data-test" | |
description << | |
explicit-event-data-test | |
>> | |
author "Mike Grace" | |
logging on | |
} | |
dispatch { | |
domain "example.com" | |
} | |
global { | |
} | |
rule raise_event is active { | |
select when pageview ".*" | |
noop(); | |
fired { | |
raise explicit event mustafa | |
with expression = "I'm on a horse?" | |
and result = "true"; | |
} | |
} | |
rule react is active { | |
select when explicit mustafa | |
pre { | |
a = event:param("expression"); | |
b = event:param("result"); | |
} | |
{ | |
notify(a,b) with sticky = true; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment