Calling Data Management REST API through scheduling PBC Groovy Rule
We've built an Integration between ERP and PBC. We want to execute this integration every two hours for only a few days during a month. We want to automate this process by writing a Groovy rule in PBC which is scheduled under Jobs. Which calls a Groovy rule that executes the Data Management REST API to execute the Data Load Rule.
In Data Management a connection is made between PBC and ERP, both Oracle, which runs an integration to import actual monthly data.
The requirement is that this integration is run on very specific intervals. Once every two hours between 8 am and 2 pm on the first six working days of the month. We would like to automate this process. To achieve the automation we wrote a Groovy script in PBC which is scheduled under Jobs. The Groovy script calls a Data Management REST API to execute the Data Load Rule.