<?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: How to cancel all tasks when a workflow ends in SAS Visual Investigator? in Fraud, AML and Security Intelligence</title>
    <link>https://communities.sas.com/t5/Fraud-AML-and-Security/How-to-cancel-all-tasks-when-a-workflow-ends-in-SAS-Visual/m-p/981499#M1140</link>
    <description>&lt;P&gt;Hi Maayan,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;* When all Tasks in a Workflow are completed, the Workflow ends. If you observe any other type of behavior, please contact Tech Support. Perhaps there is a 'stuck' workflow (Script or REST Service) holding the WF open?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;* Dynamically cancelling a Task will require coding with a combination of Script and/or Service Tasks using the WF APIs. See&amp;nbsp;&lt;A href="https://developer.sas.com/rest-apis/workflows" target="_blank"&gt;https://developer.sas.com/rest-apis/workflows&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 05 Jan 2026 19:03:35 GMT</pubDate>
    <dc:creator>RickMatthews</dc:creator>
    <dc:date>2026-01-05T19:03:35Z</dc:date>
    <item>
      <title>How to cancel all tasks when a workflow ends in SAS Visual Investigator?</title>
      <link>https://communities.sas.com/t5/Fraud-AML-and-Security/How-to-cancel-all-tasks-when-a-workflow-ends-in-SAS-Visual/m-p/979989#M1132</link>
      <description>Hello, I’m working with workflows in SAS Visual Investigator and would like to know if there is an efficient or recommended way to achieve the following: When a workflow reaches its End Event and completes, is it possible to automatically cancel all open tasks associated with that workflow so they no longer appear for users? Additionally, is there a way to define a dynamic condition for a task so that it is canceled if the value of a specific variable changes (for example, a Boolean variable that determines whether the task should remain active)? I’d appreciate any insights on whether there is a built-in solution for this or a best practice. Thank you!</description>
      <pubDate>Thu, 04 Dec 2025 06:47:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Fraud-AML-and-Security/How-to-cancel-all-tasks-when-a-workflow-ends-in-SAS-Visual/m-p/979989#M1132</guid>
      <dc:creator>Maayan_Oscar</dc:creator>
      <dc:date>2025-12-04T06:47:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to cancel all tasks when a workflow ends in SAS Visual Investigator?</title>
      <link>https://communities.sas.com/t5/Fraud-AML-and-Security/How-to-cancel-all-tasks-when-a-workflow-ends-in-SAS-Visual/m-p/981488#M1137</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please could you share more detail about the workflow configuration and how you have open tasks remaining when the workflow has reached it's end event?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm not sure if there is a way to programmatically close the tasks (perhaps via a script or service task) but an admin can cancel actively running tasks via the workflow section of the VI Admin application.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you could share more detail about the workflow that would be great.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Susan&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jan 2026 17:21:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Fraud-AML-and-Security/How-to-cancel-all-tasks-when-a-workflow-ends-in-SAS-Visual/m-p/981488#M1137</guid>
      <dc:creator>susantrueman</dc:creator>
      <dc:date>2026-01-05T17:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to cancel all tasks when a workflow ends in SAS Visual Investigator?</title>
      <link>https://communities.sas.com/t5/Fraud-AML-and-Security/How-to-cancel-all-tasks-when-a-workflow-ends-in-SAS-Visual/m-p/981499#M1140</link>
      <description>&lt;P&gt;Hi Maayan,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;* When all Tasks in a Workflow are completed, the Workflow ends. If you observe any other type of behavior, please contact Tech Support. Perhaps there is a 'stuck' workflow (Script or REST Service) holding the WF open?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;* Dynamically cancelling a Task will require coding with a combination of Script and/or Service Tasks using the WF APIs. See&amp;nbsp;&lt;A href="https://developer.sas.com/rest-apis/workflows" target="_blank"&gt;https://developer.sas.com/rest-apis/workflows&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jan 2026 19:03:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Fraud-AML-and-Security/How-to-cancel-all-tasks-when-a-workflow-ends-in-SAS-Visual/m-p/981499#M1140</guid>
      <dc:creator>RickMatthews</dc:creator>
      <dc:date>2026-01-05T19:03:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to cancel all tasks when a workflow ends in SAS Visual Investigator?</title>
      <link>https://communities.sas.com/t5/Fraud-AML-and-Security/How-to-cancel-all-tasks-when-a-workflow-ends-in-SAS-Visual/m-p/981672#M1144</link>
      <description>&lt;P&gt;thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;I used this API to complete the tasks before the workflow ended.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.sas.com/rest-apis/workflows/updateCompleteWorkflowTask" target="_blank"&gt;updateCompleteWorkflowTask | SAS Developer Portal&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jan 2026 06:22:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Fraud-AML-and-Security/How-to-cancel-all-tasks-when-a-workflow-ends-in-SAS-Visual/m-p/981672#M1144</guid>
      <dc:creator>Maayan_Oscar</dc:creator>
      <dc:date>2026-01-08T06:22:26Z</dc:date>
    </item>
  </channel>
</rss>

