Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 10 Palette Reference : On Alarm

On Alarm
Activity
The On Alarm activity activates when the specified time is reached. This activity can be used to set an alarm for a specific time or to periodically perform a set of actions. This activity can be useful for marking time periods for reminders or to set a timeout for executing an orchestration process.
The On Alarm activity starts an event-handling routine. You can transition to one or more activities to perform after the alarm occurs, but you cannot transition from activities within the event handling routine to the main processing flow.
The On Alarm activity is active only when the scope where it is located is executing. For example, if the On Alarm activity appears within a group, the alarm will go off only as long as the group continues to execute. The alarm is not checked until the group starts to execute, and once processing in the group is complete, the alarm is no longer active.
Configuration
The Configuration tab has the following fields.
For — specifies an amount of time in years, days, months, hours, minutes, seconds, and milliseconds that this alarm should remain active.
When For is specified, the alarm goes off at the end of the amount of time specified. For example, if you specify 1 day, the alarm goes off one day after the current scope starts to execute.
When Until is specified, the alarm goes off on the specific day and time you provide. For example, if all processes must provide a status at the end of the day, you would specify an expression that evaluates to the desired time on the current date.
Expression — this allows you to provide an XPath expression that evaluates to an amount of time.
Expression — this allows you to provide an XPath expression that evaluates to a specific date and time.
Specify the amount of time in the provided fields: Years, Months, Days, Hours, Minutes, Seconds, Milliseconds.
Specify an XPath expression that evaluates to an amount of time. Use the XPath Formula Builder button to bring up the formula editor, if desired.
Specify an XPath expression that evaluates to a specific date and time. Use the XPath Formula Builder to bring up the formula editor, if desired.
Check this box if you wish the alarm to repeat at periodic intervals after the initial alarm goes off.
RepeatEvery ConfigOption
Literal — this allows you to choose an amount of time in years, months, days, hours, minutes, seconds, and milliseconds.
Expression — this allows you to provide an XPath expression that evaluates to an amount of time.
Specify an XPath expression that evaluates to an amount of time. Use the XPath Formula Builder button to bring up the formula editor, if desired. The alarm will repeat after the specified amount of time is reached.
Specify the amount of time in the provided fields: Years, Months, Days, Hours, Minutes, Seconds, Milliseconds.
 
 

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved