18.2.4 Nesting Execution Chains

Nest execution chains to structure complex logic, adding conditions where needed.

The If User is Manager... execution chain process runs next. Nested inside an outer execution chain, it shows how you can outline your business logic to any level of depth required. Attach conditional logic as needed to guide the flow. Its Server-side Condition calls the PL/SQL boolean expression below to determine if the selected employee manages others:
eba_demo_woodshr_welcome.manages_others(:P34_EMPLOYEE_EMPNO)

If true, its child processes execute to include management awareness and team development materials pertinent only to mangers.

Tip:

To change which execution chain a child process belongs to, set its Execution Chain property to the new parent. To make it a top-level page process, set that property to None.

The figure shows the selected If User is Manager... child process selected in the processing tree. Its Execution Chain property identifies the containing If Sending Welcome Packet... chain, and its PL/SQL condition controls when its own child processes run.

Figure 18-5 Nest Execution Chains to Form an Outline