Groovy to insert messages from Service request header
Summary:
Based on an attribute value on Service request header, Would like to insert an internal note row in message tab via groovy
Content (required):
def srid = getAttribute('SrId')
def msg = messages.createRow()
msg.setAttribute('SrId',srid)
msg.setAttribute('MessageTypeCd','ORA_SVC_INTERNAL_NOTE')
msg.setAttribute('MessageContent','Hello')
msg.setAttribute('StatusCd','ORA_SVC_COMMITTED')
messages.insertRow(msg)
Getting following error on executing above code : Post threshold limit reached. Some entities yet to be posted.
Version (include the version you are using, if applicable):
Code Snippet (add any code snippets that support your topic, if applicable):
0