consider migrating the workflow id parsing logic to some shared util module