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

If you are creating a data modify action to set call out request fields, you must have already created the LDAP call out action that will be referenced in the data modify action. If you are creating a data modify action to set workspace fields, you must have already created the custom workspace that will be referenced in the data modify action.

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

  1. 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 Edit the selected object.
    For information about creating a data modify action, see the discussion about creating a data modify action.
  2. 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.
  3. In Source, select Constant.
  4. In Constant Type, select the MDC for the type of constant you want to set the destination value to.
  5. In Constant Value, enter the value to use in the destination MDC field.
  6. To set a message field:
    1. In Destination, select Message.
    2. In Destination Container, select the MDC or virtual field that has the field you want to modify.
    3. In Destination Field, select the field that you want to modify.
  7. To set a field in an LDAP callout request:
    1. In Destination, select LDAP Call Out Request.
    2. In Call Out Name, select the name of the LDAP callout action that you want to use.
      If selecting an MDC as your destination container, the selected call out action determines which type of MDC is used (based on the MtxSubscriber InfoQueryObject.ExtensionName field value) as the destination container for this data modify action.
    3. In Destination Container, select the MDC or virtual field that has the field you want to modify. Valid MDC containers are the MtxLdapRequestDataExtension MDC or its descendants.
    4. In Destination Field, select the field that you want to modify.
  8. To set a field in a workspace:
    1. In Destination, select Workspace.
    2. In Type, select the workspace type.
    3. In Destination Container, select the workspace MDC that has the field you want to modify.
    4. In Destination Field, select the field that you want to modify.
  9. To set a field in an object:
    1. In Destination, select Object.
    2. In Destination Container, select the object that has the field you want to modify.
    3. In Destination Field, select the field that you want to modify.
  10. 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.
  11. Click Save.