Redwood Documentation

Product Documentation

 

›Promoting Objects

RunMyJobsAutomation Concepts

Automation Concepts

  • Central Scheduling Concepts
  • Automating Processes Across the System Landscape
  • Processes, Chains, and History
  • Queues and Process Servers
  • Workload
  • SAP Systems
  • Events and Event Definitions
  • Scheduling
  • Applications
  • Editing Objects in XML

Locks and Events

  • Prevent Simultaneous Execution of Processes
  • Creating Locks
  • Creating Event-Driven Schedules with Events

Documents

  • Documenting Code, Procedures, and Messages with Documents

Applications

  • Organizing Processes in Applications
  • Creating Applications

End User Overviews

  • End User Interfaces
  • Process Monitors Overview
  • Process Monitors Overview Columns
  • User Message Monitor
  • Designing User Message Forms
  • User Message Monitor Columns
  • Interacting with User Messages
  • Feeds

Managing Output Formats

  • Managing Output Formats

Regular Activities

  • Regular Activities for Redwood Server

Promoting Objects

  • Migrating Objects with the Promotion Module
  • Exporting Redwood Server Objects
  • Export Rule Sets
  • Creating Export Rule Sets
  • Importing Objects
  • Importing Redwood Server Objects with Imports
  • Using Import Rule Sets to Customize Imports
  • Importing Objects with Import Rule Sets
  • Creating Remote Systems
  • Promotion Reaction Processes
  • Integrating Redwood Server Promotion into SAP CTS+
  • Pusher Process Definitions for SAP CTS+ Integration

Backup and Recovery

  • Backup and Recovery of Redwood Server
  • Database Backup
  • Restore Data from Backup

Reference

  • Managing Output Formats
← Creating Remote SystemsIntegrating Redwood Server Promotion into SAP CTS+ →

Promotion Reaction Processes

Promotion reaction processes act like standard reaction process with additional promotion-specific parameters. You create specific process definitions or chain that are called when you promote an object to another system (Pusher & Promote Further Pusher) or when a promoted object is received (Pusher Acceptor). You can use the process definitions to ensure all criteria are met for promotion, for example, or request approval.

  • Promote Further Pusher - promote a recently promoted car file on to another remote system
  • Pusher Acceptor - determine if you accept the current car file for import
  • Pusher Process Definition - promote an export rule set to another remote system

Pusher and Promote Further Pusher must submit System_Promote and System_Promote_Further, respectively, to do the actual work of promoting the export rule set/car file (again, respectively). Pusher Acceptor process definitions allow the import by default; so for these you have to design the logic and fail the process in cases where you want to overrule the promotion.

The process definitions are not meant to be submitted by you, they are submitted on demand by a remote system that you previously created.

You set the run as user with the RunAsUser registry entry.

Pusher Acceptor

Pusher Acceptor process definitions are linked to Source or Both remote systems. The name of the source remote system must match the originator ID of the remote system or be set to * - a placeholder that matches all.

Note that if you set the lockdown registry entry, any inbound promotion request must have a corresponding Source or Both remote system for it to be considered.

A built-in push acceptor-like chain definition is available; it can easily be duplicated and thus converted to a push acceptor:

System_Import_Archive_WithApproval

Pusher

Pusher process definitions are linked to Destination remote systems. Pushers are used to initiate the promotion of objects.

The name of the remote system or the value of the SystemId registry entry are used by the remote Redwood Server to look up a Source or Both remote system.

Promote Further Pusher

Promote Further Pusher process definitions are linked to Destination remote systems. They are executed when you promote a System_Import_Archive further to another remote system to do the actual work of submitting System_Promote_Further.

SAP CTS+ (Change and Transport System Plus) Integration

Promotion reaction processes allow for Change Management System (CTS+) integration.

See Integrating the Promotion Module into SAP CTS and Pusher Process Definition for SAP CTS+ Integration for more details.

Example

Push Acceptor

The following is a allow everything Push Acceptor RedwoodScript process definition.

  1. Navigate to Definitions > chain definitions.
  2. From the context-menu of System_Import_Archive_WithApproval select Duplicate.
  3. In the new chain definitioneditor dialog, specify an appropriate name.
  4. On the Options tab, select Push Acceptor in the Reaction Process field.
  5. Choose Save & Close.

Reaction Process Type Pusher

The following code illustrates a simple Pusher reaction job:

{
  JobDefinition jDefinition  = jcsSession.getJobDefinitionByName("System_Promote");
  Job process = jDefinition.prepare();
  process.getJobParameterByName("exportRuleSetBusinessKey").setInValueString(exportRuleSetBusinessKey);
  process.getJobParameterByName("remoteSystemBusinessKey").setInValueString(remoteSystemBusinessKey);
  process.getJobParameterByName("sendToRemoteSystem").setInValueString(sendToRemoteSystem);
  jcsSession.persist();
}

Reaction Process Type Promote Further Pusher

The following code illustrates a simple Promote Further Pusher reaction job:

{
  JobDefinition jDefinition  = jcsSession.getJobDefinitionByName("System_Promote_Further");
  Job process = jDefinition.prepare();
  process.getJobParameterByName("SourceObject").setInValueString(SourceObject);
  process.getJobParameterByName("SourceObjectType").setInValueString(SourceObjectType);
  process.getJobParameterByName("SourceObjectUniqueId").setInValueNumber(SourceObjectUniqueId);
  process.getJobParameterByName("Address").setInValueString(Address);
  process.getJobParameterByName("CARFile").setInValueString(CARFile);
  process.getJobParameterByName("OriginalJobId").setInValueString(OriginalJobId);

  if(Message != null)
  {
    process.getJobParameterByName("Message").setInValueString(Message);
  }
  else
  {
    process.getJobParameterByName("Message").setInValueString("Some default message.");
  }
  if(Data != null)
  {
    process.getJobParameterByName("Data").setInValueString(Data);
  }
  else
  {
    process.getJobParameterByName("Data").setInValueString("SomeFile");
  }
  jcsSession.persist();
}
← Creating Remote SystemsIntegrating Redwood Server Promotion into SAP CTS+ →
  • Pusher Acceptor
  • Pusher
  • Promote Further Pusher
  • SAP CTS+ (Change and Transport System Plus) Integration
  • Example
  • Push Acceptor
  • Reaction Process Type Pusher
  • Reaction Process Type Promote Further Pusher
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 |