Creating a Regular Expression Adaptation rule

Last Updated : Jul 14, 2020 |
Prolog information
Use this procedure to create an incoming or outgoing adaptation rule for Regular Expression Adaptation.
  1. On the System Manager web console, click ElementsRouting AdaptationsRegular Expression Adaptations.
  2. Click New.
  3. On the Regular Expression Adaptation Details page, in the Incoming Adaptation Rules section, click Add.
  4. On the Regular Expression Adaptation Rule Details page, in the General section, do the following:
    1. In the Rule Name field, enter the name of the new rule.
    2. In the Condition field, click the condition that you want to apply to the regular expression adaptation rule.
    3. In the Direction field, click Incoming or Outgoing to set the direction for the rule.
    4. In the Order field, click the order that you want to set to the rule.
    5. In the Notes field, enter the notes or additional information about the regular expression adaptation rule.
  5. In the Rule Variables section, select the Variable Name check box to apply to the regular expression adaptation rule.
  6. Optional: To create a new rule variable, in the Rule Variables section, click Add.
    STEP RESULT:
    The section displays new fields.
  7. Do the following:
    1. In the Variable Name field, enter the name of a variable.
    2. In the Source Type field, click the source type that you want to apply to a variable.
    3. In the Source field, enter the source of the variable.
    4. In the Instance field, type the name of the instance.
    5. In the Match Expression field, enter the expression to match the variable with the rule.
    6. In the Notes field, enter notes or additional information about the rule variable.
  8. In the Rule Actions section, select the rule action to apply to the regular expression adaptation rule.
  9. Optional: To create a new rule action, in the Rule Actions section, click Add.
    STEP RESULT:
    The section displays new fields.
  10. Do the following:
    1. In the Order field, click the order that you want to set to the rule.
    2. In the Source Type field, click the source type that you want to apply to a rule action.
    3. In the Source field, enter the source of the action.
    4. In the Instance field, type the name of the instance.
    5. In the Operation field, click the required operation.
    6. In the Match Expression field, enter the expression to match the action with the rule.
    7. In the Replace / Add Expression field, enter an expression to replace a rule action with the adaptation rule.
    8. In the Notes field, enter notes or additional information about the action.
  11. Click Commit.