Customer Portal

Access to component results

Comments 3

  • Avatar
    admin
    0
    Comment actions Permalink
    Hi sances,

    This information is not available during graph run. You can workaround this by duplicating records from input/output edge by SimpleCopy and count them by Aggregate component. Then Aggregate result can be used in later phases of graph.

    Other possibility (within single component) is to create global variable (defined above first CTL2 function).

    I don't know problem you are solving, but if it is transformation M:N then maybe http://doc.cloveretl.com/documentation/ ... ollup.html may be helpful.
  • Avatar
    sances
    0
    Comment actions Permalink
    Thanks.

    So, is it possible to access these results in a subsequent graph? How does the server retain them? Can I not obtain these results via web service?
  • Avatar
    admin
    0
    Comment actions Permalink
    Answer highly depends on version of Server you use.

    For 3.3+: In case of JobFlow containing 2 subsequent ExecuteGraph (http://doc.cloveretl.com/documentation/ ... graph.html) components passing records count from first to second; information about passed records can be obtained in output mapping of first ExecuteGraph and passed by input mapping of second. In case graph is executing subsequent graph from within itself; you can obtain passed records counts by methods mentioned in last mail and pass them via input mapping.

    For older: you can call "graph_status" or "executions_history" by http://doc.cloveretl.com/documentation/ ... p-api.html from subsequent graph, but you need to know runID. This is stored in parameter "RUN_ID" of parent graph and need to be passed to child/subsequent graph which uses HttpConnector for getting data.

    I hope this helps.

Please sign in to leave a comment.