Welcome Dialog

Welcome to the Community!

We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.


Locked

Invoke specific version of long lived process using ServiceClientfactory

New Here ,
Dec 17, 2020 Dec 17, 2020

Copy link to clipboard

Copied

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

TOPICS
How to

Views

71

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 17, 2020 Dec 17, 2020

Copy link to clipboard

Copied

LATEST

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

 

https://experienceleaguecommunities.adobe.com/

 

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines