Skip to main content
Nintex Community Menu Bar

Starting a workflow with Call Web Service timing out

  • June 16, 2017
  • 9 replies
  • 100 views

Forum|alt.badge.img+3

We have a parent list workflow (let's call it P1) that starts a child site workflow (C2) using the Nintex Call Web Service action.  The Call Web Service action uses Workflow.asmx, Web method StartSiteWorkflow. We are using the web method to start the workflow in order to pass associationData. 

P1 starts C2, as expected. However, after 1-2 minutes, P1 fails with error “Failed to invoke web service. Error returned from server: The operation has timed out”.

Despite the error message, C2 continues to execute and completes successfully.

This seems like it must be a configuration related specifically to Web Services, as we do not have this issue when starting the workflow using the Nintex Start Workflow action.

Has anyone seen this behavior before?  Do you have any suggestions on what might be happening, or how to correct? 

We have recently converted to SharePoint 2013.  This was not an issue in SharePoint 2010.

Thank you for any input you might have!

9 replies

Forum|alt.badge.img+14
  • Scholar
  • June 19, 2017

is it only reason to pass data into child workflow so that you use web service?

if so, then you still can use Start Workflow action, but you need to declare variables in child workflow as 'Show on start form'


Forum|alt.badge.img+3
  • Author
  • June 20, 2017

Thanks Marian, I did not know you could do this!  I thought you had to use Call Web Service to start the workflow if you wanted to pass data.  I will definitely give it a try!


Forum|alt.badge.img+3
  • Author
  • June 20, 2017

Hi Marian,

The variables that I want to pass to the child workflow are defined and populated in the parent workflow.  I am using the "Start Workflow" action. 

In the child workflow, the variables are defined and 'Show on start form' is checked.  Required is not checked - should it be?  When I run the parent workflow, none of the variables is populated in the child.  What am I missing?

Thanks!


Forum|alt.badge.img+14
  • Scholar
  • June 20, 2017

have you reconfigured start workflow action in parent workflow?

there should appear new input parameters once you changed child workflow.

if so, try so write parameters handed over to history log, both in parent workflow and child workflow, to make sure they are really populated the way you expect.

if that still doesn't help, post how does you configuration looks like, and provide info what are data types of passed parameters.


Forum|alt.badge.img+3
  • Author
  • June 20, 2017

Worked like a champ once the "Start Data" fields showed up on the "Start Workflow" action.  They weren't there the first time I configured it.

Thanks again Marian, you're the best!


Forum|alt.badge.img+14
  • Scholar
  • June 22, 2017

not yet, but maybe once laugh.pnghappy.pnghappy.png


Forum|alt.badge.img+10
  • Nintex Partner
  • January 22, 2018

And how is this trick done in O365?!

Cheers

mai-kel


Forum|alt.badge.img+14
  • Scholar
  • January 22, 2018

I'm sorry, I do not know. I've no experience with O365.


Forum|alt.badge.img+10
  • Nintex Partner
  • January 22, 2018

You??? Really?

Bildergebnis für dafuq