Hi,
I've defined a Global transition named "X" associated to the window "WindowX". This window has 3 customfields "CF1", "CF2" and "CF3".
This global transition is defined as follows:
Name: X
Description:
Destination step: The source step
View: WindowX
I need to configure which customfield must be shown in WindowX depending on the status on which the transition is launched.
I've tried to configure Behaviour plugin in this way:
CF1 is associated to a validation script:
if(getActionName() == "X" && getDestinationStepName() != "En Entrega"){
getFieldByName("CF1").setHidden(false);
}
if(getActionName() == "X" && getDestinationStepName() == "En Entrega"){
getFieldByName("CF1").setHidden(true);
}
But, when I launch the action "X" from the "En Entrega" status (where the destination step is "En Entrega"), the customfield "CF1" isn't shown.
All help is welcome!!
Begoña