Redwood Documentation

Product Documentation

 

›Reference

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
← Using SQL to Query the Data ModelAPI Documentation →

Embed Redwood Server Overviews into Extension Points with the Embed API

The embed API allows you to embed Redwood Server overviews, diagrams, and process output into iframes, this functionality is limited to extension points.

Prerequisites

  • License key Module.ExtensionPoint set to true

Syntax

api-embed/(diagram|list|output|show)?link-objecttype=<objecttype>&(link-path=<name>|link-uniqueid=<n>|link-jobid=<jobid>)

api-embed/list?link-objecttype=<objecttype>&(link-search=<search>)

api-embed/diagram?link-objecttype=Job&(link-jobid=<jobid>|link-path=<name>|link-uniqueid=<n>)
  • <objecttype> - The object type; not all object types are supported. For example, JobDefinition and JobChain are supported.
  • <name> - The full name of the object in the form of <partition>.<objectName>, for example GLOBAL.System_Info, or jobId for processes.
  • <n> - The unique ID of the object.
  • <search> - The IntelliSearch query.
  • <jobid> - The ID of the process or chain process.
note

link-jobid and diagram can only be used with processes and chains.

Showing Filters

Process filters can be embedded by using the link-path keyword and specifying the technical name of the filter. The following table lists the built-in filters that can be embedded. You can also embed your custom filters, provided you know the name of the filter.

note

Filters are displayed by their Description and not their Name; this is due to the fact that filter-names, unlike descriptions, cannot contain spaces or special reserved prefixes.

Technical NameEnglish Name
Job.state.CompletedWith Status "Completed"
Job.state.ErrorWith Status "Error"
Job.state.NeverWith Status "Never"
Job.state.OverdueWith Status "Overdue"
Job.state.RunningWith Status "Running"
Job.stategroup.ActiveIn an Active State
Job.stategroup.ConsoleIn a Console State
Job.stategroup.FinalIn a Final State
Job.stategroup.InitialIn an Initial State
Job.stategroup.PendingIn a Pending State
Job.time.last24hFor the Last 24 Hours
Job.time.last7dFor the Last 7 Days
Job.time.next24hFor the Next 24 Hours
Job.time.next7dFor the Next 7 Days
Job.time.window24hFor a Window of 24 Hours
Job.time.window7dFor a Window of 7 Days
JobChain.allAll Chains
Job.allAll (Non-Maintenance) Processes
Job.maintenanceStandard Maintenance (Background) Processes
Job.customMaintenanceCustom Maintenance (Background) Processes
Job.stategroup.ManualIn a Manual Intervention State

diagram

Embed a Chain in a chain diagram.

Example

  http://pr1.example.com:50200/redwood/api-embed/diagram?link-objecttype=Job&link-path=65

list

Embed the overview page for a certain object type, also used to link to IntelliSearch queries.

Example

Embed the process definition overview.

  http://pr1.example.com:50200/redwood/api-embed/list?link-objecttype=JobDefinition

List all processes matching IntelliSearch query a:MSLN.

  http://pr1.example.com:50200/redwood/api-embed/list?link-objecttype=JobDefinition&link-search=a:MSLN

output

Embed the file contents.

Example

  http://pr1.example.com:50200/redwood/api-embed/output?link-objecttype=JobFile&link-jobid=2147&link-jobfilename=stdout.log

show

Embed a show page for the given object.

Objects

When you embed objects, such as process definitions, you can choose to use either the link-path, which is [<partition>.]<object> or the unique ID of the object.

Embed process definition System_Sleep show page by businesskey.  http://pr1.example.com:50200/redwood/api-embed/show?link-objecttype=JobDefinition&link-path=GLOBAL.System_Info

Embed process definition System_Sleep show page by uniqueid.  http://pr1.example.com:50200/redwood/api-embed/show?link-objecttype=JobDefinition&link-uniqueid=79036

Files

For embedding JobFile content, there are extra convenience attributes, which allow to access the JobFile contents by: jobid and (filename or file order).

note

The attributes: link-jobid, link-jobfileorder and link-jobfilename only work for JobFiles!

Embed JobFile contents by uniqueid.  http://pr1.example.com:50200/redwood/api-embed/show?link-objecttype=JobFile&link-uniqueid=340644

Embed JobFile contents by jobid and filename.  http://pr1.example.com:50200/redwood/api-embed/show?link-objecttype=JobFile&link-jobid=22727&link-jobfilename=stdout.log

Embed JobFile contents by jobid and fileorder.  http://pr1.example.com:50200/redwood/api-embed/show?link-objecttype=JobFile&link-jobid=22727&link-jobfileorder=1

See Also

Integrating Redwood Server into Third-Party Applications with PermaLink

← Using SQL to Query the Data ModelAPI Documentation →
  • Prerequisites
  • Syntax
  • Showing Filters
  • diagram
  • Example
  • list
  • Example
  • output
  • Example
  • show
  • Objects
  • Files
  • 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 |