Hello Werner,

Thanks for this alert,

I saw an other issue with the error message, can you open a jira issue? I'll fix that

Nicolas

On 30/05/2025 11:06, Werner Brasch wrote:
Hallo together
Why is it not allowed to change the status-id in CommunicationEvent from NULL 
to any?

Here is the groovy Code from Version 24.09:

GenericValue statusChange = from('StatusValidChange')
         .where(statusId: communicationEvent.statusId,
                 statusIdTo: parameters.statusId)
         .queryOne()
if (!statusChange) {
     logError("Cannot change from ${communicationEventRole.statusId} to 
${parameters.statusId}")
     return error(UtilProperties.getMessage('ProductUiLabels',
                     'commeventservices.communication_event_status', 
parameters.locale as Locale))
}


Greetings
Werner Brasch


Reply via email to