Hello,
hope someone can help me with this point.
I have a json wich has been splitted into 4 fragments.
For every fragment an EvaluateJsonPath is grabbing some attributes from it.
Next, for every fragment, i need to fetch a file from local folder and do an UpdateRecord or QueryRecord(Update Statement) with attribute values contained in every fragment and retrieved by EvaluateJsonPath.
So based on my understanding, and sequentially for every fragment, i should:
1 - fetch the local file
2 - UpdateRecord or QueryRecord by updating fields values with fragment attribue
3 - Save file into disk
and repeat(loop) each step for every fragment.
However i think this is wrong cause the next fragment could fetch the local file before the previous one is finished(saved to disk updated)
How can i achieve this? Which is the best way to sequentially loop over every fragments and do some stuff?
Many thanks for your help.
appreciate