Skip to main content
Participant
December 17, 2020
Question

Invoke specific version of long lived process using ServiceClientfactory

  • December 17, 2020
  • 1 reply
  • 182 views

Hi, We need to invoke a specific version of long lived process using the ServiceClientFactory class of livecycle api. I had follwed the below post which shows how to invoke the latest version available.

https://help.adobe.com/en_US/livecycle/11.0/ProgramLC/WS624e3cba99b79e12e69a9941333732bac8-7dc1.2.html

But due to business needs we would like to invoke a specific version. 

We tried foloowing approaches but it did not work.

Approach 1: 

InvocationRequest lcRequest =  myFactory.createInvocationRequest( 
                "FirstAppSolution/1.1/PreLoanProcess", //Specify the long-lived process name 
                    "invoke",           //Specify the operation name     
                    params,               //Specify input values 
                    false); 

Approach 2: 

InvocationRequest lcRequest =  myFactory.createInvocationRequest( 
                "FirstAppSolution/PreLoanProcess:1.1", //Specify the long-lived process name 
                    "invoke",           //Specify the operation name     
                    params,               //Specify input values 
                    false); 

 In both above approaches i am specifically trying to invoke version 1.1 but i am getting an error saying service not found. Kindly help

This topic has been closed for replies.

1 reply

Just Shoot Me
Legend
December 17, 2020

You are posting in the wrong forum system. You need to be on this forum system.

 

https://experienceleaguecommunities.adobe.com/