Child Post-Process Page

SAP and PeopleSoft jobs have an additional page each on which you can enter the script to be processed after the child job has finished. If you enter scripts on all available Process pages, they are processed in the following order: 1. Pre-Process, 2. Process, 3. Child Post-Process, 4. Post-Process.

This topic provides information on the following:

Overview

PeopleSoft and SAP commands can contain statements that start multiple processes. As happens with all other executable objects, each execution of a job or process in PeopleSoft/SAP is identified in the Automation Engine by a unique runID.

The PeopleSoft/SAP job you create in the Automation Engine is the parent of those child processes and serves as container for them; the object type of its children is JOBD. They are displayed as subordinate to the job in the Tasks list (Process Monitoring perspective) as follows:

The illustration above depicts a PeopleSoft job. The same applies for SAP jobs, only their Platform is different.

Here you can check their status in the target system, add comments, restart, cancel and edit them as well as open the list of objects in which they are being used.

Please make sure that the Tasks list in the Process Monitoring perspective is in hierarchical view mode to be able to see the parent/child tree structure.

What You Do on this Page

On this sub page of the PeopleSoft or SAP job definition you can enter a script that will be processed as soon as an individual child process ends. Thus, the result of the process can be analyzed immediately. The following applies:

PeopleSoft Jobs

Prerequisites

First, you must configure the PeopleSoft job to instruct the agent to create a JOBD child task per started process. For this purpose, you activate the Replicate Children and the Process Ends with Error: Suspend options in the commands that provide this possibility. For example:

As a result, as soon as it is started, the PeopleSoft job creates a JOBD child task for each command at runtime. As soon as the child finishes, the script entered on the Child Post Process page is processed

SAP Jobs

Prerequisites

SAP child processes are replicated in the Automic Web Interface as objects of type JOBD, provided the parent/child function has been activated in the SE38 transaction using the INITXBP2 program and the parameter REPLICATE=YES has been set in the relevant script elements.

Note that child processes can also have child processes themselves.

See also: