کارمند برنامه آموزش و الگو مواد — کاهش اشکال در قالب

The client noticed a bug today with the above mentioned template.

Course managers create courses. When creating a course, the manager specifies maximum number of available seats.

The template provides for self-service enrollment. I enroll and a workflow attached to the registration list decrements the "available seats" associated with that course.

Individuals may also unregister from a course. The bug lies here. Unregistering from a course does not increment the available seats counter. به عنوان یک نتیجه, available seats is not accurate. This bug is compounded by the fact that when available seats decrements to zero, no more self-service registration is allowed.

Fortunately, Microsoft provides the workflow for this process. Even better, it’s a straight-forward workflow created via SharePoint Designer.

Follow these high level steps to fix it:

  1. Fire up SDP.
  2. Access the site based off the training template.
  3. Access "Attendee unregistration" گردش کار.
  4. Insert these steps (I made them the first two steps):
    1. Calculate Courses:Filled Seats minus 1 (Output to متغیر:calc)
    2. (سپس) Update item in Courses

Click Finish and you’re done.

Screen shots:


شیرپوینت طراح:

تصویر

Finished workflow:

تصویر

Calculate drill-down:

تصویر

Update item in Courses:

تصویر

5 دیدگاه در "کارمند برنامه آموزش و الگو مواد — کاهش اشکال در قالب

  1. Doug Slay

    سلام پل. Thaks for your posting about this issue. I appreciate it. I did find another defect though. When a user unregisters from a course, the unregistration process is not selecting the correct list entry to delete. Instead of selecting the list entry that matches the ID of the item selected on the My Courses page it updates the first entry in the Registrations list regardless of the user or the class. Any ideas on how to correct this issue?

    پاسخ
  2. arun singh
    سلام پل,
    قالب: Employee Training Scheduling & Materials
    I want to add one more custom column in the course(training) list i.e Businees unit dropdown column,but i tried lot to insert column but in vain. Again i tried through XSLT in SPD but no use, i am getting error. It’s very mandatory for me to use one more column in that list(NewForm.aspx of Cource list).
    Please tell me, how can i overcome this problem.
    پیشاپیش سپاسگزاریم
    arun
    پاسخ
  3. Tania

    I want to send a unregistration confirmation email when an individual unregisters. How do I set up this workflow without ruining finally get the unregistration available seats to work? Please help.

    پاسخ

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

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