How to show native call execution time?
I had created a process flow in which I am using Native call activity which executes .sh file. In that file I have a bcp export command and the command runs for around 7 mins, but the Adeptia Process Flow logs only show 253 milliseconds.
How can I show the actual execution time of the script?
Since the script is being executed outside of Adeptia, the execution time of the process flow reflects how long it takes Adeptia to call that script. If you would like to have Adeptia wait for the script to successfully execute, you would have to design the process flow in such a way that Adeptia can identify that the script has been completed (a flag).
For example, if the script is generating an output file then after the native call activity in the process flow you can have a file polling activity that checks if the file has been created. Then the process flow will end once the file exists in the file polling activity source directory.0
Post is closed for comments.