Data360 Analyze

 View Only
  • 1.  Restrict the Node

    Posted 11-30-2021 07:00

    Hi,

    I have used one transform Node with 2 outputs .. true & False .. and i have the further logic connected to True and False Cases.suppose if Transform node run with 977 record then 974 record comes in True cases and 3 in False Cases . i want that when the preceding node logic connected to False outputs run then in that case the Node logic connected to True should not run .

     

    Attached a Sample screen shot..

     

    Attached files

    Support_Question.png

     



  • 2.  RE: Restrict the Node

    Employee
    Posted 11-30-2021 08:53

    Hi Kumar,

    Has the team attempted to pre-screen your data with a "transform" node first?

    Currently the logic appears to filter for a value. If that value is found then it is assigned to a "true" bucket ( everything else is placed within the "false" bucket ).

    If feasible, you can add python code to a separate "transform" node ( prior to your current logic ). The python code will be simply checking if any record produced the "false" flag, and if so it will be asked to not send an output.

    This would prevent data from being sent, unless only "true" values are found.

    If I missed the mark with understanding your requirements, please elaborate so we can review further.

    Matthew Kennedy



  • 3.  RE: Restrict the Node

    Posted 11-30-2021 22:20

    Hi Matthew,

    in My case , i have one excel Node with some records, I need to do one field(Date) validation which length should be equal to 8 (YYYYMMDD) format.

    so i have connected transform Node to the excel Node to filter out the date data which is equal to 8 and doesn't equal to 8.if doesn't equal to 8 ,i have connected meta check to check if any records falls where date <>8 , if yes, follow the logic further  ..

    at the same time the logic connected to where date =8 shouldn't run further.. means at a time only one should run. either true or False . not Both .. if any record found out of 100 where date <>8 only false can run which is running through Meta check but at the same time i am not able to restrict the logic connected for rest 99 records where date =8 .

    please find the screen hot attached , if excel node & email node connected to metacheck runs at that time another transform ("Decimal Precision") shouldn't run. 

     

    Attached files

    Support_Question.png

     



  • 4.  RE: Restrict the Node

    Employee
    Posted 12-01-2021 09:41

    Case 1: There are no records at the lower output of your Transform (Superseded) node. This is equivalent to this example where only Path A is executed.

    Case 2: There is at least one record at the second output of your Transform (Superseded) node,

    This is equivalent to this example where only Path B is executed.

    This is achieved by configuring the Check Metadata node with the following and creating a Run Dependency for the first node in Path A to wait for completed run by the Meta Check node.