Nimekuwa kucheza karibu na vitendo desturi kwa Designer SharePoint kwa baadhi ya wakati (angalia hapa kwa baadhi ya mambo ya kina, kama kuwa na maslahi yenu).
Katika mradi wangu wa sasa, we need to do some fairly heavy lifting and we want to use declarative SPD workflow to manage the associated business process.
Muda mrefu hadithi fupi, this is entirely possible. I extended my Codeplex project to invoke a "helper service" and now we can invoke a web service directly from an SPD workflow.
Hapa ni sahihi:
umma string Dispatcher( Guid WebID, // Kupita kwa mazingira Runtime Guid SiteID, // Kupita kwa mazingira Runtime string ListID, // Wanapita RTE (sijui kwa nini hii ni kamba, siyo GUID) int ListItemID, // Wanapita RTE. string XmlMessage) // Kupita kwa mtumiaji kama alitangaza katika SPD.
Hii leverages ukweli kwamba tunaweza kupata taarifa muhimu katika workflow, kama tovuti, orodha ID, nk. This is well documented in several places for those of you interested in creating your own custom actions. The idea is to extract the XML string as provided by the user to dispatch an appropriate procedure. Fun stuff!
Cha kusikitisha, hii ni wazi tiketi moja ya njia ya chini kwa "Loosey Goosey" kupambana na muundo ardhi, but it’s better than hitting a brick wall π
Je, ni kupambana na muundo kama wewe kufanya hivyo hata kama unajua ni kupambana na muundo?
I hope to wrap this inside Codeplex in the near future. If youβre interested in me doing so, nipe poke (email au kuacha maoni) and I’ll be that more enthusiastic about doing it π
</mwisho>
Yoyote zaidi habari juu ya kazi yako kuwaita webservices kutoka workflow WSS inavyoelezwa katika SPD?