I’ve recently learned that it’s possible and even fairly easy to create a state machine workflow using SharePoint Designer. Necessity is the mother of invention and all that good stuff and I had a need this week that looked for an invention. Coincidentally, Topatu dut MSDN foro honetan post baita. My personal experience this week and that "independent confirmation" lends strength to my conviction. I plan to write about this at greater length with a full blown example, baina hemen da GIST da:
- Hurbilketa Izan ere, eu Zerrendako elementu bat aldatu ahal baliatzen, thereby triggering a new workflow. I’ve normally considered this to be a nuisance and even semaforoak erabiliz Blogetakoak hura kudeatzeko.
- SharePoint ahalbidetzen anitz independente fluxuak aktiboa izan da zerrenda-elementu jakin aurka.
Konfiguratzeko:
- Diseinatzeko zure egoera makina (hau da,, estatu eta nola estatu batetik bestera trantsizio).
- Ezartzea, egoera bakoitzean workflow independente gisa.
- Konfiguratzeko egoera fluxuak horietako bakoitza exekutatu zerrendako elementua edozein aldaketa erantzunez.
Egoera latza workflow bakoitzean patroi hau honela:
- Hasieratzea gainean, determine whether it should really run by inspecting state information in the "current item". Abort if not.
- Egin lana.
- Update the "current item" with new state information. This triggers an update to the current item and fires off all the state workflows.
Alde batera nabarmenak prestazio bat aitortzen duen egoera makina workflow bat sortu ahal, egoera informazio hori guztia eraikin KPIs eta interesgarria ikuspegietako emanaldirik.
Handi samarra izan eragozpen bat du — standard workflow history tracking is even more useless than normal 🙂 That’s easily remedied, Hala ere,. Store all of your audit type information in a custom list. That’s probably a good idea even for vanilla sequential workflow, but that’s for another blog post 🙂
I call this a "mea culpa" izan dudalako, zoritxarrez, said more than once on forums and elsewhere that one must use visual studio to create a state machine workflow. That simply isn’t true.
</amaiera>