Employee Pagsasanay Iskedyul at Materyales Template — Pagbawas bug sa template

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

Course managers create courses. When creating a course, manager ang tinutukoy ng maximum na bilang ng mga magagamit na upuan.

The template provides for self-service enrollment. I enroll and a workflow attached to the registration list decrements the "available seats" na nauugnay sa na kurso.

Individuals may also unregister from a course. The bug lies here. Unregistering from a course does not increment the available seats counter. Bilang isang resulta, available seats is not accurate. This bug is compounded by the fact that when available seats decrements to zero, wala nang mga self-service pagpaparehistro ay pinapayagan.

Sa kabutihang-palad, Microsoft provides the workflow for this process. Even better, ito ay isang tuwid-forward workflow nilikha sa pamamagitan ng SharePoint Designer.

Sundin ang mga hakbang na ito mataas na antas upang ayusin ito:

  1. Painitin SDP.
  2. I-access ang mga site batay off ang template ng pagsasanay.
  3. Access "Attendee unregistration" workflow.
  4. Ipasok ang mga hakbang na ito (Na aking ginawa sa kanila ang unang dalawang hakbang):
    1. Kalkulahin Kapagaralan:Puno Upuan binawasan 1 (Output sa Nagbabago:calc)
    2. (pagkatapos) I-update ang item na ito sa Kapagaralan

I-click ang Tapos na at tapos ka na.

Screen shot:


SharePoint Designer:

imahen

Tapos workflow:

imahen

Kalkulahin drill-down:

imahen

I-update ang item sa Kurso:

imahen

5 ano sa tingin mo "Employee Pagsasanay Iskedyul at Materyales Template — Pagbawas bug sa template

  1. Doug kumitil ng buhay

    Hi Paul. Thaks para sa iyong pag-post tungkol sa isyung ito. Pinapahalagahan ko ito. Ginawa ko maghanap ng isa pang depekto bagaman. Kapag ang isang user unregisters mula sa isang kurso, unregistration ang proseso ay hindi pagpili ng tamang entry listahan upang tanggalin. Sa halip ng pagpili sa listahan entry na tumutugma sa ID ng mga napiling item sa pahina ng Aking Kurso ito ina-update ng ang unang entry sa listahan ng pagrerehistro anuman ang user o mga klase. Anumang mga ideya sa kung paano itama ang isyung ito?

    Sumagot
  2. Arun Singh
    Hi Paul,
    Template: Employee Pagsasanay sa Pag-iiskedyul & Kagamitan
    Gusto kong magdagdag ng isa pang pinasadyang haligi sa kurso(pagsasanay) listahan i.e Businees unit dropdown haligi,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 ng Cource listahan).
    Mangyaring sabihin sa akin, kung paano i pagtagumpayan ang problemang ito.
    Salamat in advance
    Arun
    Sumagot
  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.

    Sumagot
    1. Paul Galvin Mag-post ng may-akda

      Sorry for never responding. I lost track of some of comments during blog moves and jobs. I hope you were able to get this working.

      Sumagot

Mag-iwan ng Sumagot sa Tania Ikansela reply

Ang iyong email address ay hindi nai-publish. Mga kinakailangang patlang ay minarkahan *