Skip to main content

The following imports:

import commvault.cte.workflow.activities.HttpClient;
import commvault.cte.workflow.types.WebRequest;
import commvault.cte.workflow.types.NameValue;
import commvault.cte.workflow.types.WebMethod;

Produces the following:

Script1.groovy: 8: unable to resolve class commvault.cte.workflow.types.WebRequest
@ line 8, column 1.
import commvault.cte.workflow.types.WebRequest;
^

Script1.groovy: 9: unable to resolve class commvault.cte.workflow.types.NameValue
@ line 9, column 1.
import commvault.cte.workflow.types.NameValue;
^

Script1.groovy: 10: unable to resolve class commvault.cte.workflow.types.WebMethod
@ line 10, column 1.
import commvault.cte.workflow.types.WebMethod;
^

 

Hi @christopherlecky 

Which version are you using?

Which Workflow and version is this?

Best Regards,

Sebastien


11.28,

 

Home cooked workflow. I just need to resolve those methods.


Ended up replacing it with basic java httpclient.

 

import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;

 


Reply