...
Go to Develop > Events > Complex.
The Manage Complex Event screen appears.Click Create New.
- Provide the name and description of the new Complex Event activity in the Name and Description text boxes.
Write the java code in the Script text box.
ToInfo Click Help link (above Script text box) to view the sample code
, click Help link.
- Select the date on which Complex event will stop triggering in the Event Expiry Date. The date must be in MM/dd/yyyy format. Click the Calendar icon and select the required date from the calendar.
- Provide the expiry time from the Time drop-down list.
Provide the time interval when the event checks the database Server in the Polling Frequency. Enter the digit in the Frequency field and select the unit of time, that is, seconds, minutes or hours from the Duration.
Info We recommended minimum Polling Frequency to be more than 60 seconds.
Expand Advanced Properties. For information about Advanced Properties refer to Changing Advanced Properties.
Info For information about event misfire handling, refer to Handling Misfire Event.
For information about enable enabling email error notification, refer to the Creating Email Error Notification.- Click Save.