How to print the execution start time and execution end time of an respective workflow
Hi @Ruchitha_C ,
You could use a
Log Message Activity for this purpose with value as below :
"Start Time : "+Now.ToString
This should be placed at the beginning of the workflow. Similarly, you could place a
Log Message at the end of the Workflow marking the End Time.
However, there are frameworks where this should already be implemented.
Let us know if this is not the solution you’re looking for.
@Ruchitha_C Just want to clarify do you want to know the execution time for workflow or for a queue item. if it is for workflow, you can take below assign activity and keep at the starting of your workflow
Variable of type string Start time = Now.ToString("MM/dd/yyyy HH_mm_ss tt)
Take another assign activity and keep at the end of your workflow
Variable of type string End time = Now.ToString("MM/dd/yyyy HH_mm_ss tt)
Now, you can use these variables (Start time, End time) to print wherever you want
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.