Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Invoke specific version of long lived process using ServiceClientfactory

Avatar

Level 1

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.ht...

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

4 Replies

Avatar

Employee Advisor

@preetprabu  Check the wsdl url from adminui for the respective process

Avatar

Level 1
The wsdl url ins adminui always points to the latest deployed version. It does not take older version. Does that mean we cannot invoke the older version of the process?

Avatar

Employee Advisor

@preetprabu  Why would you like to invoke a previous version?