Create Custom Context Definition and Map Attribute to Field
Extend a standard definition that you
want to inherit all the
standard components such as nodes, attributes, and mappings. Then customize the extended
definition based on your requirements by adding components to it.
Required Editions
Available in: Enterprise, Unlimited, and Developer
Editions
To make sure that your nodes and attributes are updated with the right input data, create a
mapping structure for your context definition. After you create your context definition, search
for objects, and click the node and attribute icons that you want to connect to the object
fields to start mapping.
From Setup, in the Quick Find box, enter Context Definitions and
select it.
For the SalesTransactionsContext record, click , and select Extend.
Enter a name for the context definition, and click Next.
Under the Sales Transaction node, add an attribute by entering a name, type, and data type.
For example, with a Cross Plan dependency scope, enter
OrchestrationGroupKey, INPUT OUTPUT , and
String respectively.
Click Next, and save your changes.
On the Custom Definition tab, open the newly created context definition to view its
details.
On the Map tab, for the mapping record that you want to associate with a field, click
, and then select Edit.
To set this mapping as your default mapping, select Mark as default,
and then click Map.
The page shows the mapping attributes on the left, and the entity fields on the
right.
Click a mapping attribute, and then click the field that you want to map the attribute to.
A line is drawn between the two items to show the mapping.
Save the mapping changes. On the mapping details page, click
Activate.
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required Cookies
Always Active
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising Cookies
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.