<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Derek Li on Medium]]></title>
        <description><![CDATA[Stories by Derek Li on Medium]]></description>
        <link>https://medium.com/@derek_li?source=rss-a7032b4dfdf7------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*zPX-Nmzp_Nv79Rw5.jpg</url>
            <title>Stories by Derek Li on Medium</title>
            <link>https://medium.com/@derek_li?source=rss-a7032b4dfdf7------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 05:48:38 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@derek_li/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Use any tool number with Syil X7’s ATC]]></title>
            <link>https://medium.com/@derek_li/use-any-tool-number-with-syil-x7s-atc-eb2163f3876a?source=rss-a7032b4dfdf7------2</link>
            <guid isPermaLink="false">https://medium.com/p/eb2163f3876a</guid>
            <category><![CDATA[cnc]]></category>
            <dc:creator><![CDATA[Derek Li]]></dc:creator>
            <pubDate>Wed, 23 Mar 2022 18:31:50 GMT</pubDate>
            <atom:updated>2022-03-23T18:33:15.984Z</atom:updated>
            <content:encoded><![CDATA[<p>This post is for Syil X7 with the Syntec 22MA controller and the 16-tool arm-style ATC.</p><p>Like many people, I have my personal Fusion 360 tool library, it looks something like this:</p><pre>T1    |   Face mill<br>T31   |   3FL 1/8<br>T32   |   3FL 1/4<br>T41   |   4FL 1/8<br>T42   |   4FL 1/4</pre><p>If you have T31 in the spindle, you can issue T1M6 in the MDI to load T1 into the spindle, and T31 will be stored in the pocket T1 came from, both physically as well as in the controller.</p><p>But you won’t be able to issue T31M6 to change it back, out of box anyway.</p><p>Since Syntec 22MA support 90 offsets per tool, the workaround suggested have been to save the offset of T31 in T1’s 31st offset position, and T32 in T1’s 32nd position, etc.. This way, 90 tools in the CAM tool library can map to one “tool” in the controller. In total, you can use 1530 (90X17) different “tools” with the ATC.</p><p>But this requires updates to the post-processor, and just doesn’t feel as streamlined. There must be a better way.</p><p>Looking through the parameters, There is 3727 (R807) ATC max tool number which is set to 16.</p><p>Changing its value to 999 seems have done the trick. When T31 is in the ATC, I can issue T31M6 to load it into the spindle.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*GAMgwz3os4LNtf16" /></figure><p>So use this as your own risk, and if you do, there are two things to note:</p><p>First, make sure to not enter any tool number into pocket 17 and above. Since there are only 16 pockets in the ATC, it doesn’t make sense to have tools in the non-existent pockets, not to mention it will mess up the tool table if you do tool changes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xZWRn6DCSjc95As6DwOedA.png" /></figure><p>Second, if the ATC just stored a tool in pocket 16, and need to stage the tool in pocket 1 for the next tool change, it will have to rotate a full turn (16&gt;15&gt;…&gt;2&gt;1) after the parameter update. Compare to just rotate one position (16&gt;1) before the parameter update. I think this is because parameter 3427 controls not only the maximum tool number that can be changed into the spindle, but also the size of the ATC.</p><p>After 3727 (R807) ATC max tool number is updated to 999, the controller thinks the ATC actually has 999 pockets, therefore thinks 16&gt;15&gt;…&gt;2&gt;1 is the shorter path compare to 16&gt;17&gt;…&gt;999&gt;1.</p><p>While not ideal, I think the benefit of being able to use any tool number outweigh the extra rotation needed. Not to mention that it’s unlikely for the tool in the spindle to finish cutting, before the ATC can make a full rotation.</p><p>Ideally, I think the controller should place no limitation on the tool number of which can be loaded via ATC, and use the parameter for purely specifying the physical size of the ATC. In which case, can be left set at 16, and pocket 17 and above in the table will be disabled as a result to prevent accidently entering tools to them.</p><p>I showed this to Mr. Chen at Syil, and he agrees this work as long as tools are only entered into pocket 1 thru 16 (note #1 above).</p><p>Hope this helps.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eb2163f3876a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Making Sense of Harvest Right’s State Transition]]></title>
            <link>https://medium.com/@derek_li/making-sense-of-harvest-rights-state-transition-410a7b8f6ae1?source=rss-a7032b4dfdf7------2</link>
            <guid isPermaLink="false">https://medium.com/p/410a7b8f6ae1</guid>
            <category><![CDATA[freeze-dryer]]></category>
            <category><![CDATA[freeze-drying]]></category>
            <dc:creator><![CDATA[Derek Li]]></dc:creator>
            <pubDate>Tue, 26 Oct 2021 00:33:30 GMT</pubDate>
            <atom:updated>2021-10-26T01:15:47.131Z</atom:updated>
            <content:encoded><![CDATA[<p>I recently got a <a href="https://harvestright.com/">Harvest Right</a> freeze dryer, mainly to make freeze dried dog treats for my two dogs, <a href="https://www.instagram.com/powder_and_bolt/">Powder and Bolt</a>.</p><p>The machine has a few different states: pre-freezing, freezing, vacuum freezing, drying, final dry, etc., and being a data nerd, I really want to understand what the machine is doing in each of these states, and what’s the logic how the state transition.</p><p>Harvest Right doesn’t publish this information, but does provide a way to export the machine logs to USB for debugging purpose used by customer support.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tlm4XeKpo9KOWOP6tCkGbg.png" /></figure><p>The data is a little strange because it’s a CSV file with some Excel formulas, but it’s easy enough to just open and save as Excel file before it’s ready to be imported into PowerBI.</p><p>First chart shows the “pre-freezing” (first 15 minutes of the graph) &amp; “freezing” states.</p><p>It appears so that T1 is the tray temperature, T2 &amp; T3 are the chamber temperature, and T4 is the outside temperature.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rMFZnauVNLH-CW9W4vbjsg.png" /></figure><p>By default, the machine will stay in “pre-freezing state” for 15 minutes, but I have seen the machine skipping the “pre-freezing” state and going into “freezing” state directly. It happened when I did two batches back-to-back, so I think <strong>the transition from “pre-freezing” to “freezing” is 15 minutes past OR tray temperature got below certain value.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mHg8A1n7DqB-DzPPvE0yXA.png" /></figure><p>Next is the “vacuum freezing” state. This is where the vacuum pump turns on.</p><p>It appears that <strong>the transition from “freezing” to “vacuum freezing” is the tray temperature reached below -20F.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2yS26BrUy-Ld1EqvGA-CmA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mC25KckH93l5MkDHuVw_qQ.png" /></figure><p>Here you can see two charts from two batches. You can see that the temperature in both chart dropped below -30F multiple times while the pressure is above 400mTorr, but didn’t transition to next state until it reached -30F again after the pressure also reached below 400mTorr. This lead me to believe the transition from “vacuum freezing” to “drying” happens when tray temperature is below -30F AND the pressure is below 400mTorr.</p><p>If you have a leak, the “vacuum freezing” state is when you will get “inadequate vacuum” error, after the machine got the chamber cool enough (below -30F) but unable to pressure-wise. You can see the error I got initially, with the chamber at -33F, but unable to get pressure under 400mTorr after 12 hours.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sfMNhzdBvQD0hR-eS4k4TQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mVowBmrjatSQ4h2DsSUpHA.png" /></figure><p>After vacuum freezing comes the drying state. In this state, the heater turns on to cause the ice in the food to sublimate into gas, which increases the pressure. Then the heater turns off, slows the sublimation process, causing the pressure to drop.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2Ff8SdEz9JvbXKOlIfsyKA.png" /></figure><p>It appears that the machine would stay in the “drying” state, until the tray temperature have reached and maintained at the pre-configured value (125F in my case) AND the pressure stopped raising and start to drop, which happens at about 10:30PM in the chart above. In other words, very little water vapor being sublimated from the food.</p><p>In the chart below, you can see the graph for both “drying” and “final dry” states, with the transition happens around the 10PM mark.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fHCuEQQ8sH-oGmlI4sUnGg.png" /></figure><p><strong>It’s worth to note that I don’t think the “final dry” state in the log maps to what’s displayed on the machine, as the “drying” state is too short and “final dry” state is too long compare to what I see on the display. I can only hypotheses that the display transition from “drying” to “final dry” some time during the “final dry” state as recorded in the log, and maybe based on the speed of pressure change (ΔP, or, slope of the line).</strong></p><p>The complete state transition diagram would look something like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wZ_Rhra14FptPg90BQhGYw.png" /></figure><p>Note that there are a few other states you will see in the log that I’m not including here, because they are very brief (e.g. drying ramp up). There are also a few columns (e.g. last 4) that’s not labeled in the header, so I haven’t figure out what they are meant to capture. If you have any insights that would be greatly appreciated.</p><p>I hope this gives the curious minds a little insights into what and how their freeze dryer is working behind the scene.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=410a7b8f6ae1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Querying VAERS, Part 2]]></title>
            <link>https://medium.com/@derek_li/querying-vaers-part-2-3e409363bbcd?source=rss-a7032b4dfdf7------2</link>
            <guid isPermaLink="false">https://medium.com/p/3e409363bbcd</guid>
            <category><![CDATA[covid19]]></category>
            <dc:creator><![CDATA[Derek Li]]></dc:creator>
            <pubDate>Wed, 15 Sep 2021 00:02:58 GMT</pubDate>
            <atom:updated>2021-09-15T00:02:58.678Z</atom:updated>
            <content:encoded><![CDATA[<p>This post is a continuation of <a href="https://medium.com/@derek_li/querying-vaers-242f6ed50185">Querying VAERS</a>.</p><p>How many days does the adverse event appears after vaccination?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/919/1*HxKCrnUbp8NYtbnbnMXljA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-zWGsNgr09qDA9NrO3Kk_w.png" /></figure><p>Does 2nd dose results in more adverse event compare to the 1st?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/862/1*a8gtawpUmrus-QmvzoObxA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OnHZWU_sJBq53ewiSkSzZQ.png" /></figure><p>If instead of all reported cases, we look at disabled/died cases:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HQ9NvF7RbGFclU78PRP0ww.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XpClxXnBAAa-SImEb10kdw.png" /></figure><p>We can also look at the case count by vaccine manufacture.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/730/1*2KXiJqGhSTgRV4errhLZNw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Mi4BaDo5q5aXL3ehDgMV6Q.png" /></figure><p>And restricting to only disabled/died cases.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*olw3LgaEgE3wy8xaqi-H3g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uRKzx9Jwre5G3oY16pyoLQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3e409363bbcd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Querying VAERS]]></title>
            <link>https://medium.com/@derek_li/querying-vaers-242f6ed50185?source=rss-a7032b4dfdf7------2</link>
            <guid isPermaLink="false">https://medium.com/p/242f6ed50185</guid>
            <category><![CDATA[covid19]]></category>
            <dc:creator><![CDATA[Derek Li]]></dc:creator>
            <pubDate>Fri, 10 Sep 2021 06:27:58 GMT</pubDate>
            <atom:updated>2021-09-16T05:12:40.110Z</atom:updated>
            <content:encoded><![CDATA[<p>CORRECTION: The original post stated that the data set contains VAERS reports processed as of October 23rd, 2021, the correct date is August 23rd, 2021, it has been since corrected. (9/10/2021)</p><p>Part 2 of “Querying VAERS” can be found <a href="https://medium.com/@derek_li/querying-vaers-part-2-3e409363bbcd">here</a>.</p><p>What is <a href="https://vaers.hhs.gov/about.html">VAERS</a>?</p><blockquote>Established in 1990, the Vaccine Adverse Event Reporting System (VAERS) is a national early warning system to detect possible safety problems in U.S.-licensed vaccines. VAERS is co-managed by the Centers for Disease Control and Prevention (CDC) and the U.S. Food and Drug Administration (FDA). VAERS accepts and analyzes reports of adverse events (possible side effects) after a person has received a vaccination. Anyone can report an adverse event to VAERS. Healthcare professionals are required to report certain adverse events and vaccine manufacturers are required to report all adverse events that come to their attention.</blockquote><p>The HHS also publishes a <a href="https://vaers.hhs.gov/data/dataguide.html">Guide to Interpreting VAERS Data</a>:</p><blockquote>When evaluating data from VAERS, it is important to note that for any reported event, no cause-and-effect relationship has been established. Reports of all possible associations between vaccines and adverse events (possible side effects) are filed in VAERS. Therefore, VAERS collects data on any adverse event following vaccination, be it coincidental or truly caused by a vaccine. The report of an adverse event to VAERS is not documentation that a vaccine caused the event.</blockquote><p>It also reminds people to keep in mind the following limitations:</p><blockquote>“Underreporting” is one of the main limitations of passive surveillance systems, including VAERS. The term, underreporting refers to the fact that VAERS receives reports for only a small fraction of actual adverse events.</blockquote><p>To query data in the VAERS system, one can do so interactively using CDC’s <a href="https://wonder.cdc.gov/vaers.html">VAERS WONDER system</a>. However, I found it not only cumbersome to use, but also extremely limited in its capability.</p><p>Instead, the <a href="https://vaers.hhs.gov/data/datasets.html?">raw VAERS data set</a> is made available in CSV format, at the time of writing the latest data was published on September 3rd, 2021, and contains VAERS reports processed as of August 23rd, 2021.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*I1kDn38jFqCGfsB5w-Y2FA.png" /></figure><p>I downloaded the <strong>All Years Data</strong> and uploaded the files to an Azure storage account, there are 3 tables (yyyyVAERSDATA.csv, yyyyVAERSVAX.csv, and yyyyVAERSSYMPTOMS.csv) per year, the flat file schemas can be found in the <a href="https://vaers.hhs.gov/docs/VAERSDataUseGuide_November2020.pdf">VAERS User Guide</a>.</p><p>These files are uploaded to their corresponding container so they can be later ingested.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NSocRGVMTDWQUgm0dsXrAg.png" /></figure><p>To query the data I’m using Azure Data Explorer (aka. Kusto), a manual ingestion of data is very easy from blob containers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f6l8H0HQMs9862b_DFrYVw.png" /></figure><p>Knowing the limitations of VAERS data, what does it tell us?</p><p>First we can take a look at reported cases by age groups.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/727/1*w0Chi_DzPkYC31vvqdN9Jg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Lw-YCf9P4A8Q4lbSQJio9A.png" /></figure><p>Next, case count by sex. 345k of the reported cases are female, 135k are male, 34k other.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/724/1*HIOHV2fjeokXYC0g0cGRXg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j_rT5I_blhRYDZGmU8RRSQ.png" /></figure><p>Same data, but over time:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/688/1*teo1aubKo9SE_gVFdvLQwg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ig0s9bS3ofbMDpWGw8gjFA.png" /></figure><p>We can also look at case count by vaccinated date and VAERS case received date. Cases are usually received not long after the vaccinated date, there’s a jump in number of received cases in August that looks like an anomaly worth further investigation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/835/1*ZOJVxLl028XzhZVe9GvoKQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*USOkE3cwgOC2mF0SnN61SQ.png" /></figure><p>Looking at the average time it takes and 50th, 90th, and 99th percentiles between vaccination and case receive date</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JUxBkGrAa5hB1BYg8mYD7g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7RR5V-VXvc2QWJleoLKADw.png" /></figure><p>Looking at case count by where the vaccine was administered, it looks like almost all the cases in the August anomaly are from “Unknown”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/733/1*RpgO3eVFLvY6oK3yVJ28DQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gMSlSJCZYn744baOcv_n9Q.png" /></figure><p>There’s also data on whether the adverse event required doctor’s office/emergency room visit:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ivbh1xjro5cal2bGjSytXQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yCU3OP3sarGBoVN4eDcANA.png" /></figure><p>Looking at whether the vaccine recipient recovered from the adverse event, it looks like there are equal amount of recipients recovered vs. no recovered. August data still shows anomaly — more unknown and recovered cases compared to not recovered like previous months.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/706/1*Ey70zVo3sXfMseYWQqimTA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X8BYIXRG-WfnuCDi-gZYFw.png" /></figure><p>There are also several other columns we can look at, such as whether the adverse event was life threatening, required hospitalization, prolonged existing hospitalization, caused disability, or death.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*u9otC3foqajjAC2vZ-3eiQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2AOIO6rPjx3iRrYXBFCYKw.png" /></figure><p>The VAERSSYMPTOMS table allows us to look at symptoms of these adverse events:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/589/1*BCaLS8yxXdYu0P9NKdZP1A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/715/1*6AUAX2KLkpUSmm22O1TfYw.png" /></figure><p>Next steps? There’s a lot more data in the set worth exploring, to slice and dice, and particularly the August anomaly. It would also be great to join it against other data set, such as general vaccination administration data to gain insights.</p><p>That is what the data says, the conclusion to draw will be up to you.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=242f6ed50185" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Block Connectors in Logic Apps]]></title>
            <link>https://medium.com/@derek_li/block-connectors-in-logic-apps-fa8b4f8fc1df?source=rss-a7032b4dfdf7------2</link>
            <guid isPermaLink="false">https://medium.com/p/fa8b4f8fc1df</guid>
            <category><![CDATA[azure]]></category>
            <category><![CDATA[logic-apps]]></category>
            <category><![CDATA[azure-logic-apps]]></category>
            <dc:creator><![CDATA[Derek Li]]></dc:creator>
            <pubDate>Tue, 08 Oct 2019 20:34:22 GMT</pubDate>
            <atom:updated>2019-10-08T20:34:22.005Z</atom:updated>
            <content:encoded><![CDATA[<p>One common request from enterprise Logic Apps usage is to block the usage of certain connector. Chances are, you probably don’t want people creating workflows in a production subscription to post Instagram photos.</p><p>Let’s see how that’s done.</p><p>We will start from the policy blade, and create a new policy definition.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/646/1*_1KI1qFgg_0IgU6kpFk1Dw.png" /></figure><p>Select the subscription, give it a name, a description if you fell like. There’s even a Logic Apps category already, how nice. But what goes into the policy rule section?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/407/1*VYVbINnr3XWnSmBKVXOiRg.png" /></figure><p>To find it out, an earlier article on <a href="https://medium.com/@derek_li/create-api-connection-via-arm-template-b018e8069808">API connection</a> helps, so make sure you take a look at it if you haven’t already. If we exam the call <a href="https://management.azure.com/subscriptions/80d4fe69-c95b-4dd2-a938-9250f1c8ab03/resourceGroups/DeliRG/providers/Microsoft.Web/connections/instagram-5?api-version=2018-07-01-preview">PUT https://management.azure.com/subscriptions/{subscription}/resourceGroups/{resourceGroup}/providers/Microsoft.Web/connections/instagram?api-version=2018-07-01-preview</a>, we should see the following payload:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/735/1*UUJtBIz3QoTGVeKbQ4ghvw.png" /></figure><p>The id property is what we will key off when creating the policy. And in this case, it looks like the following:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/469/1*4V5kh-Ehj2VKheUAXaymnA.png" /></figure><p>I’m using like as the condition so it works regardless of regions (which is part of the id).</p><p>But where is this Microsoft.Web/connections/api.id coming from? It’s called property alias, and the easiest way to find that out is via <a href="https://docs.microsoft.com/en-us/azure/governance/policy/tutorials/create-custom-policy-definition#azure-resource-graph">Resource Graph</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uk9uMeYe0hLMmqPMhKD8ng.png" /></figure><p>You may be temped to check whether Microsoft.Web/connections/api.name equals instagram, while that can work for some scenario (e.g. edit a connection), it wouldn’t work for blocking the creation of API connections. If you look at the payload from above, the name property isn’t in the initial PUT call, but was later added on the server side.</p><p>Now that the policy definition is created, we will have to assign it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/504/1*VjBnjBbkxkN2gSBvH3tmHQ.png" /></figure><p>In my case, I’m assigning it to a resource group level. You can also do that on a subscription level, or assign it to multiple resource groups.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tglXfeVhfl2DWFscapEZBw.png" /></figure><p>Policy may take a while to become effective, then we can try it out in Logic Apps designer. If you did it correctly, the connection creation should return an error due to policy validation:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/614/1*l_ARz4WdwUxBDI2hL2q0kA.png" /></figure><p>Hooray!</p><p>Now, even though we successfully blocked Instagram API connection in Logic Apps, that shouldn’t stop you from give my dogs a follow:</p><p><a href="https://www.instagram.com/powder_and_bolt/">@powder_and_bolt</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*4jRKP2RYZzCXDhEGPKK_-g.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fa8b4f8fc1df" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Recently I had a Logic Apps customer asking me how to customize “Send Approval Email”.]]></title>
            <link>https://medium.com/@derek_li/recently-i-had-a-logic-apps-customer-asking-me-how-to-customize-send-approval-email-df4138bbd5f1?source=rss-a7032b4dfdf7------2</link>
            <guid isPermaLink="false">https://medium.com/p/df4138bbd5f1</guid>
            <category><![CDATA[logic-apps]]></category>
            <category><![CDATA[workflow]]></category>
            <category><![CDATA[approval]]></category>
            <category><![CDATA[azure-logic-apps]]></category>
            <category><![CDATA[azure]]></category>
            <dc:creator><![CDATA[Derek Li]]></dc:creator>
            <pubDate>Thu, 03 Oct 2019 17:32:54 GMT</pubDate>
            <atom:updated>2019-10-03T17:32:54.321Z</atom:updated>
            <content:encoded><![CDATA[<h3>Customize Approval Workflow in Logic Apps</h3><p>Recently I had a Logic Apps customer asking me how to customize “Send Approval Email”. For those who are not familiar with the action, it sends out an e-mail with options that recipient can choose, and the selection will be passed back into Logic Apps, and you can use “Conditions” or “Switch case” to execute different logic.</p><p>However, this customer want to allow the recipient to add a comment, or upload a file when making the selection. This is not something Logic Apps support out-of-box. But because of the modality of Logic Apps, it is possible to implement this yourself, and I thought I’d share it with you.</p><p>Our implementation requires three Logic Apps:</p><ul><li>The first Logic App will be triggered by the event you specified -I just used a “Request” trigger for demo purpose- and process any business logic after user made a selection.</li><li>The second Logic App will start with a request trigger, to be called by the first Logic App, and sends out the e-mail.</li><li>The third Logic App will serve a single-page web application for user to make selection, and supply supplemental data.</li></ul><p>Let’s get started.</p><p>The first Logic App is very simple:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/609/0*4YK3ZF1-ZysHl4u5.jpg" /></figure><p>Second Logic App is as follows. I used Campaign Monitor’s <a href="https://buttons.cm/">Bulletproof email buttons</a> to generate the button with some nice visual. But the key part is to stitch the 3rd Logic App’s request url, with 1st Logic App’s callback Url.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1021/0*Z2ZT-ROtwz1NVW-J.jpg" /></figure><p>The 3rd Logic App will serve as the single-page web app, here I used form to allow user to specify a comment, and the action will make a POST call to 1st Logic App’s callback url. I’m sure any web developer can make a better looking UI than what I have here.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1023/0*Nx_hE_zKMUAh4kzl.jpg" /></figure><p>Now all three Logic Apps are built, we can trigger a manual run on the 1st Logic App, and the email address you specified in the 2nd Logic App should receive an e-mail that looks something like below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/349/0*wMeMN6dj4EH2xd6o.jpg" /></figure><p>Clicking the button should take you to a web page:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/431/0*mEXKA65OTNA2Asyd.jpg" /></figure><p>Type in some comment, and click “Reject”. Now navigate back to the 1st Logic App, you should see the webhook action completed with the data we just entered.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/621/0*LJ42vKUnWaGfOhrc.jpg" /></figure><p>What’s next?</p><ul><li>Add more actions to the first Logic App, you will want to check the body of the request in webhook with a “Condition” or “Switch case” and execute different business logics.</li><li>The email approval request is sent to can come from the first Logic App and passed into the second. Similarly, approval options from the 3rd Logic Apps can also be passed in from upstream.</li><li>Make the single-page web app looks prettier. The response to the callback url request is always a 200 with no data, but you may be able to add a 4th Logic App to serve better content upon receiving the response. (The form would submit payload to the 4th Logic App, which will response a prettier message, and then pass the data to Logic App #1)</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=df4138bbd5f1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Create API Connection via ARM Template]]></title>
            <link>https://medium.com/@derek_li/create-api-connection-via-arm-template-b018e8069808?source=rss-a7032b4dfdf7------2</link>
            <guid isPermaLink="false">https://medium.com/p/b018e8069808</guid>
            <category><![CDATA[azure]]></category>
            <category><![CDATA[logic-apps]]></category>
            <category><![CDATA[azure-logic-apps]]></category>
            <dc:creator><![CDATA[Derek Li]]></dc:creator>
            <pubDate>Wed, 02 Oct 2019 01:47:41 GMT</pubDate>
            <atom:updated>2019-10-02T01:49:28.735Z</atom:updated>
            <content:encoded><![CDATA[<h3>Create API Connection via REST/ARM Template</h3><p>Creating API connections in Logic Apps designer is easy. But what if you want to create connections via REST API or ARM deployment template?</p><p>The API to create connection looks like this:</p><p>PUT <a href="https://management.azure.com/subscriptions/80d4fe69-c95b-4dd2-a938-9250f1c8ab03/resourceGroups/delirg2/providers/Microsoft.Web/connections/sql?api-version=2018-07-01-preview">https://management.azure.com/subscriptions/{subscription}/resourceGroups/{resourceGroup}/providers/Microsoft.Web/connections/{connector}?api-version=2018-07-01-preview</a></p><p>And in ARM template the resource definition looks like this:</p><p>{<br> “type”: “Microsoft.Web/connections”,<br> “apiVersion”: “2016–06–01”,<br> “location”: “[parameters(‘location’)]”,<br> “name”: “[parameters(‘connectionName’)]”,<br> “properties”: {} <br>}</p><p>But what goes into the request body for the REST call, and what goes into properties in the ARM template?</p><p>To figure out we will call another API: PUT <a href="https://management.azure.com/subscriptions/80d4fe69-c95b-4dd2-a938-9250f1c8ab03/resourceGroups/delirg2/providers/Microsoft.Web/connections/sql?api-version=2018-07-01-preview">https://management.azure.com</a>/subscriptions/{subscription}/providers/Microsoft.Web/locations/{location}/managedApis/{connector}?api-version=2018–07–01-preview</p><p>Look for connectionParameters in the response, it will tell you everything you need to know in order to create a connection for the given connector, SQL in this case:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/294/1*-Fji1cI241H_w_PFGxRSHQ.png" /></figure><p>But wait, there’s easier way. Simply look at the network trace when creating connection in Logic Apps designer, and look for the PUT call to the first API mentioned in this article, and the request body has everything you need.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-nkkPJf-Qyil36nIK-VIUg.png" /></figure><p>Of course, you can always use <a href="https://marketplace.visualstudio.com/items?itemName=VinaySinghMSFT.AzureLogicAppsToolsForVS2019">Azure Logic Apps Tools for Visual Studio</a> and it will generate the correct ARM template for connections for your Logic Apps project.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b018e8069808" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Logic Apps and throttling]]></title>
            <link>https://medium.com/@derek_li/logic-apps-and-throttling-8096362dfb1a?source=rss-a7032b4dfdf7------2</link>
            <guid isPermaLink="false">https://medium.com/p/8096362dfb1a</guid>
            <category><![CDATA[logic-apps]]></category>
            <category><![CDATA[azure-logic-apps]]></category>
            <dc:creator><![CDATA[Derek Li]]></dc:creator>
            <pubDate>Thu, 26 Sep 2019 01:20:17 GMT</pubDate>
            <atom:updated>2019-09-26T01:24:00.756Z</atom:updated>
            <content:encoded><![CDATA[<h3>Logic Apps and Throttling</h3><p>Oh, throttling. Being throttled is bad. 429s are bad. Let’s take a look at how to solve many of the throttling related problem in Logic Apps.</p><p>When using Logic Apps you may experience different types of throttling, each different type requires different techniques to mitigate, so let’s try to understand what they are.</p><ol><li>Throttle by Logic Apps. You will encounter Logic Apps throttling if your Logic App exceed the <a href="https://docs.microsoft.com/azure/logic-apps/logic-apps-limits-and-config#throughput-limits">throughput limits</a> of Logic Apps. You can identify this by looking under the Metrics tab in Azure portal with `Action Throttled” and Trigger Throttled events.</li><li>Throttle by connectors. Apart from Logic Apps throttling, each connectors also has their own throttling configuration, you can find it on the connector documentation page. E.g. <a href="https://docs.microsoft.com/connectors/servicebus/#limits">Service Bus</a> allows 6,000 calls per minute. You will see 429s in the retry history when it happens, unfortunately it’s not easily distinguished from #3 service throttle so you may need to look at the detail response and/or do some math to identity.</li><li>Throttle by the service. This is when the service you’re calling throttles, e.g. Some API in Exchange Server have a limit lower than the Outlook connector. This type of throttling will also surface as 429s.</li></ol><h3>Dealing with Logic Apps Throttling</h3><p>First thing to remember about Logic App throttling is that it happens on the Logic App level, not run, not subscription, not resource group, but Logic App.</p><p>The <a href="https://docs.microsoft.com/azure/logic-apps/logic-apps-limits-and-config#throughput-limits">limit </a>is 100,000 actions per Logic App in a 5-minute rolling interval.</p><p>Once we know that, the solution is pretty simple: if you can break down your implementation into smaller Logic Apps, you can run more actions. Of course that won’t always be the case, as a fallback we have a preview feature called “<a href="https://docs.microsoft.com/azure/logic-apps/logic-apps-workflow-actions-triggers#run-high-throughput-mode">High throughput mode</a>” that will give you 3x, or 300,000 actions per 5-minute.</p><h3>Some easy fix for connector throttling</h3><p>It’s useful to know that with consumption (non-<a href="https://azure.microsoft.com/blog/announcing-azure-integration-service-environment-for-logic-apps/">Integration Service Environment</a>) Logic Apps, throttling is on connection level, not connector level. Which means simply spreading out the load across different connections -even if they all talks to the same service, with same credential- can help.</p><p>Suppose you have a Logic App that gets a row from SQL, then update that row after manipulated the data, you can use one connection for get, and another for update. This simple change just gave you 2x throughput.</p><p>You can technically have multiple connections for a single action and choose one to use at run time, but that’s an advanced topic for another day.</p><h3>The 429 race</h3><p>Because of the parallel nature of how actions are executed, it is easy for multiple instances of the Logic Apps runs or loop iterations to make request to the same endpoint in parallel. While each instance will follow when HTTP `429 Too Many Requests` is returned, they are not aware of the existence of each other, therefore create possible race conditions when retrying.</p><p>Suppose there’s an array of 100 items, and we use a for-loop with concurrency configured to 20. Inside the loop, we’re inserting the item into a SQL database, that allow 15 calls per second.</p><p>At T+0s, 20 insert will be attempted, 15 will succeed and 5 will receive a 429 and scheduled to be retried later, for the purpose of this example let’s say it will retry after 1 second.</p><p>Since 15 items completed, another 15 will start to run, at T+0.5s. There won’t be any quota from SQL for another 0.5s, but these 15 iterations won’t know, so they will attempt the insertion and fail. Now we have 20 iterations failed waiting to be retired.</p><p>At T+1s, the quota from SQL will be freed up by now, but we have another 15 new iterations plus the first 5 failed ones all trying to insert now, and 5 will fail due to exceeding the quota, and schedule to be retired later.</p><p>You see the problem?</p><h3>Use a singleton “worker”</h3><p>One thing you can do is to enqueue the items into a queue, and have a singleton Logic Apps to perform the insertion. Only one instance of that Logic App will run at any given time, so it will either complete the operation and do it for the next item in the queue, or wait for 429s without useless retries.</p><p>Another example is checking mailboxes. Let’s say you want to monitor a mailbox and perform different tasks depends on the title of the e-mail. Instead of having one Logic App that checks the mailbox for subject containing “Approval”, another for “Order”, another for “Notification”. Just have one Logic App that monitors for all e-mails, and calls child Logic Apps depends on the subject, using switch-case or condition action.</p><h3>Do things batches</h3><p>When the connector support batch operations, it’s also a good idea to do things in batches rather than individually.</p><p>Continue with the SQL example, when dequeue the items, you can choose to not split-on the array, and send multiple items to a stored procedure in SQL, which will insert it on the server side.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/618/1*2I3TJGjNs_YIzQfoRcROFQ.png" /></figure><p>You can also do this with the built-in <a href="https://docs.microsoft.com/azure/logic-apps/logic-apps-batch-process-send-receive-messages">batch action &amp; trigger</a> if you don’t want to use a queue.</p><h3>Use webhooks whenever possible</h3><p>When the service support webhook subscription, it’s almost always better to go with webhook than polling.</p><p>The connector may have implemented the use of webhook, and if not, check to see if they integrate with Event Grid (e.g. blob).</p><p>How to tell if a trigger is webhook or polling? A trigger is webhook if the type is “ApiConnectionWebhook”, or you can tell by the absent of recurrence configuration in the card.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/620/1*25Em5bPUccGfn_O4TOUDcw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/328/1*6PQPHTDSw9VhFMPCrQyP2Q.png" /></figure><h3>This post is nice, but can we have it to be part of your doc?</h3><p>We’re working on turning this into a doc on docs.microsoft.com. Did I miss anything? Do you have other idea on handling being throttled? Please let me know your feedback so we can incorporate it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8096362dfb1a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Use API-M To Mask Async APIs When Moving Implementation to Logic Apps]]></title>
            <link>https://medium.com/@derek_li/use-api-m-to-mask-async-apis-when-moving-implementation-to-logic-apps-6644f893db7a?source=rss-a7032b4dfdf7------2</link>
            <guid isPermaLink="false">https://medium.com/p/6644f893db7a</guid>
            <category><![CDATA[logic-apps]]></category>
            <category><![CDATA[azure-logic-apps]]></category>
            <dc:creator><![CDATA[Derek Li]]></dc:creator>
            <pubDate>Wed, 25 Sep 2019 01:37:41 GMT</pubDate>
            <atom:updated>2019-09-25T01:37:41.687Z</atom:updated>
            <content:encoded><![CDATA[<p>I recently talked to a customer who is in the process of moving API implementation to Logic Apps utilizing request-response pattern.</p><p>Some customer’s legacy APIs will remain as-is for the moment. Subset of those APIs takes longer than 2 seconds to respond, exceeding Logic Apps’ 2 minute request timeout. Unfortunately, customer won’t be able to update such APIs to follow async pattern.</p><p>Here’s a mock Logic App to simulate this scenario, notice the 150 seconds delay.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/612/1*Kh4eXBXCiKPHkbrZE5OrYQ.jpeg" /></figure><p>Like mentioned before, Logic Apps has a 120-second request timeout, as documented <a href="https://docs.microsoft.com/azure/logic-apps/logic-apps-limits-and-config">here</a>, so if the run last more than 2 minutes, the connection will be closed and respond will not be available to the caller.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iRLhOtHFDUS-UKDX6jgTiw.jpeg" /></figure><p>The recommended approach is to enable “async response” on the settings page of the response action, in which the Logic App will return 202 with a location header immediately, and the caller can check the location url until the run reaches its terminal state.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*y_SO_BDwXKn4KYH7xRZcaA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iRLhOtHFDUS-UKDX6jgTiw.jpeg" /></figure><p>However, this would require updating the client (caller) to follow location header on 202, which is not possible in this case.</p><p>API Management came to the rescue.</p><p>With API Management policy, it could allow us to enable “Async response” in Logic Apps, yet expose (or in other word, mask) the request trigger as if it’s a synchronous call.</p><pre>&lt;outbound&gt;</pre><pre>&lt;base /&gt;</pre><pre>&lt;retry condition=&quot;@(((IResponse)context.Variables[&quot;var&quot;]).StatusCode == 202)&quot; count=&quot;10&quot; interval=&quot;30&quot;&gt;</pre><pre>&lt;send-request mode=&quot;new&quot; response-variable-name=&quot;var&quot; ignore-error=&quot;false&quot;&gt;</pre><pre>&lt;set-url&gt;@(context.Response.Headers[&quot;location&quot;][0])&lt;/set-url&gt;</pre><pre>&lt;set-method&gt;GET&lt;/set-method&gt;</pre><pre>&lt;/send-request&gt;</pre><pre>&lt;/retry&gt;</pre><pre>&lt;return-response response-variable-name=&quot;var&quot; /&gt;</pre><pre>&lt;/outbound&gt;</pre><p>Above outbound policy will keep retry the url specified in header “location” at a pre-defined interval (30 seconds in my case), and only return the terminal payload to the caller. And calling the API-M endpoint appears as a synchronous call.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-vmfGexMMbHPRp2qQXenlQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6644f893db7a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Auto Tag New Resources with Logic Apps]]></title>
            <link>https://medium.com/@derek_li/auto-tag-new-resources-with-logic-apps-13bf2456eb7b?source=rss-a7032b4dfdf7------2</link>
            <guid isPermaLink="false">https://medium.com/p/13bf2456eb7b</guid>
            <category><![CDATA[workflow]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[logic-apps]]></category>
            <category><![CDATA[serverless]]></category>
            <dc:creator><![CDATA[Derek Li]]></dc:creator>
            <pubDate>Tue, 03 Sep 2019 17:25:14 GMT</pubDate>
            <atom:updated>2019-09-03T17:25:14.988Z</atom:updated>
            <content:encoded><![CDATA[<p>If you watch any of the Logic Apps demo, you will notice we use “Logic Apps PM” Azure subscription for this. All the program managers on the team have access to the subscription, and we often add other people as contributor to get access to a pre-built demo, debug an issue, etc..</p><p>One thing we want to get better at is to track who created which resource, and how long ago was the resource created. So when it come to spring cleaning time, we know which one can be deleted and whom to ask.</p><p>Now, it would be great for this to be a built-in feature into Azure/ARM, but it’s not, not currently at least. Not to worry, Logic App comes to the rescue.</p><p>The Logic App start with the Event Grid trigger, and subscribe to any and all ResourceWriteSuccess event type across the entire subscription.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/609/1*5ibD_qv9NLDaCbQt7nCsMA.png" /></figure><p>I’m keeping it simple for now so I will exclude operations performed by service principal, and/or any Microsoft.Resource/deployments type. If so, I will terminate the Logic App run and mark it as Cancelled.</p><p>The condition UI allows me to easily add other cases I want to ignore in the future, you will also notice instead of having the subsequent logic in the If false branch, I choose to have it to be after the entire condition block. Both works, I just prefer it this way.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l34G4EUW5CBukteASYtoWw.png" /></figure><p>Once I know the current event is for a resource I want to tag, I have two inline code action to figure out the resource short name, as well as the API version. Regular expression is the easiest way to extract such info from the payload, and inline code action we introduced at the beginning of this year makes it really easy to do in Logic Apps.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/605/1*HzRYVNUWjkLr35Yoyh57Xw.png" /></figure><p>But that doesn’t always work. Some events doesn’t contain the API version in the payload, so I have to find it out the hard way, by querying that particular resource provider, and choose the latest API version it supports.</p><p>You can see that I have these logic inside a scope, which runs after the previous inline code action has failed. I’m also using the HTTP action with managed identity to allow me to easily invoke ARM APIs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/634/1*2AnJtbtxY7QGxU24XX62QA.png" /></figure><p>Once I have API version figured out, I can then get the actual resource, and also get the user’s principal name from the claim.</p><p>Tip: coalesce is a great built-in expression that allows me to get the first not null value from a list of inputs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/605/1*c418FTbGbWfZWtqwW5n9HA.png" /></figure><p>It’s smooth sailing from here, I will just need to check that the resource hasn’t been tagged already (because the same event is triggered on initial and subsequent resource writes), and tag it accordingly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hLim_9yxuo1pZoeinC_SLw.png" /></figure><p>And here’s what it looks like after left the Logic App running after a few days.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/631/1*aTxGyiIkghOUt0H8OJtWTg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=13bf2456eb7b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>