Loading

Calling an Expression Set with a Context Definition from an Integration Procedure

Publish Date: Jun 1, 2026
Description

When invoking an Expression Set that is associated with a Context Definition from an Integration Procedure (IP), the input payload must be formatted correctly to enable the Expression Set to retrieve the Context Record and evaluate the expressions.

Unlike standard Expression Set executions, it is not necessary to pass the entire Expression Set input payload. First build the Context and get the Context and pass only the Context Record Id. The Context Record Id must be provided using a specific node naming convention based on the Context Definition Name - <ContextDefinitionName>Id.

Resolution

Resolution:

To execute an Expression Set that is linked to a Context Definition from an Integration Procedure, provide the input in the following format:

If the Built Context Definition is:
ContextId: ‘8d4966b8cb3bfb9a71e1394bc1bbc91f6ba2958411796ad24ae52b7e6fc6b22d’

Then the input to the Expression set is:

{
"inputs": [
   {
       "testId": “%ContextId%”
   }
],
"options": {}
}

Important Considerations

  1. There is no need to pass the complete Context payload and pass the Built ContextId.
  2. The node name containing the Context Id must follow the format: <ContextDefinitionName>Id
    Example: If the Context Definition name is test, the node name must be: testId
Knowledge Article Number

005385774

 
Loading
Salesforce Help | Article