Process management. Unabel to set checkbox to unset

Moderator: crythias

Post Reply
certaindestiny
Znuny newbie
Posts: 3
Joined: 08 Aug 2017, 16:46
Znuny Version: 5.0.16

Process management. Unabel to set checkbox to unset

Post by certaindestiny »

Hi,

I am running into a small issue with the process management feature on a new OTRS6 installation we are currently testing.

I created a small process management function with some checkboxes to see if things are done.
In one of the steps i need to unset this checkbox because it is reused later in the process. However i am unable to do so.

The fieldname is "Done" and i tried to unset it with the following options

Transtion action module = DynamicFieldSet

Key = DynamicField_Done Value = 0
Key = DynamicField_Done Value = -1
Key = DynamicField_Done Value = Unchecked
Key = DynamicField_Done Value =
Key = DynamicField_Done Value = NULL

But none of them seem to actually unselect the checkbox. It always remains checked throughout the process.

I know i can simply create a new dynamic field done2 to work around the issue. But would like to know how i can fix this to increase my understanding of the process management module.

Kind regards
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Process management. Unabel to set checkbox to unset

Post by jojo »

For DynamicFieldSet you have to use the DF Name without DynamicField_

You can set it to empty or to 0 (empty will delete it from the ticket)
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
skullz
Znuny superhero
Posts: 624
Joined: 24 Feb 2012, 03:58
Znuny Version: LTS and Features
Real Name: Mo Azfar
Location: Kuala Lumpur, MY
Contact:

Re: Process management. Unabel to set checkbox to unset

Post by skullz »

Code: Select all

Key = Done    Value = 0
Key = UserID  Value = 1
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Process management. Unabel to set checkbox to unset

Post by jojo »

"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
certaindestiny
Znuny newbie
Posts: 3
Joined: 08 Aug 2017, 16:46
Znuny Version: 5.0.16

Re: Process management. Unabel to set checkbox to unset

Post by certaindestiny »

Right, That works.

Knew it had to be something simple

Thanks!
Post Reply