Skip to Main Content
Customer Feedback

We love feedback from you on our products and the problems in your daily work that you would like us to solve. Please describe the challenge you're encountering and your desired outcome. Be as detailed as possible.

For technical issues or bugs please head to Support or our Developer Community. You can assign up to 20 votes in total. Thank you for your feedback.

Status explanation: 'Future Consideration' = Continuing to collect further feedback, not planned at this time. 'Investigating' = Prioritized for deeper customer and feasibility investigations ahead of planning development.

Categories Technical
Created by Guest
Created on Oct 7, 2024

Please add IsRunning to IImportStatus.Status used in the IDataImporter

We are programmatically running the data importer service to merge databases. One of the page types has a list of users that is validated against our OAuth provider, OKTA. The problem is that running the import service in a scheduled job can't connect to OKTA to validate the user, so it fails. We are getting around this by wrapping the OKTA validator inside a conditional that looks at IDataImporter.Status.IsDone, and if it's false the import service is running (allegedly) so it bypasses the user validation. The problem is that IsDone is initialized to its default state of 'false' since it's a bool. If the server running the app has never started the service, it will be false and bypass the validation which is not what we want.

Two solutions are available.

  1. Initialize (IImportStatus)Status.IsDone as true if the service isn't running. This would also need a line in the Import() method to set it to false.

  2. There is a private field in DefaultDataImporter called _isRunning and it's set to true immediately after the Import() method is called and false immediately after it's done. If we can access IsRunning from the interface, we can use that in our conditional.