Fix Call to Integration Procedure Error from LWC

This fix applicable only if you are running the Omnistudio managed package runtime. If you are calling an Integration Procedure from an LWC component and you hit this error.

Can not get instance of Class vlocity_cmt.IntegrationProcedureService.

This could indicate you didn’t configure the right namespace in the LWC component file.

  • First check the namespace.
<runtimeNamespace>vlocity_cmt</runtimeNamespace>
  • Next, make sure the input param is available on the call.
let params = {
			input: input,
			sClassName: 'vlocity_cmt.IntegrationProcedureService',
			sMethodName: 'EQT_GetConfigTimebands',
			options: '{}'
		};

That should be it.

Leave a Reply

Your email address will not be published. Required fields are marked *