How to get Window name or title in Forms service Follow
When you run Forms service, you might want to get the name/title of the last window you were in.
In order to get it, you should add either of the following output parameters:
Once the service will run, you'll get the last window name/title.
Edit Service - on Output Parameters section -> click on "Add" parameter button
On the 'Name' field - add either WINDOW_NAME or WINDOW_TITLE, and click 'Save'
Update the Service, and Run it.
You will see in the response the window name/title.