Redwood Documentation

Product Documentation

 

›Triggering Custom Code

RunMyJobsRedwoodScript Development

Developing Applications

  • Developing Applications

RedwoodScript

  • RedwoodScript
  • Scripting in the Shell
  • Mixing REL and RS Code in a Library
  • Controlling Process Servers with RedwoodScript
  • Controlling Queues with RedwoodScript
  • Managing Applications with RedwoodScript
  • Substitution Parameters
  • Date Formatting and Parsing
  • Impact of Modified Process Definitions or Chain Definitions on Processes and Chains
  • Using the RedwoodScript Definition Type
  • Using RedwoodScript in Processes
  • Using Eclipse to Create and Edit Process Definitions

Debugging Your Code

  • Changing Process Logging Levels

Triggering Custom Code

  • Triggering Custom Code
  • Using Triggers
  • Trigger and Action Examples
  • Using Actions
  • Executing Your Own Classes from a Library
  • Library Examples
  • Extending Redwood Server Functionality with Extension Points
  • Extending Edit Pages with ObjectPageExtensionPoint
  • Creating Extension Points
  • Extending Redwood Server Functionality with Extension Points

Using Tables

  • Using Tables to Store Frequently Used Values

PL/SQL API

  • Cronacle PL/SQL API Module
  • Creating the OracleJob Process Server
  • Using the OracleJob Definition Type
  • Packages
  • RS/JCS Views

Tuning Redwood Platform

  • Tuning Redwood Platform

Memory Tuning

  • Tuning Memory Usage and Garbage Collection

Reference

  • Using SQL to Query the Data Model
  • Embed Redwood Server Overviews into Extension Points with the Embed API
  • API Documentation
  • Script Date Formats
  • Datamodel
  • Redwood Expression Language Functions and Implicit Objects
  • RedwoodScript Scripting Contexts and Implicit Objects
← Changing Process Logging LevelsUsing Triggers →

Triggering Custom Code

Triggers and actions allow you to interact with changes that occur in the system. You can trigger code to run in-between processes, to prepare the environment, for example, or react on a process change or status with triggers and process definition actions. The main difference between the two is the scope. Actions are limited to the object, and triggers are partition-based and apply to all process definitions ( Before Job triggers) or all objects ( Before Definition Change trigger) in the partition of the trigger.

note

A process has the same partition as the queue it ran in.

When you want to trigger code for processes, you should decide which solution to implement based on the amount of affected process definitions and the total amount of process definitions that you use regularly. Triggers are a little more expensive in terms of performance, because they fire for every process. Actions require you to specify them on every affected process definition.

  1. Using Triggers.
  2. Trigger Examples.
  3. Using Actions.
  4. Customizing Processes with Actions.
  5. Executing Your Own Classes.

See Also

Triggers

← Changing Process Logging LevelsUsing Triggers →
  • See Also
Docs
Getting StartedInstallationFinance InstallationConcepts
TroubleshootingArchiving
Learn and Connect
Support Portal
BlogEventsResources
ISO/ IEC 27001 Information Security Management
Automate to be human

2023 All Rights Reserved |

Terms of Service | Policies | Cookies | Glossary | Third-party Software | Contact | Copyright | Impressum |