Salesforce

How Do I Retrieve the Context ID of a Called Parallel Program? (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

How Do I Retrieve the Context ID of a Called Parallel Program? (Magic xpa 3.x)

When you call a parallel program, you can easily save the Context ID of the called program by specifying a variable in the Returned Context Id property of the Call Operation. To do this:

  1. Go to the Call Program operation that calls the parallel program.

  2. Press Alt+Enter to bring up the Call properties.

  3. Go to the Returned Context Id property.

  4. Zoom to select an alpha variable that will hold the returned Context Id.

Now, after the program is called, the variable will contain the Context Id value.

Note: The called program does not have any mechanism for discerning the Context Id of the calling program. So, if it is needed by the called program, pass it in as a parameter.

See also

The Online Samples project (program MT03)

Reference
Attachment 
Attachment