SBM ModScript Reference → Programming SBM ModScript → Object Types → RESTDataSource
This class reads records from the TS_RESTDATASOURCE table and invokes the described REST call. You can define REST Data Sources in SBM Composer, and then bind them to endpoints that are configurable per environment in Application Repository. You can set up a server to host custom behavior written in any programming language (C#, Java, Groovy, Python, etc.) and SBM ModScript can interact with that server, either gathering data or invoking actions to be taken based on activity occurring in SBM. Because you can run SBM ModScripts during a transition, during a notification, or trigger them by a simple URL, this is a powerful integration point.
For more details on working with the RESTDataSource object, see https://www.serenacentral.com/blogs/entry/sbm-modscript-part-8-rest-callouts.
AppRecord -> RESTDataSource
Copyright © 2007–2018 Serena Software, Inc., a Micro Focus company. All rights reserved.