Alerts and Calculation Logic in DTDL models

Richa Prabhakar 21 Reputation points
2021-12-31T12:46:13.14+00:00

Hi, As per Microsoft documentation, we can specify properties and telemetry in DTDL. But, I want to mention Alert Conditions and Calculation Logic in DTDL models to make them configurable. Is there any way to do so?

Azure Digital Twins
Azure Digital Twins
An Azure platform that is used to create digital representations of real-world things, places, business processes, and people.
231 questions
{count} votes

Accepted answer
  1. AshokPeddakotla-MSFT 34,701 Reputation points
    2022-01-03T14:22:00.673+00:00

    @Richa Prabhakar Below is the response received from our team on this query. Hope this helps.

    Currently, ADT does not natively support computational expressions in DTDL models. However, you can configure ADT to emit events during twin change or lifecycle events, which can then be handled by Azure function event handlers that contain expressions.

    Do let us know if you have any other queries.

    Update: Our product team already considered this feedback for implementation for 2022. Please see https://feedback.azure.com/d365community/idea/a78b15a2-f124-ec11-b6e6-000d3a4f0da0

    If an answer is helpful, please click on 130616-image.png or upvote 130671-image.png which might help other community members reading this thread.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.