# Workflow Browser Monitor

**URL:** <https://community.dynatrace.com/t/workflow-browser-monitor/42962>\
**Category:** Automations\
**Tags:** dql, workflows\
**Created:** [November 30, 2023, 7:09pm UTC](https://community.dynatrace.com/t/workflow-browser-monitor/42962 "2023-11-30T19:09:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![RPbiaggio](https://avatars.discourse-cdn.com/v4/letter/r/ad7895/32.png) [@RPbiaggio](https://community.dynatrace.com/u/RPbiaggio)\
**Post date:** [November 30, 2023, 7:09pm UTC](https://community.dynatrace.com/t/workflow-browser-monitor/42962/1 "2023-11-30T19:09:00Z")

</div>

I am recording some script in browser monitor mode. These scripts cannot run at the same time, as they do not accept multiple sessions. The only way I saw to solve the case was to create a workflow that, at each step, runs the browser monitor on demand, via API, but to do this, after executing the trigger, I need to move to the next step only after execution of the script has been completed, that is, a script is executed after the previous one has been completed. It is possible? If so, would anyone have an example of how to do this in the workflow?

---

<div class="post-metadata">

**Author:** ![RPbiaggio](https://avatars.discourse-cdn.com/v4/letter/r/ad7895/32.png) [@RPbiaggio](https://community.dynatrace.com/u/RPbiaggio)\
**Post date:** [December 4, 2023, 1:45pm UTC](https://community.dynatrace.com/t/workflow-browser-monitor/42962/2 "2023-12-04T13:45:25Z")

</div>

I solved the case by creating a javascript step that runs the browser on demand and after that, it queries the API, getting the execution status until the return is “EXECUTED”.
