[progress Communities] [progress Openedge Abl] Forum Post: Re: How To Create A...

  • Thread starter Thread starter mjoosen
  • Start date Start date
Status
Not open for further replies.
M

mjoosen

Guest
Hmm. It is a pity that it isn’t possible to create Corticon Rule message from the APIs. When working with large sets, you would want to reduce your return messages and set the setting to return entities to false. The violation rule messages are the only elements in the return message and thus it would be convenient if you could set those using a SCO. Maarten Joosen informatie analist Straatweg 2 3604 BB Maarssen mjoosen@benuapotheek.nl Postbus 75 3600 AB Maarssen Important notice: The information contained in this email is intended solely for the use of the individual or entity to whom it is addressed and others authorised to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this information in error, please notify us immediately by responding to this email and then delete it from your system. Brocacef Groep NV and its subsidiaries are neither liable for the proper and complete transmission of the information contained in this email nor for any delay in its receipt. Van: mparish [mailto:bounce-mparish@community.progress.com] Verzonden: vrijdag 23 december 2016 9:50 Aan: TU.Corticon@community.progress.com Onderwerp: RE: [Technical Users - Corticon] How to create a Violation-message within a servicecallout Update from Progress Community mparish Right - you cannot create a Corticon Rule message from the APIs. Though that would be really convenient if you could. However you can define an entity in your vocabulary (called Exception) then you can create it and populate it from your API. eg catch (Throwable e) { ICcDataObject msg = aDataObjMgr.createEntity( "Exception" ); msg.setAttributeValue( "text" , e.getMessage()); e.printStackTrace(); } // End of try importRulesheets View online You received this notification because you subscribed to the forum. To unsubscribe from only this thread, go here . Flag this post as spam/abuse.

Continue reading...
 
Status
Not open for further replies.
Back
Top