I actually think that the selectors should be slightly different, assuming that the text "DC4Router" could be dynamic.
You might need to use two separate Get details of element on web page actions with two selectors:
- To get the text "DC4Router": div[Class="service-name"] > span:eq(0)
- To get the Id: div[Class="service-name"] > span[Class="document-id"]
-------------------------------------------------------------------------
If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.
I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.