[Core] Updated Delete API to check workflow run status

Updated Delete api to check workflow run status before sending error when active workflow runs present.

Merge request reports

Loading