<?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 Reading and Writing to Field in Internal Child Entity Table using SAS VI Workflow Task/Service in Fraud, AML and Security Intelligence</title>
    <link>https://communities.sas.com/t5/Fraud-AML-and-Security/Reading-and-Writing-to-Field-in-Internal-Child-Entity-Table/m-p/879853#M914</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;To provide some context: I have a ‘Case’ internal parent entity, and each case, I can be investigating multiple ‘Stores’. As such, I have created a child entity called ‘Store’. In my ‘Store’ internal child entity table, I have the following fields:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1. StoreName&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. StoreStatus &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3. ClosureDate &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;4. ErrorMessage&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;in my workflow, I am currently trying to create a task that compares ‘ClosureDate’ with today’s date. If ‘ClosureDate’ is earlier than today, then 'ClosureDate' should become NULL and 'ErrorMessage' should be 'Your date should not be later than today'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;May I know what is the best approach to do this? Using REST service or write a Script Task? Could I also have a detailed guide on how to go about doing this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you all!&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jun 2023 08:33:51 GMT</pubDate>
    <dc:creator>qq77</dc:creator>
    <dc:date>2023-06-09T08:33:51Z</dc:date>
    <item>
      <title>Reading and Writing to Field in Internal Child Entity Table using SAS VI Workflow Task/Service</title>
      <link>https://communities.sas.com/t5/Fraud-AML-and-Security/Reading-and-Writing-to-Field-in-Internal-Child-Entity-Table/m-p/879853#M914</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;To provide some context: I have a ‘Case’ internal parent entity, and each case, I can be investigating multiple ‘Stores’. As such, I have created a child entity called ‘Store’. In my ‘Store’ internal child entity table, I have the following fields:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1. StoreName&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. StoreStatus &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3. ClosureDate &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;4. ErrorMessage&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;in my workflow, I am currently trying to create a task that compares ‘ClosureDate’ with today’s date. If ‘ClosureDate’ is earlier than today, then 'ClosureDate' should become NULL and 'ErrorMessage' should be 'Your date should not be later than today'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;May I know what is the best approach to do this? Using REST service or write a Script Task? Could I also have a detailed guide on how to go about doing this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you all!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 08:33:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Fraud-AML-and-Security/Reading-and-Writing-to-Field-in-Internal-Child-Entity-Table/m-p/879853#M914</guid>
      <dc:creator>qq77</dc:creator>
      <dc:date>2023-06-09T08:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: Reading and Writing to Field in Internal Child Entity Table using SAS VI Workflow Task/Service</title>
      <link>https://communities.sas.com/t5/Fraud-AML-and-Security/Reading-and-Writing-to-Field-in-Internal-Child-Entity-Table/m-p/881463#M919</link>
      <description>&lt;P&gt;This is what I imagine you are going for from your description. Your use case requires a mix of Rest calls and script tasks. One note, however, is that this check will only execute once per workflow run per object, and will not serve as a persistant validation for the date fields of child objects.&lt;/P&gt;&lt;P&gt;An ideal use case for this design is if all the child objects are created, then this workflow is run, correcting all the invalid fields.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alkrue_0-1687206336432.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/85159i4BD579D9306D9B35/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alkrue_0-1687206336432.png" alt="alkrue_0-1687206336432.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2023 20:33:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Fraud-AML-and-Security/Reading-and-Writing-to-Field-in-Internal-Child-Entity-Table/m-p/881463#M919</guid>
      <dc:creator>alkrue</dc:creator>
      <dc:date>2023-06-19T20:33:57Z</dc:date>
    </item>
  </channel>
</rss>

