Hi Ganesh,
Already red your blog..Yes, I executed both the MAIN_PC (daily every 3AM) and SUB_PC (based on EVENT) chains but the SUB_PC did not run after MAIN_PC..
Here is the diagram of my PROCESS CHAINS:
MAIN_PC - scheduled daily every 3AM
SUB_PC - scheduled daily every 8AM
NEW_PC - based on event Z_EVENT
***I added Z_EVENT in the subsequent processing of the last process of MAIN_PC chain which is creation of index..
NEW_PC DIAGRAM........
START - based on event
|
/ \
| Meta Chain (SUB_PC)
| |
\ /
|
AND
|
ABAP Program (send report to the users)
What I'm expecting to happen are these scenarios:
1. 1st scenario
a. If MAIN_PC ran successfully, NEW_PC will run (but the ABAP PROGRAM will not run if the time is not yet 8AM)
b. If it is already 8AM, the SUB_PC will run, so the ABAP PROGRAM will already send the report
2. 2nd scenario
a. If MAIN_PC had an error and the time is not yet 8AM, NEW_PC ofcourse will not run
b. After repairing the MAIN_PC chain and the time is not yet 8AM, the scenario (1st scenario) mentioned above will happen
c. BUT if the MAIN_PC was fixed after 8AM (let's say 9AM), NEW_PC will already run up to the ABAP PROGRAM since the SUB_PC is satisfied already when the time was 8AM
Are my assumptions correct?
Thank you!
Loed