Skip to main content

I am trying to deploy worklfow from one environment to other in 5.2. Some workflow deployed successfully but some workflow giving error as below:-

Fail Process WorkflowName
C:ProgramDataTempaf213cad2be743e2ab0cd74cb499b41cDeployment7fc6107757e9481bbb1c12ceba31d61e.msbuild(119,5) : error : SmartObject Server Exception: Service could not be extended. Service Guid 'ef7310e5-b14f-464d-b0f3-a37d6c367620' Service Object 'CAPA Approval Process Instances'. SmartObject: [WorkflowName Process Instances] System.Reflection.TargetInvocationException: C:ProgramDataTempaf213cad2be743e2ab0cd74cb499b41cDeployment7fc6107757e9481bbb1c12ceba31d61e.msbuild(119,5) : error : SmartObject Server Exception: Service could not be extended. Service Guid 'ef7310e5-b14f-464d-b0f3-a37d6c367620' Service Object 'WorkflowName Process Instances'. SmartObject: [WorkflowName Process Instances] ---> System.Exception:

 

at SourceCode.Runtime.Services.Workflow.IsolatedDeploymentController.HandleDeploymentResults(DeploymentResults results, String error)
at SourceCode.Runtime.Services.Workflow.IsolatedDeploymentController.DeployWorker(Object param)
--- End of inner exception stack trace ---
at SourceCode.Runtime.Services.Workflow.IsolatedDeploymentController.Deploy(Stringg] parts, String kprojDir, String kprojName, String kprxDir, String kprxName, String targetFramework, IEnumerable`1 refs, String procFolder)
at SourceCode.Runtime.Services.Workflow.IsolatedDeploymentController.IsolatedDeploy(Action`1 data, ComplexType ct, IEnumerable`1 refs, ISecurityManager securityManager, IServiceMarshalling serviceMarshalling, IEnvironment environment)
at SourceCode.Runtime.Services.Workflow.WorkflowDeploymentService.Deploy(IDeploymentContext context)
at SourceCode.Deployment.Runtime.ServerSession.DoDeployment(Boolean deploymentLoggingEnabled, ISessionManager sessionManager, Int32 sessionId, IComparisonResults comparisonResults, DeploymentPlan deploymentPlan, Dictionary`2 collators, Boolean haltOnError, Boolean deploymentInProgress, IDeployOptions deployOptions, Boolean noAnalyze, IServiceProvider serviceProvider, Action`1 expireItemCache, Action`2 setDeploymentProgressCount, Action incrementDeploymentProgress, Stopwatch timer) 00:00:43.5555350

Hi bhushanborole,

 

I believe 5.2 does not support deployment of Visual Studio/K2 Studio workflows with Workflow reporting SmartObjects, which could be reason this error appears.
Turning off the workflow reporting SmartObjects should allow the deployment to work.

 

Regards,
Sello


Reply