Get the filename of the video when the Start Recording activity is recording and an exception occurs

I am trying the get the filename of the recording, but if the Start Recording activity is in place and before arrive to the Stop Recording activity any exception is found, automatically the video is created and I cannot find any way to get the name of the video created.

There are a way to achieve this? should not be better if the Start Recording activity receives the name of the video to create or return the filename of the video created?

Note:
I’m starting the recording in one workflow and trying the get the filename in the catch section of the try catch in a different workflow.

Thanks

Like I though and commented in the note. The issue was because I was trying to stop the recording and get the name of the file created in a different workflow where the Start Recording activity exist.

I solved it, adding the Stop Recording activity in the same workflow of Start Recording activity.

Thanks

That is not possible.
Start and stop recording from another workflow, and call it from inside a try catch activity
or setup the the recorder pluging ( under run extension ) to auto start/stop recording and only save failed workflows.

1 Like

Thank you Allan. Yes I though it wasn’t possible, I was trying to do it in the wrong way lol.

I already solved it locating them in the same workflow and rethrowing the exception in the catch section to be handled by the corresponding catch section in other parent workflow.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.