CA Service Management

 View Only
  • 1.  Conditions on Change Orders

    Posted Mar 04, 2016 08:46 AM

    Hello Community,

     

    I want to make some conditions on change orders for example:

     

    • That you can't put a Change Order in "Solicitud de Cierre" if there is any workflowtask on status "Pendiente" or "En espera".

     

    How can i do it?

     

     

    Best Regards!



  • 2.  Re: Conditions on Change Orders

    Posted Mar 04, 2016 10:20 AM

    Hi Jason,  normally you would restrict things using data partition constraints, however, in this case you cannot use that because it does not offer the ability to "if this, then that" type of logic.  Unfortunately there is no real easy way to do this out of the box.  This would require custom spel code to trigger the system to check for that particular condition before saving and then restrict it based on that condition.

    Regards,

    Jon I.



  • 3.  Re: Conditions on Change Orders

    Posted Mar 04, 2016 03:23 PM

    I see two ways to implement this:

    1. Trigger and spel code

    2. Transition and custom condition macro.

    i would go with first option. Both those options are out of CA support so if you ok with this i can provide solution for you.