IT Process Automation

 View Only
  • 1.  Start Process using Powershell

    Posted Oct 27, 2017 03:16 AM

    Hi - I need to start a process remotely using powershell and return data which is stored (as a valueMap) within the process instance's dataset.

     

    I can successfully start and monitor a process's status by creating a New-WebServiceProxy against http://< host>/itpam/soap?wsdl using flow and execflow methods, however I'm unable to find the method that returns the actual process data.

     

    Much appreciated.

     

    #powershell #soapapi #restapi



  • 2.  Re: Start Process using Powershell
    Best Answer

    Posted Oct 27, 2017 12:10 PM

    Hi!

    Cool example, I have never called pam using powershell.

    The method you want is this one

    getProcessStatus Method - CA Process Automation - 4.3 - CA Technologies Documentation 

    make sure to use the flag check, as it is stated on the docops.

     

    Have fun!



  • 3.  Re: Start Process using Powershell

    Posted Nov 02, 2017 05:16 AM

    Many Thanks Marcel. This works perfectly!!!

     

    I did find that valueMap arrays are not returned, only string variables which threw me initially.

     

    Much Appreciated!