Configure a time-triggered transaction to run processing on a scheduled basis. Agents
initiate time-triggered transactions to run processing automatically at defined
intervals.
About this task
Time-triggered transactions run without direct user or external-system intervention. Configure
runtime properties, scheduling parameters, and processing criteria to control when and how the
transaction runs.
Before you configure a time-triggered transaction, create a transaction or open an existing
transaction. For more information, see Creating transactions and Modifying transactions.
Procedure
- Open a transaction.
- On the Trigger sources tab, click Time
triggered.
- Click Add agents.
- From the Runtime properties tab, configure the processing
environment:
- Select the agent server.
- Select the alert queue.
- Enter the JMS queue name.
- Specify the number of processing threads.
- Select the initial context factory.
- Enter the connection factory.
- Enter the provider URL.
- Optional: Select Enable JMS security.
- Optional: Select Schedule trigger message and enter the interval between
scheduled trigger messages.
- Optional: Select Enable advanced scheduling. This option appears only if
you previously selected Schedule trigger message.
- Select the service that you want to run after transaction processing completes.
- Select the Criteria parameters tab and enter the parameter name
and value.
- If you select Enable JMS security in the Runtime
properties tab, select the JMS security properties tab and
configure destination-based JMS security, JNDI-based JMS security, or both, depending on the
requirements of your JMS provider. Then, enter the parameter name and value.
- If you select Enable advanced scheduling in the Runtime
properties tab, select the Advanced scheduling tab and configure
scheduling options to set a trigger interval for agents so that it suits the business needs of your
organization. For more details about advanced scheduling and options, see Advanced scheduling.
- Select the This transaction can be triggered by agents
checkbox.
- Click Save.
Results
The transaction is configured as a time-triggered transaction. Agents can run the transaction
according to the configured runtime properties, scheduling settings, and criteria parameters.
What to do next
- Define event conditions to determine how the transaction responds to events during processing.
For more information, see Defining event conditions.
- Configure transaction completion criteria to determine when the transaction is complete.
- Associate the transaction with the required process steps.