
Dear List, if I have a change with state “pending approval” and a condition that says: if change state is pending approval, set the state to approved: shouldn't the change's state change to approved immediately? Or if I save this as a template, shouldn't the new change open already approved? If not, how is the state change triggered? Thank you and kind regards Sven Ehret

Hi Sven, the conditions are triggered on Events like ChangeUpdate, or ChangeAdd: If a change changes it state from "something" to "pending approval", then the condition is checked, and executed. But hat means that your condition will not be checked because the change is already in this state, and no ChangeUpdate is executed. Your condition would work, but only when the change state is set to "pending approval", then your condition will work and sets it to "approved". I hope that helps, best regards, Udo On 21.10.2010 10:49, sven.ehret@comdok.de wrote:
Dear List,
if I have a change with state “pending approval” and a condition that says: /if change state is pending approval, set the state to approved/: shouldn't the change's state change to approved immediately?
Or if I save this as a template, shouldn't the new change open already approved?
If not, how is the state change triggered?
Thank you and kind regards
Sven Ehret
--------------------------------------------------------------------- OTRS mailing list: itsm - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/itsm To unsubscribe: http://lists.otrs.org/mailman/listinfo/itsm

hello list,
maybe it does not work in my case because I have errors in my
configuration/database?
The case history says:
CompareValue (Expression ID=11): Neu: 142 -> Old: 11
Attribut (Expression ID=(ID=11): Neu: 1) -> Old: (ID=11
But the system log says:
AttributeID must be a number! (AttributeID: 11%%2)
AttributeID must be a number! (AttributeID: 11%%1)
I do not remember that I configured anything wild, just translated the
state names (by editing entries in GeneralCatalog and adjusting SysConfig
values) and, I have to confess, re-install the ChangeManagement package
because my conditions do not work as expected.
Any idea what may be wrong?
Kind regards
Sven Ehret
Von: Udo Bretz
Dear List,
if I have a change with state “pending approval” and a condition that says: /if change state is pending approval, set the state to approved/: shouldn't the change's state change to approved immediately?
Or if I save this as a template, shouldn't the new change open already approved?
If not, how is the state change triggered?
Thank you and kind regards
Sven Ehret
--------------------------------------------------------------------- OTRS mailing list: itsm - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/itsm To unsubscribe: http://lists.otrs.org/mailman/listinfo/itsm
--------------------------------------------------------------------- OTRS mailing list: itsm - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/itsm To unsubscribe: http://lists.otrs.org/mailman/listinfo/itsm

Hi Udo,
I understand, but does the state not change when it is created? I mean, it
changes from *START* (ID 0) to something (with a different ID), doesn't
it?
Kind regards
Sven Ehret
Von: Udo Bretz
Dear List,
if I have a change with state “pending approval” and a condition that says: /if change state is pending approval, set the state to approved/: shouldn't the change's state change to approved immediately?
Or if I save this as a template, shouldn't the new change open already approved?
If not, how is the state change triggered?
Thank you and kind regards
Sven Ehret
--------------------------------------------------------------------- OTRS mailing list: itsm - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/itsm To unsubscribe: http://lists.otrs.org/mailman/listinfo/itsm
--------------------------------------------------------------------- OTRS mailing list: itsm - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/itsm To unsubscribe: http://lists.otrs.org/mailman/listinfo/itsm
participants (2)
-
sven.ehret@comdok.de
-
Udo Bretz