راه حل (مرتب کردن بر اساس): تنظیم اولویت در کار با استفاده از شیرپوینت طراح

من یک سناریوی کسب و کار مثل این:

  • ارسال کاربر یک سند به کتابخانه اسناد.
  • او یک نوع محتوا را انتخاب و وارد داده های متا به عنوان مورد نیاز. یکی از زمینه های داده متا یک پرچم است, "Urgent".
  • این باعث گردش کار شیرپوینت طراح است که, در میان چیزهای دیگر, uses the "Collect Data from a User" اقدام.

"Collect Data from a User" ایجاد یک آیتم در یک لیست کار درخواست تایید برای آن سند,,en,من نیاز به ایجاد یک دیدگاه از لیست کار که درخواست فوری برای تصویب نشان داد,,en,قرار دادن کلمه "فوری,,en,به عنوان این وظایف,,en,من ترجیح داده اند برای مشخص درست اولویت به طور مستقیم,,en,من قادر به انجام این کار به چند دلیل بود,,en,عمل جمع آوری داده ها هیچ مکانیزمی را فراهم نمی کند برای به روز رسانی هر رشته دیگر از عنوان,,en,و کسانی که زمینه های اضافی که شما می خواهید به جمع آوری داده,,en,به "اختصاص یک آیتم به انجام,,en,عمل همان مشکل,,en,این ممکن است برای وارد کردن یک آیتم را به یک لیست,,en,درج یک آیتم را به لیست کار به طور مستقیم,,en,اما این یک عمل مسدود کردن,,en,این بدان معناست که گردش کار نمی خواهد صبر کنید برای کاربر کامل است که وظیفه,,en,من چند روش قبل از در نظر گرفته,,en,خوشبختانه,,en.

I needed to create a view of the task list that showed urgent requests for approval.

راه حل: Put the word "URGENT:" into the title of these tasks.

I would have preferred to specify the priority field directly. اما, I was unable to do that for several reasons:

  1. The collect data action does not provide a mechanism to update any field other than title (and those additional fields for which you want to collect data).
  2. The "assign a to do item" action has the same problem.
  3. It’s possible to insert an item into a list (i.e. insert an item into the task list directly) but this not a blocking action. That means that the workflow will not wait for the user to complete that task.

I considered a few approaches before (thankfully) realizing we could just put "urgent" in the title.

  1. Start a workflow on the task list itself so that when a new task is created, it somehow cross references back to the document that started the first workflow, pull out the urgent flag value and update priority as needed.
  2. Do something similar with an event receiver. On create of the task, locate the associated document and update priority as needed.
  3. Use the "create list item" action in conjunction with the "wait for field change" action and an event receiver. If we create a list item, we can specify all the fields we want. Use an event receiver to update the original item when the user completes the task and the "wait for field change" action’s condition would be met and the workflow would proceed. (For some reason, I had more or less settled on this approach before wisely deciding to walk away for a while).

There is a drawback to my solution (aside from the obvious fact that only the text of the title indicates urgency). Since "collect feedback" only accepts hard coded title names, I need to use two different collect feedback actions whose only difference is that hard coded title.

اما, at least there’s a solution that does not require event receivers or custom SPD actions.

If someone has solved this in a more clever way, لطفا اجازه دهید من می دانم.

</پایان>

یکی در "راه حل (مرتب کردن بر اساس): تنظیم اولویت در کار با استفاده از شیرپوینت طراح

ترک پاسخ به Riedoh لغو پاسخ

آدرس ایمیل شما منتشر نخواهد شد. بخشهای موردنیاز علامتگذاری شدهاند *