How to make a dynamic call to another application engine program from within the current application engine program run?

To enable dynamic call (call section), we need to have a state record that has two extra fields – AE_APPLID and AE_SECTION. If you intent to make a dynamic call to sections that are in the same App engine , then the state record can have only AE_SECTION.
In a sql or peoplecode action above the actual dynamic call, set the values for the extra fields – AE_APPLID and AE_SECTION.
set AE_APPLID = "ZZZ" and AE_SECTION = "MAIN";
This will call the "main" section section of application engine ZZZ and the entire program would be executed.

No comments:

Post a Comment