Topic Thread

Expand all | Collapse all

Application running in background not foreground

  • 1.  Application running in background not foreground

    Posted 11-29-2019 11:34
    Hi,

    I'm trying to use a free application Cyberduck to upload items into our Amazon S3 bucket; its a very automate-able program with an easy interface.

    It works perfectly fine in process studio, however when i try to run from control room the process starts as a background process (not foreground) so it immediately terminates after launch as it can't see the home screen.

    Does anyone know a way to pass via the command line a method to force it to run it as a foreground process?

    Thanks

    ------------------------------
    Kieran Meakin
    ------------------------------


  • 2.  RE: Application running in background not foreground

    Posted 11-29-2019 12:06
    Hi Kieran,

    You can get the application to foreground by using navigate stage.
    1. Use a Navigate stage
    2. Select the application root element
    3. Select "Activate Application" option from drop down.


    Hope this will resolve your issue.


    ------------------------------
    Manoj Dhamrala
    ------------------------------



  • 3.  RE: Application running in background not foreground

    Posted 11-29-2019 13:44
    Hi Manoj, 

    I've tried to activate but I can't seem to select the application root with Cyberduck. Instead I need to spy the main window and activate that, but then it provides the error message:

    "ERROR: Internal : Failed to perform step 1 in Navigate Stage 'Activate' on page 'Launch' - Could not identify process owning the current foreground window"

    Any suggestions?

    ------------------------------
    Kieran Meakin
    ------------------------------



  • 4.  RE: Application running in background not foreground

    Posted 11-29-2019 14:27
    Kieran,

    Please check the object Run Mode in Initialize page. Set it to Foreground.

    After launching the Cyberduck application stage use action "Wait for Process Window" under Utility - Environment VBO. Then you can use the activate application stage.

    ------------------------------
    Manoj Dhamrala
    ------------------------------



  • 5.  RE: Application running in background not foreground

    Posted 11-29-2019 15:28
    Edited by Kieran Meakin 9 days ago

    Hi Manoj,

    None of the utility - environment actions appear to pick up Cyberduck... the application will attach, but those actions can't detect it.

    Any knowledge?

    Best regards,

    Kieran



    ------------------------------
    Kieran Meakin
    ------------------------------



  • 6.  RE: Application running in background not foreground

    Posted 11-29-2019 15:31
    Edited by Manoj Dhamrala 9 days ago
    Can you please provide the snap shot of the flow you built.

    ------------------------------
    Manoj Dhamrala
    ------------------------------