Customer Portal

How to store value when subsequent file are process from same graph

Comments 1

  • Avatar
    Vladimir Barton
    Comment actions Permalink

    Hi Kavi,

    A short answer to your question is that it depends on the way how you orchestrate your jobs. The best practice is to process a single file at a time by a child graph and propagate the dictionary value from that child graph to the parent jobflow. As for the former part of this flow, SetJobOutput is generally a good choice in the child graph and the CTL code could be as simple as this:

    $out.0.myDictionary = $in.0.extractedValue;

    When it comes to the latter part, you might want to take advantage of the Output Mapping configuration in the ExecuteGraph component by using code similar to this:

    $out.0.myFieldInJobflow = $in.2.myDictionary;


Please sign in to leave a comment.