Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/collab365_296/public/wp-includes/functions.php on line 7025

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /www/collab365_296/public/wp-includes/functions.php on line 2162

Deprecated: Hook imagify_allow_picture_tags_for_webp is deprecated since version 2.2! Use imagify_allow_picture_tags_for_nextgen instead. in /www/collab365_296/public/wp-includes/functions.php on line 5758
A list of SharePoint 2013 Workflow Manager issues and fixes - Collab365
Deprecated: strstr(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/collab365_296/public/wp-includes/functions.php on line 1145

Deprecated: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/collab365_296/public/wp-includes/functions.php on line 1152

Deprecated: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/collab365_296/public/wp-includes/functions.php on line 1155

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/collab365_296/public/wp-includes/functions.php on line 1162

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/collab365_296/public/wp-includes/functions.php on line 1165

Deprecated: strstr(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/collab365_296/public/wp-includes/functions.php on line 1145

Deprecated: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/collab365_296/public/wp-includes/functions.php on line 1152

Deprecated: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/collab365_296/public/wp-includes/functions.php on line 1155

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/collab365_296/public/wp-includes/functions.php on line 1162

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/collab365_296/public/wp-includes/functions.php on line 1165

Warning: Undefined array key "url" in /www/collab365_296/public/wp-content/plugins/thrive-visual-editor/thrive-dashboard/inc/smart-site/classes/class-tvd-smart-shortcodes.php on line 85

2014-01-23

1. Error: Unable to properly communicate workflow service.

Resolution :

Re-installed workflow manager by removing FQDN(servername.domainname) with Service Bus 1.0 cumulative update 1. Do not use FQDN (fully qualified domain name).
Ex: SP2013DEV01.Contoso.com à SP2013DEV01\SP2013DEV01

Reference: For Install and Uninstall Workflow Manager  http://technet.microsoft.com/en-us/library/jj193448

2. Error :  Create designer WF for testing. When you trying to publishing the designer WF. It will throw below error.

Microsoft.Workflow.Client.InvalidRequestException: Scope ‘/SharePoint/default/fff19e1b-4a2b-42e5-a144-5341d052e82c/5c6c812e-59c7-439d-9d17-3fc9018dbfe1’ is not in an updatable state. Its current state is ‘Unregistered’. HTTP headers received from the server – ActivityId: d6ff3074-0680-4c56-b955-5d90ff33e6a9. NodeId: HFSP2013STG01. Scope: /SharePoint/default/fff19e1b-4a2b-42e5-a144-5341d052e82c/5c6c812e-59c7-439d-9d17-3fc9018dbfe1. Client ActivityId : 4c846a9c-ee4b-1004-2903-c9769a91c67b. –

Resolution :

Register-SPWorkflowService -SPSite “http:// SP2013DEV01/” -WorkflowHostUri “http:// SP2013DEV01/:12291/” -Force -ScopeName “SharePoint”

3. Error : Go to workflow instance of that record and under the Running Workflows section. Click on your workflow name. You can see the “Workflow getting Suspended (Click on “i”  information icon)”

Resolution :

Register-SPWorkflowService -SPSite “http:// SP2013DEV01/” -WorkflowHostUri “http:// SP2013DEV01/:12291/” – AllowOAuthHttp -Force -ScopeName “SharePoint”

4. Error : Go to workflow instance of that record and under the Running Workflows section. Click on your workflow name. You can see the “Workflow getting Automatically Cancelled. (Click on “i”  information icon)”

Exception details: System.ApplicationException: HTTP 401 {“x-ms-diagnostics”:[“3000006;reason=\”Token contains invalid signature.\”;category=\”invalid_client\””],”SPRequestGuid”:[“f880abe6-d546-7d6b-a43a-37ab0346cde5″],”request-id”:[“f880abe6-d546-7d6b-a43a-37ab0346cde5″],”X-FRAME-OPTIONS”:

Resolution :
Refresh “Trusted Security Token Services Metadata feed” Timer job.

5. Error : The Workflow absolutely working fine in development server and when we deploying the solution and activating the feature. It’s throwing below error.

System.InvalidOperationException: Microsoft.Workflow.Client.ActivityValidationException: Workflow XAML failed validation due to the following errors: Cannot create unknown type ‘{wf://workflow.windows.net/$Activities}GetCurrentItemId’.

Root Cause Analysis:

In the workflow visual studio automatically referring the below DLL. This DLL will place automatically when you installed VS2012. Since we do not have Visual Studio in Staging its keep throwing the above error (which mentioned).

“Microsoft.SharePoint.DesignTime.Activities.dll”  and the physical path of this dll located in below path, where the Visual Studio related dll’s are placing and when installed Visual Studio.
C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\PublicAssemblies\Microsoft.SharePoint.DesignTime.Activities.dl

Solution :

Now, we have fixed this issue keeping above dll into inetpub/_app_bin folder and referring this in Workflow project. Then the same thing we are doing in Staging also. Then the workflow started working.

Thanks!..

(Visited 1,048 times, 1 visits today)

About the author 

Gopinath V

Summit Bundle

Get 200+ hours of Microsoft 365 Training for 27$!

Master Office 365, Power Platform & SharePoint & Teams With 200+ Hours Of Training Videos and 108 Ebooks in the Collab365 Academy. This offer is insane and is only available for a limited period.