Kutembea-kwa njia ya: Kurekebisha Mfanyakazi Mafunzo Kigezo Viti Available Futa mdudu

Kama watu wengi kujua, the Employee Training template provided by Microsoft here has a bug that we can reproduce following these steps:

  • Kujenga darasa na kawaida max ya 10 wanafunzi.
  • Kujiandikisha –> Total available seats properly decrements by one. Kusababisha: 9 inapatikana viti.
  • Futa: –> Bug. Total available seats should increment by one. It does not. Kusababisha: 9 available seats as per SharePoint, but in fact, there are 10 inapatikana viti.

Ufumbuzi: Use SharePoint Designer to correct the workflow.

Kwanza, open up the site. The folder list for me looks like this:

picha

If we have a look at the "Attendee registration" workflow, we see that there is a step labeled "Enforce seating policy". It looks like this:

picha

This step in the workflow updates the item by incrementing the "Filled Seats" metadata column on the course. If we pull that up in more detail, we see this:

picha

That’s all the information we need to fix the unregistration workflow.

If we flip over to the unregistration workflow, there is no similar workflow step. Add it as follows:

1: Expand "Attendee unregistration" and open up the XOML (see first screen shot if you’re lost).

2: Add a new workflow variable, "New Filled Seats" of type "Number".

3: Assign a value to "New Filled Seats" kama inavyoonekana:

picha

4: Decrement the Filled Seats by 1:

picha

5: Update the related Course item:

picha

6: Make sure all the steps are in the right sequence. Kwa ajili yangu, inaonekana kama hii:

picha

7: Finish the workflow to re-build it.

8: Mtihani.

</mwisho>

Kujiunga na blog yangu.

Tags technorati: ,

2 mawazo juu ya "Kutembea-kwa njia ya: Kurekebisha Mfanyakazi Mafunzo Kigezo Viti Available Futa mdudu

Kuondoka Reply

Anwani yako si kuchapishwa. Mashamba required ni alama *