first excuse me by my poor english.
I'm working on the development of workflows in the new otrs. I had experience of how to do it in 3.0.11 modifying the config.pm. We had a running workflow but the update does not work, from the agent when selecting the next state, the state selection by changing the following acl directly as if it origined from the state we want to put.
For example:
Workflow Incident
State:
Open
-> Served
-----> Execution
----------------> Closed
-> Lack information
-----> Open (return to Open)
If my ticket is Open, I should see only available Served and lack information (This part works). I select Served and should continue to be available only Served and lack of information in the case of press the dropdownlist. However, jumps to the next acl and displays only Execution.
my code:
Code: Select all
# open => { Served , Lack of information }
# ------------------------------------------------------------------------------
$Self->{TicketAcl}->{'ACL1'} = {
# match properties
Properties => {
# current ticket match properties
User => {
Group_rw => ['Grupo Agent'],
},
State => {
Name => ['open'],
}
},
# return possible options (white list)
Possible => {
# possible ticket options (white list)
Ticket => {
State => ['Served','Lack of information'],
}
}
};
# Served => { Execution }
# -----------------------------------------------------------------------------
$Self->{TicketAcl}->{'ACL2'} = {
# match properties
Properties => {
# current ticket match properties
User => {
Group_rw => ['Grupo Agent'],
},
State => {
Name => ['Served'],
}
},
# return possible options (white list)
Possible => {
# possible ticket options (white list)
Ticket => {
State => ['Execution'],
},
},
};
}
Thx
Miguel.