Hi - I have a message box at the end of a workflow to display total elapsed time but I want to truncate the milliseconds.
TimerObj - is the variable I assigned for Start & Stop Timer. In the expression builder I used string.format(“{0:00}”,TimerObj.Elapsed.TotalMinutes.ToString).
I want to display the results like MM:SS and when the workflow runs currently it displays “0.083649005”.
@marian.platonov Success! Thank you! This seemed like such a simple formatting task that I had not considered changing the variable type. For anyone else struggling with the same, I did the following in StudioX:
Remember: change the TimeValue variable to System.Double in Properties: