Discussions mandatory

Hi Experts,

We have a requirement to add a comment in the discussion section every time the engineer is doing an update on the ticket.

My question is, can we make the discussion section mandatory? 

If yes then how?

If not, can we copy the value from a custom field that i have created to the discussions box & when the engineer saves the ticket, the discussion is added also?

Please let me know.

Thanks

Parents
  • Verified Answer

    +1  

    Hi Ulto,

    Normally you'd need to provide some expression for how best to make the field Mandatory, in your case the Comments. For example I've used the following expression:

    If ${entity.LastUpdateTime <= now()}

    Define Comments as mandatory

    As you dont really know what field could be updated its about trying to use something which gives you the best way to capture the update to the record. Which is where the LastUpdateTime might be best. Otherwise you'd need to define quite a list of fields to see what content has changed as part of the After Change If statement.

    Just one other thought that crossed my mind, the information for any updates are held in the History tab of the record.So any changes made will be stored there. Does that need to be replicated within the Comments section?

    Thanks

    Dave

Reply
  • Verified Answer

    +1  

    Hi Ulto,

    Normally you'd need to provide some expression for how best to make the field Mandatory, in your case the Comments. For example I've used the following expression:

    If ${entity.LastUpdateTime <= now()}

    Define Comments as mandatory

    As you dont really know what field could be updated its about trying to use something which gives you the best way to capture the update to the record. Which is where the LastUpdateTime might be best. Otherwise you'd need to define quite a list of fields to see what content has changed as part of the After Change If statement.

    Just one other thought that crossed my mind, the information for any updates are held in the History tab of the record.So any changes made will be stored there. Does that need to be replicated within the Comments section?

    Thanks

    Dave

Children
  • 0 in reply to   

    The expression will be provided for sure. There is a mandatory field that the engineer needs to modify whenever he's updating the ticket so we'll do the expression based on that field.

    As i mentioned previously, we used to work on Service Manager, & we used to have the Journal Updates. 
    The only way to keep the updates under one section with all the updates are the discussions. And since it's our process that the engineer should write a sort of update whenever he needs to modify the ticket, then we thought it's the best way to have it under discussions.

    I will test it & will get back to you.

    Thanks