Process Management Transition check value Checkbox dropdown

Moderator: crythias

Post Reply
Sayannara
Znuny advanced
Posts: 118
Joined: 22 May 2012, 12:37
Znuny Version: OTRS 7.06
Real Name: Yann
Company: FVE
Contact:

Process Management Transition check value Checkbox dropdown

Post by Sayannara »

Hello

I'm building simple but usefull process for our enterprise. I am trying to check a value of a checkbox and/or dropdown in a transition. The only field I am able to check is text.

with

Code: Select all

[DynamicField_myField] Type: String Value: [myValue]
How can I check values of checkbox and dropdown for example ?

And would you have example using "Transition Validation Module" ?

I noticed that we can write transition and check value with code. Please could tell me what is the limitation doing so from GUI. Because I am an IT guy not programmer.

Your help, as usual, will be much appreciated.
Centos 7 / OTRS::ITSM 6 Business Solutions / MariaDB / Apache
Sayannara
Znuny advanced
Posts: 118
Joined: 22 May 2012, 12:37
Znuny Version: OTRS 7.06
Real Name: Yann
Company: FVE
Contact:

Re: Process Management Transition check value Checkbox dropdown

Post by Sayannara »

Okay I reread the doc and I noticed that I can check a value of a dropdown the same way as text fields.

Any example with regexp or "Transition Validation Module" would help.
Centos 7 / OTRS::ITSM 6 Business Solutions / MariaDB / Apache
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: Process Management Transition check value Checkbox dropdown

Post by RStraub »

We use a transition that checks whether a checkbox is selected:

DynamicField_NameOfYourDynamicField -> Regex -> 1
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
Post Reply