Unë kam qenë duke luajtur rreth me veprimet doganore për SharePoint Designer për disa kohë (shikoni këtu for some detailed stuff, në qoftë se ju interesojnë).
Në projektin tim aktual, we need to do some fairly heavy lifting and we want to use declarative SPD workflow to manage the associated business process.
Long histori e shkurtër, 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.
Here’s the signature:
publik varg Dispatcher( Guid WebID, // Passed by the runtime environment Guid SiteID, // Passed by the runtime environment varg ListID, // Passed by the RTE (don't know why this is a string, not a GUID) int ListItemID, // Passed by the RTE. varg XmlMessage) // Passed by the user as declared in SPD.
This leverages the fact that we can get at important workflow information, like the site, list ID, etj. 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!
Mjerisht, this is obviously a one-way ticket down to "Loosey Goosey" anti-pattern land, por është më mirë sesa të godasësh një mur me tulla
Is it an anti-pattern if you do it even though you know it’s an anti-pattern?
I hope to wrap this inside Codeplex in the near future. If you’re interested in me doing so, give me poke (Email or leave a comment) dhe unë do të jem aq më entuziast për ta bërë atë
</fund>
Any more news on your work to call webservices from a WSS workflow defined in SPD?