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