Լուծում (տեսակ): Սահմանել առաջնահերթություն է առաջադրանքի հաղորդագրությունները Using Sharepoint դիզայներին

Ես ունեմ գործարար սցենարը նման:

  • Մի օգտվողին բեռնումները փաստաթուղթ է փաստաթղթերի գրադարան.
  • Նա ընտրում է բովանդակության տեսակը եւ մտնում meta տվյալները ըստ անհրաժեշտության. Մեկը meta տվյալների դաշտերը մի դրոշ, "Urgent".
  • Այս triggers է Sharepoint դիզայներ աշխատանքի արդյունքում է, որ, ի թիվս այլ բաների,, օգտագործում մասնաճյուղի տվյալների հավաքում է Օգտվող" գործողություն.

"Collect Data from a User" ստեղծում կետին խնդիր ցուցակը `խնդրելով հաստատել այդ փաստաթղթի.

Ես պետք է ստեղծել տեսակետը առաջադրանքի ցուցակում, որը ցույց հրատապ խնդրանքները հաստատմանը.

Լուծում: 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, այն ինչ - որ կերպ Cross References վերադառնալ փաստաթղթում, որը սկսվել է առաջին աշխատանքի արդյունքում, pull out the urgent flag value and update priority as needed.
  2. Do something similar with an event receiver. On create of the task, Տեղադրեք ուղեկից փաստաթուղթը եւ թարմացնել առաջնահերթ անհրաժեշտության.
  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. (Ինչ - ինչ պատճառներով, Ես ավելի կամ պակաս լուծել այս մոտեցման համար իմաստուն որոշում է քայլել հեռու մի քիչ).

Կա մի թերություն իմ լուծմանը (Բացի ակնհայտ փաստը, որ միայն տեքստը վերնագրի ցուցանիշն հրատապությունը). Since "collect feedback" միայն ընդունում դժվար կոդավորված title անունները, I need to use two different collect feedback actions whose only difference is that hard coded title.

Սակայն, գոնե կա մի լուծում, որը չի պահանջում միջոցառման ստացողի կամ մաքսային SPD միջոցառումներ.

Եթե ​​ինչ - որ մեկը լուծել այս ավելի խելացի կերպով, խնդրեմ ինձ տեղյակ պահեք.

</վերջ>

One thought on "Լուծում (տեսակ): Սահմանել առաջնահերթություն է առաջադրանքի հաղորդագրությունները Using Sharepoint դիզայներին

Թողնել Պատասխանել Riedoh Ավելացնել կարծիք Չեղարկել պատասխանել

Ձեր էլ. Փոստի հասցեն չի հրապարակվելու. Պահանջվող դաշտերը նշված են աստղանիշով *