1 //Create a global variable for send event
2 @Field def sendEvent = {eventDataMap ->
3 app1.eventHandler(eventDataMap)
4 app2.eventHandler(eventDataMap)
7 @Field def locationObject = new LocationVar()
9 @Field def appObject = new Touched(sendEvent, 0)