<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Enriching Davis Problem data via workflows in Developer Q&amp;A Forum</title>
    <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Enriching-Davis-Problem-data-via-workflows/m-p/234162#M747</link>
    <description>&lt;P&gt;Never mind I figured it out. Turns out the workflow display didn't show properly that the two tasks werent connected. A UI glitch left the impression they are....&lt;/P&gt;</description>
    <pubDate>Fri, 12 Jan 2024 10:56:18 GMT</pubDate>
    <dc:creator>r_weber</dc:creator>
    <dc:date>2024-01-12T10:56:18Z</dc:date>
    <item>
      <title>Enriching Davis Problem data via workflows</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Enriching-Davis-Problem-data-via-workflows/m-p/234109#M742</link>
      <description>&lt;P&gt;I'd like to "enhance" the Davis Problems that are sent via MS Teams integration with additional information.&lt;BR /&gt;Currently you can access the davis event data in the adaptive card template and for example get the affected entity IDs, like so:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{{ event()['affected_entity_ids'] }}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;However I created a custom javascript that takes the Davis event and fetches the entity names for these IDs. Now I want to use the entity names on the card template so that the generated notifications in teams make more sense to humans.&lt;/P&gt;&lt;P&gt;Is this possible? Can I modify/update the executionContext eventdata?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;const exe = await execution("9906b170-3aac-4059-8ffe-0988f4a27400");
const eventContext = exe.event();&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2024 21:01:10 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Enriching-Davis-Problem-data-via-workflows/m-p/234109#M742</guid>
      <dc:creator>r_weber</dc:creator>
      <dc:date>2024-01-11T21:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: Enriching Davis Problem data via workflows</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Enriching-Davis-Problem-data-via-workflows/m-p/234133#M744</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/35901"&gt;@r_weber&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Unfortunately, you can't modify the event context provided with the execution (exe.event()). It's a read-only field.&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, if I understand your scenario correctly, you can reference the javascript tasks' results (affected entity names) where you enhanced the event context&amp;nbsp;in the MS Team action.&lt;/P&gt;&lt;P&gt;Please let me know if I can help you further (and if I got your inquiry right).&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2024 08:21:25 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Enriching-Davis-Problem-data-via-workflows/m-p/234133#M744</guid>
      <dc:creator>michal_zawislak</dc:creator>
      <dc:date>2024-01-12T08:21:25Z</dc:date>
    </item>
    <item>
      <title>Re: Enriching Davis Problem data via workflows</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Enriching-Davis-Problem-data-via-workflows/m-p/234154#M746</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/57046"&gt;@michal_zawislak&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;how would I propagate the tasks result and then access it in the MS Teams action? A pointer to documentation/examples would be great!&lt;/P&gt;&lt;P&gt;I tried with:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{{ result('get_entity_names') }}&lt;/LI-CODE&gt;&lt;P&gt;But that gives an error on the send_message task: "&lt;SPAN&gt;Error evaluating input - 'message': Attempting to use result of unfinished task. Please make get_entity_names a predecessor of send_message_1."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Reinhard&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2024 10:40:05 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Enriching-Davis-Problem-data-via-workflows/m-p/234154#M746</guid>
      <dc:creator>r_weber</dc:creator>
      <dc:date>2024-01-12T10:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: Enriching Davis Problem data via workflows</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Enriching-Davis-Problem-data-via-workflows/m-p/234162#M747</link>
      <description>&lt;P&gt;Never mind I figured it out. Turns out the workflow display didn't show properly that the two tasks werent connected. A UI glitch left the impression they are....&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2024 10:56:18 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Enriching-Davis-Problem-data-via-workflows/m-p/234162#M747</guid>
      <dc:creator>r_weber</dc:creator>
      <dc:date>2024-01-12T10:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: Enriching Davis Problem data via workflows</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Enriching-Davis-Problem-data-via-workflows/m-p/234163#M748</link>
      <description>&lt;P&gt;Glad you made it work! We're aware of the Workflow editor graph flaws, and we'll work on them in the near future.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2024 11:05:55 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Enriching-Davis-Problem-data-via-workflows/m-p/234163#M748</guid>
      <dc:creator>michal_zawislak</dc:creator>
      <dc:date>2024-01-12T11:05:55Z</dc:date>
    </item>
  </channel>
</rss>

