Extra Horizon
GitHub
  • Extra Horizon Documentation
  • Getting Started
    • Start familiarizing yourself
  • Tutorials
    • Medical Device Tutorial
      • Preparation
      • Build your first prototype
        • Define a data model
        • Configure your workflows
          • Workflow 1: Analyze a measurement
          • Workflow 2: Create & store a PDF report
          • Workflow 3: Send an e-mail
        • Define your permissions
          • Update your schema with user permissions
          • Update your schema with group permissions
        • Build the Front-End
          • Set up oAuth in your backend
          • Demo login page
      • Summary & Wrap up
    • Polysomnography (PSG) Tutorial
    • Retool - Building dashboards Tutorial
  • FAQ
    • General
  • Services
    • Identity and Access Management
      • User service
        • Users
        • Groups
        • Global roles
        • Configuration
      • Auth Service
        • Applications
        • OAuth2
        • OAuth1
        • MFA
        • OpenID Connect
          • Google Cloud
          • Azure ADFS
    • Data Management
      • File Service
      • Data Service
        • Schemas
        • Documents
        • FAQ Data Service
    • Automation
      • Task Service
        • Functions
        • Tasks
        • API Functions
        • Examples
          • Hello world (JS)
          • Hello world (Py)
          • Hello world (Docker)
        • FAQ
      • Dispatchers Service
      • Event Service
        • System Events
    • Communication
      • Notification Service
        • Notifications
        • Settings
      • Mail Service
    • Other
      • Localization Service
        • Language Codes
      • Template Service
        • Localizations
      • Payments Service
        • Subscriptions
        • Stripe
        • iOS App Store
      • Configurations Service
  • API Reference
    • OpenAPI Specifications
    • 📦Changelog
      • Per-service Changelog
    • Postman Reference Collection
  • Tools
    • SDK
    • CLI
    • Control Center
  • Additional Resources
    • Resource Query Language (RQL)
    • Handling Errors
    • GitHub
    • API interaction (Python)
    • Migration guide: Enabling verification request limiting
  • ExH Platform
    • 🙋Support
    • ⏱️Usage and Performance
    • 🔓Security
    • 🗺️Regions
    • ⚖️Cloud Subscription Agreement
    • 🇺🇸CFR 21 Part 11
Powered by GitBook
On this page
  • Functions & Tasks
  • Functions and tasks
  • 🔗 More Resources
  • Resources & References

Was this helpful?

  1. Services
  2. Automation

Task Service

PreviousAutomationNextFunctions

Last updated 1 year ago

Was this helpful?

Do you need some custom logic in your medical backend? Run custom code in a certified environment using the Task Service. The Task Service is well-integrated with the to automatically act upon changes in your database. It can as well be used to run standalone business logic asynchronously, synchronous or on a schedule.

Some common use cases where you can leverage the Task Service include:

  • Data Processing When a new device measurement comes in, a task can be triggered to asynchronously process the measurement data. This task can make third-party API calls to augment the measurement.

  • Data synchronization To synchronize data between Extra Horizon other systems, a task can be created. This task can run on a schedule or can be triggered by an event.

  • GDPR-compliant user management When a user is deleted from the system, a task can be triggered that uses the API of a third-party system to delete the user's data in that system as well.

  • Daily reporting Run a reporting task to aggregate data from the data service into a daily report.

  • Creating custom endpoints An API Function can be used to create custom endpoints, enabling an IoT Device to perform simple HTTP requests to push, process and synchronize data.

Functions & Tasks

The task service has two logical entities: functions and tasks.

A function contains the business logic, the code that you want to execute.

A task is represents the execution of a function with a set of inputs.

Functions and tasks

Functions and tasks are the two main concepts in this service.

A function is the single unit of code that can be executed within the executable piece of code that an executable

A task represents the execution of a specific function.

🔗 More Resources

Resources & References

Task service changelog
API Specifications
Functions
Tasks
Data Service