I am trying to write an ACL rule that will not allow the agent to close a ticket if a dynamic field has no value. At the moment I am struggling on what value it should be looking at to determine if the field is null, I have tried Null, NULL, null, 0 and "" and none of them have given me the desired effect.
The action does work so I know it is not that and also I have tried other rules and they work as they should.
Right now I have got the following regexp(in DynamicField_TicketTextGBSPO) but the OR on the end does not seem to want to work:
Code: Select all
---
- ChangeBy: Sam
ChangeTime: 2015-10-13 11:52:35
Comment: ''
ConfigChange:
PossibleNot:
Action:
- AgentTicketClose
ConfigMatch:
PropertiesDatabase:
DynamicField:
DynamicField_TicketTextGBSPO:
- '[NotRegExp][A-Za-z0-9_]{4,4}[][!"#$%&''()*+,./:;<=>?@\^_`{|}~-][A-Za-z0-9_]{4,5}|null'
Ticket:
Service:
- PC\Laptop::New PC\Laptop Build at GBS
CreateBy: Sam
CreateTime: 2015-10-12 14:12:30
Description: ''
ID: '4'
Name: RequirePO
StopAfterMatch: 0
ValidID: '1'
Sam