Insights Hub Authorizing MindSphere REST Calls from within 'Scheduled Events' in Mendix

2021-07-16T09:34:27Z
Developer Tools APIs & Services

Summary


Details

How can I get authorization token for MindSphere rest calls within scheduled events in MindSphere?

Solution

Scheduled events are not supported when running your app on the Mendix sandbox (Free app) environment. You have two options to use scheduled events.

The customer has two options here:

  1. Use a Licensed Mendix App
    1. Deploy the free app to MindSphere Cloud Foundry

      Environment variables should be set for both MindSphere CF and Licensed Mendix App. In licensed Mendix app, runtime settings should be used.

      https://docs.mendix.com/developerportal/deploy/environments-details

      More info can be found on https://developer.mindsphere.io/howto/howto-app-mendix-development.html#authorizing-mindsphere-rest-calls-from-within-scheduled-events

      Notes

      KB Article ID# PL8555013

      Contents

      SummaryDetails

      Associated Components

      Developer Tools - Other