I am executing BusinessProcessLaunch from within a global change and it is working well. Now I need to execute this same function from within a console application. I am getting hung up on the RequestContext that needs to be passed into BusinessProcessLaunch. Has anyone been able to do this from outside of the CRM?
Dim oBusinessProcessLaunchRequest As BusinessProcessLaunchRequest = New BusinessProcessLaunchRequest()
oBusinessProcessLaunchRequest.BusinessProcessID = gBusinessProcessID
oBusinessProcessLaunchRequest.ParameterSetID = gFileID
oBusinessProcessLaunchRequest.ClientAppInfo = Me.RequestContext.ClientAppInfo
Dim oBusinessProcessLaunchReply As BusinessProcessLaunchReply = ServiceMethods.BusinessProcessLaunch(oBusinessProcessLaunchRequest, Me.RequestContext)