1

I'm trying to run SP2010 workflow in SP2013 portal and stuck on the nullable interop service...

The following powershell script returns $interopService.ServerObjectIsNull == false, but when it's run in my other test environment it always returns true. Any ideas on the causes and what can I check?

$spContext = new-object Microsoft.SharePoint.Client.ClientContext("http://portal")
$web = $spContext.Web
$spContext.Load($web)
$spContext.ExecuteQuery()
$wfMngr = New-Object Microsoft.SharePoint.Client.WorkflowServices.WorkflowServicesManager($spcontext, $web)
$interopService  = $wfMngr.GetWorkflowInteropService()
$spcontext.ExecuteQuery()
$interopService.ServerObjectIsNull
  • Can it be due to Workflow Manager is not installed in my portal? – mdi Sep 25 '15 at 0:06
  • Ok, resolved the problem by installing Workflow Manager. – mdi Oct 6 '15 at 4:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.