<?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 Action in a subflow not executing, but status showing as 'Completed' in Developer forum</title>
    <link>https://www.servicenow.com/community/developer-forum/action-in-a-subflow-not-executing-but-status-showing-as/m-p/3378999#M1227827</link>
    <description>&lt;P&gt;Hello devs,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have come across a strange issue in flow designer. So, I have created subflow, and there is a custom action being called in the subflow, for each of the records being looked up. Suppose there are 3 records in the lookup action, the subflow will be executed 3 times.&lt;/P&gt;&lt;P&gt;I am executing the flow with a script. Even though the flow is executing, and the look up record action is also returning 1 record (as expected), the action is not executing at all.&lt;/P&gt;&lt;P&gt;One of the reasons that I could think of, is the error that I am getting when I am loading the steps of the subflow execution (please see the screenshot attached).&lt;/P&gt;&lt;P&gt;For context, I am looking up attachment records with Sys_Ids.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PS-&lt;/STRONG&gt; Also, when I am running a test execution for the subflow, the result is the same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is turning out to be a major blocker, so any help would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Fri, 12 Sep 2025 14:08:58 GMT</pubDate>
    <dc:creator>sd2097</dc:creator>
    <dc:date>2025-09-12T14:08:58Z</dc:date>
    <item>
      <title>Action in a subflow not executing, but status showing as 'Completed'</title>
      <link>https://www.servicenow.com/community/developer-forum/action-in-a-subflow-not-executing-but-status-showing-as/m-p/3378999#M1227827</link>
      <description>&lt;P&gt;Hello devs,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have come across a strange issue in flow designer. So, I have created subflow, and there is a custom action being called in the subflow, for each of the records being looked up. Suppose there are 3 records in the lookup action, the subflow will be executed 3 times.&lt;/P&gt;&lt;P&gt;I am executing the flow with a script. Even though the flow is executing, and the look up record action is also returning 1 record (as expected), the action is not executing at all.&lt;/P&gt;&lt;P&gt;One of the reasons that I could think of, is the error that I am getting when I am loading the steps of the subflow execution (please see the screenshot attached).&lt;/P&gt;&lt;P&gt;For context, I am looking up attachment records with Sys_Ids.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PS-&lt;/STRONG&gt; Also, when I am running a test execution for the subflow, the result is the same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is turning out to be a major blocker, so any help would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 12 Sep 2025 14:08:58 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/action-in-a-subflow-not-executing-but-status-showing-as/m-p/3378999#M1227827</guid>
      <dc:creator>sd2097</dc:creator>
      <dc:date>2025-09-12T14:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: Action in a subflow not executing, but status showing as 'Completed'</title>
      <link>https://www.servicenow.com/community/developer-forum/action-in-a-subflow-not-executing-but-status-showing-as/m-p/3379009#M1227828</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/25548"&gt;@sd2097&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;it clearly says some access issue.&lt;/P&gt;
&lt;P&gt;Ensure &lt;STRONG&gt;Run as -&amp;gt; System&lt;/STRONG&gt; user for the custom flow action and then test&lt;/P&gt;
&lt;P&gt;If my response helped please mark it correct and close the thread so that it benefits future readers.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Sep 2025 14:18:16 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/action-in-a-subflow-not-executing-but-status-showing-as/m-p/3379009#M1227828</guid>
      <dc:creator>Ankur Bawiskar</dc:creator>
      <dc:date>2025-09-12T14:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: Action in a subflow not executing, but status showing as 'Completed'</title>
      <link>https://www.servicenow.com/community/developer-forum/action-in-a-subflow-not-executing-but-status-showing-as/m-p/3379035#M1227834</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/25548"&gt;@sd2097&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;This usually isn’t your flow logic that’s broken, but &lt;STRONG&gt;permissions / scope issues&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;To fix this, you can try the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Check sys_attachements table ACLs&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Make sure the user/role running the flow (e.g., system, flow_operator, or your integration user) has &lt;STRONG&gt;read&lt;/STRONG&gt; access.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Check App Scope restrictions&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;If your custom action is in a scoped app, ServiceNow may block access to system tables like sys_attachment.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Go to &lt;STRONG&gt;System Applications &amp;gt; Application Cross Scope Access&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Look for entries allowing Read on sys_attachment. If missing, add one.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Check the Flow runtime user&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Make sure &lt;STRONG&gt;Run as -&amp;gt; System&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;user for the custom flow action and then test&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Thanks &amp;amp; Regards,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Muhammad Iftikhar&lt;/STRONG&gt;&lt;BR /&gt;&lt;I&gt;If my response helped, please mark it as the accepted solution so others can benefit as well.&lt;/I&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Sep 2025 14:30:18 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/action-in-a-subflow-not-executing-but-status-showing-as/m-p/3379035#M1227834</guid>
      <dc:creator>miftikhar20</dc:creator>
      <dc:date>2025-09-12T14:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: Action in a subflow not executing, but status showing as 'Completed'</title>
      <link>https://www.servicenow.com/community/developer-forum/action-in-a-subflow-not-executing-but-status-showing-as/m-p/3379077#M1227842</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/25548"&gt;@sd2097&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems like the issue might be related to permission restrictions or missing inputs in the flow. Please check if the user has necessary rights to access the records, and verify all required fields correctly passes to the custom action.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pruthvesh&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;&lt;SPAN&gt;&lt;I&gt;If my response helped, please mark it as the accepted solution so others can benefit as well.&lt;/I&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 12 Sep 2025 14:56:26 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/action-in-a-subflow-not-executing-but-status-showing-as/m-p/3379077#M1227842</guid>
      <dc:creator>PruthveshV</dc:creator>
      <dc:date>2025-09-12T14:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: Action in a subflow not executing, but status showing as 'Completed'</title>
      <link>https://www.servicenow.com/community/developer-forum/action-in-a-subflow-not-executing-but-status-showing-as/m-p/3379092#M1227846</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/25548"&gt;@sd2097&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are running the flow as 'User who initiated the session' make sure the user has necessary ACLs and try to change the flow to run as system and try it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are already running the flow as System and getting the error, try below knowledge article&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.servicenow.com/kb?id=kb_article_view&amp;amp;sysparm_article=KB0856507" target="_blank" rel="noopener"&gt;https://support.servicenow.com/kb?id=kb_article_view&amp;amp;sysparm_article=KB0856507&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this helped to answer your query, please mark it helpful &amp;amp; accept the solution.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bhuvan&lt;/P&gt;</description>
      <pubDate>Fri, 12 Sep 2025 15:06:14 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/action-in-a-subflow-not-executing-but-status-showing-as/m-p/3379092#M1227846</guid>
      <dc:creator>Bhuvan</dc:creator>
      <dc:date>2025-09-12T15:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: Action in a subflow not executing, but status showing as 'Completed'</title>
      <link>https://www.servicenow.com/community/developer-forum/action-in-a-subflow-not-executing-but-status-showing-as/m-p/3379110#M1227851</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/25548"&gt;@sd2097&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for marking my reply as helpful.&lt;/P&gt;&lt;P&gt;If my response helped, please mark it as the accepted solution so others can benefit as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks &amp;amp; Regards,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Muhammad Iftikhar&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Sep 2025 15:17:17 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/action-in-a-subflow-not-executing-but-status-showing-as/m-p/3379110#M1227851</guid>
      <dc:creator>miftikhar20</dc:creator>
      <dc:date>2025-09-12T15:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: Action in a subflow not executing, but status showing as 'Completed'</title>
      <link>https://www.servicenow.com/community/developer-forum/action-in-a-subflow-not-executing-but-status-showing-as/m-p/3379123#M1227854</link>
      <description>&lt;P&gt;Hi Ankur,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your response. I did try with both 'User who initiates session', and 'System User', but the issue is still the same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 12 Sep 2025 15:23:29 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/action-in-a-subflow-not-executing-but-status-showing-as/m-p/3379123#M1227854</guid>
      <dc:creator>sd2097</dc:creator>
      <dc:date>2025-09-12T15:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: Action in a subflow not executing, but status showing as 'Completed'</title>
      <link>https://www.servicenow.com/community/developer-forum/action-in-a-subflow-not-executing-but-status-showing-as/m-p/3379920#M1228020</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/25548"&gt;@sd2097&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for marking the post as helpful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If my response helped to guide you or answer your query, please accept the solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bhuvan&lt;/P&gt;</description>
      <pubDate>Sun, 14 Sep 2025 13:20:47 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/action-in-a-subflow-not-executing-but-status-showing-as/m-p/3379920#M1228020</guid>
      <dc:creator>Bhuvan</dc:creator>
      <dc:date>2025-09-14T13:20:47Z</dc:date>
    </item>
  </channel>
</rss>

