Workflow Site for a site and its subsites

  • 11 March 2016
  • 4 replies
  • 2 views

Badge +1

Hello,

Is there a way to run  a workflow site from the root site in its subsites?

Thank you!


4 replies

Userlevel 4
Badge +11

Hi,

yes, you can do that by making a call on webservice subsite/_vti_bin/nintexworkflow/workflow.asmx and method StartWorkflow

Giacomo

Badge +1

Thank you for your reply!

Badge +1

Hi Giacomo,

My new issue is that the workflow i want to run has to execute the actions in the subsite who called the workflow in the root site.

Briefly, the workflow in the root site has to know wich subsite called him .

Thank you !! 

Userlevel 4
Badge +11

Hi,

when you call the workflow in the root site, you can use some Association Data to pass initiation parameter to it and use them inside the workflow logics.

You can build association data using the following syntax:

<Data><VariableName1>Value1</VariableName1><VariableName2>Value2</VariableName2></Data>

VariableNameXX is the exact name of a variable in the called workflow, set to be requested on starting form.

Giacomo

Reply