Set a Destination Field to a Constant
You can use a data modify action to set a destination MDC or virtual field to a constant value.
Before you begin
About this task
Perform this task to configure a data modify action for setting a destination field
to a constant. You can set fields in the following destinations:
- Message — Sets a field value in a MtxDiamRoMsg MDC, MtxTcapMsg MDC, a 5G message MDC, or a virtual field to a constant.
- Call Out Request — Sets a field value in the MtxLdapRequestDataExtension MDC, one of its descendants, or a virtual field to a constant. Use this destination to set fields in the custom MDC or virtual field specified in the LDAP callout request selected in this data modify action. The callout request and the data modify action must both be assigned to the same prerating profile.
- Workspace — Sets a field value in a custom workspace to a constant.
- Object — Sets a field value in a subscription, group, device, user, or an offer object.
Procedure
-
Create a new data modify action or edit an existing one.
To edit an existing data modify action, in Data Modify Actions, click the name of the action you want to edit or click .
For information about creating a data modify action, see the discussion about creating a data modify action.
-
In Start Date/Time, use the date
picker to select the date on which the object becomes active in the Pricing
database and is first available for use, or enter the date in the format
YYYY-MM-DD.
Optionally, enter a time for when the object becomes active. The default start
date/time is 2000–01–01 00:00:00. If applicable, the range in which the start
date/time must fall is listed. For example:
- Select a date on or before 2021–12–01.
- Select a date on or after 2020–01–27.
- Select a date between 2000–01–02 and 2021–10–04.
Note: If you are creating a new revision of this object, the start date/time must be after the start date/time of the preceding revision and before the start date/time of the next revision. If you are making a copy of this object, the start date/time is not copied. The new object is the first revision, so it has the default start date/time of 2000–01–01 00:00:00.By default, data modify actions are active immediately. If you are creating a new revision of a data modify action, you must not change the source type. - In Source, select Constant.
- In Constant Type, select the MDC for the type of constant you want to set the destination value to.
- In Constant Value, enter the value to use in the destination MDC field.
-
To set a message field:
- In Destination, select Message.
- In Destination Container, select the MDC or virtual field that has the field you want to modify.
- In Destination Field, select the field that you want to modify.
-
To set a field in an LDAP callout request:
-
To set a field in a workspace:
- In Destination, select Workspace.
- In Type, select the workspace type.
- In Destination Container, select the workspace MDC that has the field you want to modify.
- In Destination Field, select the field that you want to modify.
-
To set a field in an object:
- In Destination, select Object.
- In Destination Container, select the object that has the field you want to modify.
- In Destination Field, select the field that you want to modify.
-
In Destination Action, select one of:
- Create if Absent — Sets the destination field value to the specified constant only if it is not set already. If the destination field already has a value, it is not updated and a trace message is reported in the log.
- Create or Update — Sets or updates the destination field value.
- Click Save.