વેબ સર્વિસ સાથે શેરપોઈન્ટ ડિઝાઈનર વર્કફ્લો એકીકૃત

હું કેટલાક સમય માટે શેરપોઈન્ટ ડિઝાઈનર માટે કસ્ટમ ક્રિયાઓ સાથે આસપાસ રમી રહ્યો છું (અહીં જુઓ for some detailed stuff, કે રસ, જો તમે).

મારા વર્તમાન પ્રોજેક્ટ, we need to do some fairly heavy lifting and we want to use declarative SPD workflow to manage the associated business process.

લાંબા વાર્તા ટૂંકી, 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:

 જાહેર સ્ટ્રિંગ મોકલનાર(
        Guid WebID, // Passed by the runtime environment
        Guid SiteID, // Passed by the runtime environment
        સ્ટ્રિંગ ListID, // Passed by the RTE (don't know why this is a string, not a GUID)
        ઈન્ ListItemID, // Passed by the RTE.
        સ્ટ્રિંગ 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, વગેરે. 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!

દુર્ભાગ્યે, this is obviously a one-way ticket down to "Loosey Goosey" anti-pattern land, પરંતુ તે ઈંટની દિવાલને ફટકારવા કરતાં વધુ સારું છે 🙂

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 (ઇમેઇલ or leave a comment) અને હું તે કરવા માટે વધુ ઉત્સાહી હોઈશ 🙂

</અંત>

મારા બ્લોગ પર સબ્સ્ક્રાઇબ કરો.

2 પર "વિચારોવેબ સર્વિસ સાથે શેરપોઈન્ટ ડિઝાઈનર વર્કફ્લો એકીકૃત

જવાબ છોડો

તમારું ઇમેઇલ સરનામું પ્રકાશિત કરવામાં આવશે નહીં. જરૂરી ક્ષેત્રો ચિહ્નિત થયેલ છે *