SharePoint ডিজাইনার কর্মপ্রবাহ, ইভেন্ট রিসিভার এবং “তালিকা আইটেম আপডেট” বনাম “বর্তমান আইটেমের মধ্যে ক্ষেত্র সেট”

We have a set of SharePoint designer workflows that "communicate" with an event receiver on the list via changes to site column values. উদাহরণস্বরূপ, if a site column "SetDuedate" কর্মপ্রবাহ দ্বারা সত্য সেট করা হয়, ইভেন্ট রিসিভার যে পরিবর্তন সনাক্ত, একটি কারণে জন্ম হিসাব এবং অন্য সাইট কলামে যে তারিখ নির্ধারণ করা হয়, "Due Date." We split things up like this because the event receiver can calculate a due date using complex business rules (একাউন্টে সপ্তাহান্তে এবং কোম্পানীর ছুটি গ্রহণ) SPD সত্যিই পারব না যখন.

একটি নির্দিষ্ট ইনস্ট্যান্সের মধ্যে, we ran into a problem with this trick. Debugging all this is pretty difficult, কিন্তু আমরা নির্দিষ্ট সিদ্ধান্তে উপনীত হয়েছেন যে ক্ষেত্রে (অন্তত), the event receiver was not running all the time. In one step of the workflow, we would change the value of a site column and the event receiver didn’t appear to run. কিন্তু, এটা দেখাবার বিভিন্ন ধাপে ধারাবাহিকভাবে চলমান ছিল.

এটি পর্যালোচনা করার পর, I noticed that the happy workflow step used the "Update List Item" while the other step used "Set Field in Current Item." Update List Item was updating the "current item." I’m not sure why we picked one over the other since they would seem to be doing the same thing.

সুতরাং … the Update List Item action did cause the event to fire. অপরত্র, বর্তমান আইটেমের কর্মের সেট মাঠ না.

আমি উভয় জায়গায় হালনাগাদ তালিকা আইটেম ব্যবহার করা হয় এবং রক্তবর্ণ! It worked. [[ সরাইয়া মোট, আমি প্রায় একটি দৈনিক ভিত্তিতে জন্য বেহালা অভিনয় 15 বৎসর ]]

এই থেকে, I tentatively believe that the "Set Field" কর্ম ইভেন্ট রিসিভার ফায়ার হতে পারে না, at least some of the time.

This issue bedeviled us for weeks.

This is one of those "observed behavior" posts. I observed this happen once in a specific environment and I’m making some guesses as to why things happened as they did. If you have any insight into this one, মন্তব্য ভাগ করুন.

</শেষ>

আমার ব্লগ এর জন্য সাবস্ক্রাইব করুন.

3 চিন্তা "SharePoint ডিজাইনার কর্মপ্রবাহ, ইভেন্ট রিসিভার এবং “তালিকা আইটেম আপডেট” বনাম “বর্তমান আইটেমের মধ্যে ক্ষেত্র সেট”

  1. কোন নাম
    উচ্চ পল,
    চমৎকার ব্লগ আপনি সেখানে পেয়েছিলাম.. আপনার জন্য একটি দ্রুত প্রশ্ন..
    হালনাগাদ তালিকা আইটেম একই SharePoint সাইটের যেকোন তালিকা আইটেম আপডেট করার জন্য হতে অনুমিত হয় .. ডান?
    আমার জন্য, এটি শুধুমাত্র একই তালিকার জন্য কাজ করে (শুধু বর্তমান আইটেমের সেট মাঠ চাই).. তাই আমি একটি ভিন্ন তালিকা থেকে মানের আপডেট করার জন্য কি ব্যবহার করবেন?
    ধন্যবাদ.
    Honeyhline ~
  2. Deepak

    উচ্চ পল

    আমি এছাড়াও আপনি একই প্রশ্ন জিজ্ঞাসা করতে চাই, যা উপরের মন্তব্যে বলা হচ্ছে.

    ধন্যবাদ
    Deepak

সাইফুল আলম চৌধুরী

আপনার ইমেইল ঠিকানা প্রচার করা হবে না. প্রয়োজনীয় ক্ষেত্রগুলি চিহ্নিত করা আছে *