Hi,
You can create simple code action which returns the process you start ID for later usage in attach action (there's an option to attach by process ID):
Input parameters:
Process Name (text)
Arguments (text)
Output:
Process Id (number)
Code (adjust if you need):
Dim myProcess As System.Diagnostics.Process
myProcess = new Process()
myProcess.StartInfo.FileName = Process_Name
If Arguments<>"" Then
myProcess.StartInfo.Arguments = Arguments
End If
myProcess.Start
myProcess.WaitForInputIdle()
Process_Id = myProcess.ID
It might require
System.Diagnostics
In the namespace imports in initialize page object properties
------------------------------
Mindaugas Breskus
Software engineer
Swedbank
Europe/Vilnius
------------------------------
Original Message:
Sent: 01-19-2021 05:44
From: John Carter
Subject: Runtime Resources with multiple Run time resources
I think you'd have to make sure the target window was in focus for GSK to work, otherwise the keys could hit the wrong window. Think of GSK as typing on the keyboard with your eyes shut - if the cursor is in the right place it will work, but if the cursor is elsewhere, your typing will go astray.
------------------------------
John Carter
Professional Services
Blue Prism
Original Message:
Sent: 01-18-2021 16:25
From: Harish M
Subject: Runtime Resources with multiple Run time resources
Hi, I was reading the infrastructure reference guide version 6.3.
One of the section "Runtime Resources with multiple Runtime Resources" it was mentioned:
"Each process that runs simultaneously on a single Runtime Resource must be able to successfully identify the application
(s) that were launched for its use. (E.g. if there are 5 processes each using Internet Explorer, each process must be able to
successfully identify which is the appropriate one to use)."
I know we can identify the Process id or child index in Launch action but does it work if we use global send keys ?
------------------------------
Harish
RPA Developer
------------------------------