CA Service Management

 View Only
Expand all | Collapse all

SPEL to change the field value before saving the ticket

  • 1.  SPEL to change the field value before saving the ticket

    Posted Apr 13, 2017 10:42 AM

    Hi,

     

    In CA SD when we change the urgency or impact based on impact and urgency priority value will get change automatically before saving the ticket.

     

    I have a requirement based on some condition to change the urgency value inturn the priority.

     

    I did it but the results changed values are reflecting in the detail page after saving and refresh the page only.

     

    Can any one help how to change the values or refresh the values and gets reflected in form before saving the ticket itself.

     

    I tried both pre and post validates. any suggestions to achieve this.

     

    Thank you



  • 2.  Re: SPEL to change the field value before saving the ticket

    Posted Apr 24, 2017 09:53 AM

    Any suggestions here?



  • 3.  Re: SPEL to change the field value before saving the ticket

    Posted Apr 24, 2017 10:03 AM

    Hi,

    this can be done using JavaScript, you need to attach onchange listener to decided attribute, when value will be changed JS function will be triggered.

    Which field type you would like to change and which one will be changed?

     

    Regards,

    cdtj