Stroming gedrag: Die beweeg SPD Werkstromen Binne 'n site collection

UPDATE: I’ve been researching how to embed a SPD workflow into a site definition. Hierdie MSDN forum ketting het 'n paar interessante inligting. It’s not conclusive, maar dui op die pad deur die oerwoud.

I’m giving this post a slightly oddball "Observed Behavior" lead since I’m a little leery of drawing conclusions from it. SPD workflows are … temperamenteel.

Mense is dikwels vra / wonder / fretting over moving SPD workflows from one place to another. Vandag, Ek volg hierdie stappe en maak hierdie waarnemings:

  • Ek het 'n workflow met SharePoint Designer in 'n plek verbonde aan 'n dokument biblioteek.
  • Die gepaardgaande dokument biblioteek reeds verskeie dokumente gehuisves.
  • Ek het die werf as 'n sjabloon gered.
  • Toe ek die werf as 'n sjabloon gered, Ek het die inhoud gered sowel.
  • Ek het 'n nuwe tuiste in die dieselfde plek versameling gebruik van hierdie sjabloon.

Op hierdie punt, I tried to run the workflow. It promptly terminated itself with the log message, "Failed on start".

I expected this. I have low expectations when it comes to moving SPD workflows around.

Ek het voortgegaan:

  • Het die plek in SharePoint Designer.
  • Had a peek at the workflow. It seemed fine.
  • I clicked "Finish".
  • Ek hardloop die workflow.

Hierdie keer, dit werk goed.

I’ll add that this workflow used the "collect data from user" aksie wat 'n relatief komplekse aksie onder die enjinkap.

I tentatively conclude that the process of "finishing" the workflow caused SPD to properly associate the SPD workflow with the new document library. I also conclude the XOML and other XML artifacts are reasonably "loose". They are not super tightly coupled to the document library.

Wat beteken dit? Assuming it’s a reliable and reproducible process, there’s at least one rough method we can use to move them around. I don’t know if this would work if we crossed site collection boundaries or even more drastically, hele nuwe plase (bijv. ontwikkeling aan te bied om te prod).

As jy dit lees en geneig, post 'n comment of email my your SharePoint Designer migration story. I’ll gladly update this posting with any insights thus offered.

</einde>

Skryf in op my blog.

Technorati Tags:

Laat 'n antwoord

Jou e-posadres sal nie gepubliseer word nie. Verpligte velde gemerk *