Oibriú Bhreathnaithe: Bogadh sreabhadh oibre SPD Laistigh Bailiúchán Láithreán

Suas chun dáta: I’ve been researching how to embed a SPD workflow into a site definition. Tá roinnt eolais suimiúil an slabhra fóram MSDN. It’s not conclusive, ach pointí chun cosán tríd an jungle.

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 … temperamental.

Daoine ag iarraidh go minic / wondering / fretting over moving SPD workflows from one place to another. Sa lá atá inniu, Lean mé ar na céimeanna seo agus rinneadh na tuairimí:

  • Chruthaigh mé ag baint úsáide as sreabhadh oibre SharePoint Dearthóir i suíomh gabháil le leabharlann doiciméad.
  • An leabharlann doiciméad gaolmhar lonnaithe cheana féin roinnt cáipéisí.
  • Shábháil mé an suíomh seo mar theimpléad.
  • Nuair a Shábháil mé an suíomh seo mar theimpléad, Shábháil mé an t-ábhar chomh maith.
  • Chruthaigh mé suíomh nua sa bhailiúchán suíomh céanna ag baint úsáide as an teimpléad.

Ag an bpointe seo, 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.

Lean mé:

  • Osclaíodh an suíomh i SharePoint Dearthóir.
  • Had a peek at the workflow. It seemed fine.
  • I clicked "Finish".
  • Rith mé an sreabhadh oibre.

An uair seo, d'oibrigh sé fíneáil.

I’ll add that this workflow used the "collect data from user" ghníomhaíocht a bheadh ​​gníomh sách casta faoi na cochall.

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.

Cad a chiallaíonn sé seo? 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, feirmeacha ar fad nua (e.g. dev chuig céim a dtáirgí).

Má tá tú ag léamh seo agus claonta, le do thoil post a comment nó ríomhphost chugam your SharePoint Designer migration story. I’ll gladly update this posting with any insights thus offered.

</deireadh>

Liostáil le mo bhlag.

Clibeanna Technorati:

Leave a Reply

Ní thabharfar do sheoladh r-phoist a fhoilsiú. Réimsí riachtanacha atá marcáilte *