Customer Portal

Select table count into a parameter

Comments 1

  • Avatar
    hparsa
    0
    Comment actions Permalink
    Hi,

    You cannot dynamically assign values to parameters in a graph unless you pass it from a jobflow that calls your graph. Instead you can define a dictionary. So get the count and in an immediate Reformat component assign the count value to a dictionary. Remember you can use the value of that dictionary only in the same (if connected by an edge after assignment) or later phases.

    Data input table:

    select $COUNT:=count(*) from table1 where condition1='A'

    Reformat:

    dictionary.COUNT=$in.0.COUNT;

Please sign in to leave a comment.