<?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>question Re: How does the flow context relationship is working? in Platform Analytics forum</title>
    <link>https://www.servicenow.com/community/platform-analytics-forum/how-does-the-flow-context-relationship-is-working/m-p/3513454#M64103</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/794879"&gt;@SHREEDHARANM&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In ServiceNow, even when &lt;STRONG&gt;Wait for completion&lt;/STRONG&gt;&amp;nbsp;is false, the subflow is only asynchronous in execution, not independent in lifecycle.&lt;BR /&gt;It still runs as a child context of the parent in &lt;STRONG&gt;sys_flow_context&lt;/STRONG&gt;.&lt;BR /&gt;So both parent and subflow remain part of the same execution hierarchy.&lt;BR /&gt;When the parent flow is cancelled, the engine automatically cascades cancellation to all child contexts.&lt;BR /&gt;This includes subflows, even if they are in a &lt;STRONG&gt;waiting state&lt;/STRONG&gt;.&lt;BR /&gt;&lt;STRONG&gt;Async&lt;/STRONG&gt;&amp;nbsp;just means non-blocking, not detached.&lt;BR /&gt;To make it fully independent, you need to trigger it via FlowAPI or events, not a direct subflow call.&lt;/P&gt;&lt;P&gt;Let me know if this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you find my answer useful, please mark it as helpful and correct.&amp;nbsp;‌‌‌‌‌‌‌‌‌‌‌&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Soham Tipnis&lt;BR /&gt;ServiceNow Developer ||&amp;nbsp; Technical Consultant&lt;BR /&gt;LinkedIn:&amp;nbsp;&lt;A href="http://www.linkedin.com/in/sohamtipnis10" target="_blank"&gt;www.linkedin.com/in/sohamtipnis10&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 24 Mar 2026 07:14:50 GMT</pubDate>
    <dc:creator>SohamTipnis</dc:creator>
    <dc:date>2026-03-24T07:14:50Z</dc:date>
    <item>
      <title>How does the flow context relationship is working?</title>
      <link>https://www.servicenow.com/community/platform-analytics-forum/how-does-the-flow-context-relationship-is-working/m-p/3512122#M64075</link>
      <description>&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;I am looking for a deep-dive technical explanation or official documentation regarding the lifecycle relationship between a Parent Flow and an Asynchronous Subflow.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The Scenario:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;A Parent Flow calls a Subflow.&lt;/P&gt;&lt;P&gt;The &lt;STRONG&gt;"Wait for completion"&lt;/STRONG&gt; checkbox is &lt;STRONG&gt;unchecked&lt;/STRONG&gt; (False).&lt;/P&gt;&lt;P&gt;The Parent Flow moves to the next step and enters a "Waiting" state (e.g., waiting for a record update).&lt;/P&gt;&lt;P&gt;The Subflow also enters a "Waiting" state (e.g., a timer or a wait for condition).&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The Observation:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;When the &lt;STRONG&gt;Parent Flow Context&lt;/STRONG&gt; is cancelled manually or through any script, the &lt;STRONG&gt;Subflow Context is also being cancelled automatically&lt;/STRONG&gt;, despite being triggered asynchronously.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I would appreciate any insights from those who have explored the sys_flow_context hierarchy in detail and helping me to understand this in detail&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Mar 2026 14:41:09 GMT</pubDate>
      <guid>https://www.servicenow.com/community/platform-analytics-forum/how-does-the-flow-context-relationship-is-working/m-p/3512122#M64075</guid>
      <dc:creator>SHREEDHARANM</dc:creator>
      <dc:date>2026-03-21T14:41:09Z</dc:date>
    </item>
    <item>
      <title>Re: How does the flow context relationship is working?</title>
      <link>https://www.servicenow.com/community/platform-analytics-forum/how-does-the-flow-context-relationship-is-working/m-p/3512143#M64077</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/794879"&gt;@SHREEDHARANM&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Follow this KB or SN doc links . Hope it will help you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1.&amp;nbsp;&lt;A href="https://support.servicenow.com/kb?id=kb_article_view&amp;amp;sysparm_article=KB2565934" target="_blank"&gt;KB2565934:How to show subflow stages in a parent flow&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2.&amp;nbsp;&lt;A href="https://www.servicenow.com/docs/r/zurich/build-workflows/workflow-studio/show-subflow-stages-in-a-parent-flow.html" target="_blank"&gt;https://www.servicenow.com/docs/r/zurich/build-workflows/workflow-studio/show-subflow-stages-in-a-parent-flow.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3.&amp;nbsp;&lt;A href="https://servicenowguru.com/graphical-workflow/applying-sync-async-pattern-flow-designer/#:~:text=To%20make%20this%20Subflow%20run%20Asynchronously%2C%20make%20sure%20that%20the,Flow%20on%20Incident%20Comment'%20Flow" target="_blank"&gt;https://servicenowguru.com/graphical-workflow/applying-sync-async-pattern-flow-designer/#:~:text=To%20make%20this%20Subflow%20run%20Asynchronously%2C%20make%20sure%20that%20the,Flow%20on%20Incident%20Comment'%20Flow&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Mar 2026 15:09:57 GMT</pubDate>
      <guid>https://www.servicenow.com/community/platform-analytics-forum/how-does-the-flow-context-relationship-is-working/m-p/3512143#M64077</guid>
      <dc:creator>Tanushree Maiti</dc:creator>
      <dc:date>2026-03-21T15:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: How does the flow context relationship is working?</title>
      <link>https://www.servicenow.com/community/platform-analytics-forum/how-does-the-flow-context-relationship-is-working/m-p/3512144#M64078</link>
      <description>&lt;P&gt;Thanks for your response&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/287542"&gt;@Tanushree Maiti&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Mar 2026 15:17:07 GMT</pubDate>
      <guid>https://www.servicenow.com/community/platform-analytics-forum/how-does-the-flow-context-relationship-is-working/m-p/3512144#M64078</guid>
      <dc:creator>SHREEDHARANM</dc:creator>
      <dc:date>2026-03-21T15:17:07Z</dc:date>
    </item>
    <item>
      <title>Re: How does the flow context relationship is working?</title>
      <link>https://www.servicenow.com/community/platform-analytics-forum/how-does-the-flow-context-relationship-is-working/m-p/3513454#M64103</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/794879"&gt;@SHREEDHARANM&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In ServiceNow, even when &lt;STRONG&gt;Wait for completion&lt;/STRONG&gt;&amp;nbsp;is false, the subflow is only asynchronous in execution, not independent in lifecycle.&lt;BR /&gt;It still runs as a child context of the parent in &lt;STRONG&gt;sys_flow_context&lt;/STRONG&gt;.&lt;BR /&gt;So both parent and subflow remain part of the same execution hierarchy.&lt;BR /&gt;When the parent flow is cancelled, the engine automatically cascades cancellation to all child contexts.&lt;BR /&gt;This includes subflows, even if they are in a &lt;STRONG&gt;waiting state&lt;/STRONG&gt;.&lt;BR /&gt;&lt;STRONG&gt;Async&lt;/STRONG&gt;&amp;nbsp;just means non-blocking, not detached.&lt;BR /&gt;To make it fully independent, you need to trigger it via FlowAPI or events, not a direct subflow call.&lt;/P&gt;&lt;P&gt;Let me know if this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you find my answer useful, please mark it as helpful and correct.&amp;nbsp;‌‌‌‌‌‌‌‌‌‌‌&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Soham Tipnis&lt;BR /&gt;ServiceNow Developer ||&amp;nbsp; Technical Consultant&lt;BR /&gt;LinkedIn:&amp;nbsp;&lt;A href="http://www.linkedin.com/in/sohamtipnis10" target="_blank"&gt;www.linkedin.com/in/sohamtipnis10&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2026 07:14:50 GMT</pubDate>
      <guid>https://www.servicenow.com/community/platform-analytics-forum/how-does-the-flow-context-relationship-is-working/m-p/3513454#M64103</guid>
      <dc:creator>SohamTipnis</dc:creator>
      <dc:date>2026-03-24T07:14:50Z</dc:date>
    </item>
  </channel>
</rss>

