My webMethods Server 10.7 | My webMethods Server Webhelp | Administering My webMethods Server | System Administrator Functions | Managing the User Interface | Modifying a Rule
 
Modifying a Rule
After a rule exists, you can modify any portion of it that is editable.
*To modify a rule
1. As system administrator: Administration > User Interface > Manage rule-type Rules > View Rules.
where rule-type contains the rule you want to modify.
2. For the rule you want to modify, click The Tools icon and then click Modify Rule.
3. Do any of the following:
*In the Name field, type a new name for the rule.
*(Optional) In the Description field, type a new description for the rule.
*To disable the rule, clear Is Enabled.
*To modify a condition for individual users, click Current User(s) and do the following:
1. In the Keywords field, type a keyword representing the users you want to search for, and click Search.
2. Move one or more users to the Selected box and click Apply.
*To modify a condition based on group or role membership, click Group / Role Membership and do the following:
1. Under Search For, choose the Groups or Roles option.
2. In the Keywords field, type a keyword representing the groups or roles you want to search for, and click Search.
3. Move one or more groups or roles to the Selected box and click Apply.
*To modify a condition based on user attributes, click User Attributes, in the Pick User Attribute list, choose a user attribute, and click Apply.
For more information about the user attributes in the list, see User Information.
*To modify a condition based on global session attributes, click Global Session and do the following:
1. In the Global Session Attribute Name field, type the name for the global session attribute.
2. (Optional) In the Variable Value field, type a new value for the global attribute.
3. Click Apply.
*To modify a condition based on the request header, click Request and do the following:
1. Choose the expression, and click Submit.
2. In the Condition field, complete the expression.
For example, assume that you want to match any HTTP GET request. The wizard moves #{request.method} into the Condition field and you type the remainder: #{request.method} == "GET"
*To modify a condition that matches the current resource or a parent of the current resource, click Parent Resource and then do the following:
1. To find children of a resource, click the name of the resource.
2. To select a resource, click the option button to the left of the resource.
3. Click Apply.
*To modify a condition that matches the current resource type, click Current Resource Type, choose the resource type and do the following:.
1. To find children of a resource, click the name of the resource.
2. To select a resource, click the option button to the left of the resource.
3. Click Apply.
*To modify a condition for a resource property and a value associated with it, click Resource Properties, and do the following:
1. In the Property Name field, type the property name.
2. In the Property Value field, type the property value.
3. Click Apply.
*Modify the Result as needed field as needed.
4. Click Update Rule.