Yog ib qho qauv uas kuv nrhiav tau nyob rau hauv crafting SharePoint dlaws leverages SharePoint Designer workflow thiab ib qhov kev tshwm sim receiver.
Ntawm no yog ib lub lag luam scenario los tso rau hauv cov ntsiab lus teb:
- Kuv upload ib tsab ntawv mus rau ib tug doc lib.
- Kuv ncaws tej kauj ruam workflow siv SharePoint Designer tsim.
- Hauv tej kis thaum txoj kev, workflow assigns ua hauj lwm ib tug rau ib tug neeg (ntawm tau sau cov ntaub ntawv los ntawm cov neeg siv los cob ua hauj lwm ib).
- Peb xav kom siv lub KPI los teev cia lub sij hawm cov hauj lwm ntawd yog awaiting tiav. Tus KPI qhia ntsuab paub tab uas yuav tiav los them rau ntau tshaj 3 hnub saum no. Nws qhia tau hais tias dag yog neeg ua hauj lwm them tag kis los yog hnub no. Nws yuav qhia liab yog neeg ua hauj lwm yav tas los tsis.
- Ntawm no yog cov kicker: Kuv xav kom lub hnub drives tus KPI yuav tsum nyiaj so koobtsheej-paub.
Kuv tsis tau xam ib peev nyiaj so koobtsheej-paub hnub nyob rau hauv workflow SharePoint Designer yooj yim heev. Kuv yuav tau mus tsim tau ib txog kev cai los yog siv ib tug neeg uas koob thib 3. Txawm li cas los, Nws yog ib qho yooj yim txaus los xam li ib hnub nyob rau ib qho kev tshwm sim receiver. Ua ke merge cov ob thiab peb tau tus qauv zoo li no:
- Txhais tau ib cov thaum yog/tsis muaj chaw sab hauv cov tsev qiv ntawv hauv daim ntawv hais tias "DoCalcualteDueDate".
- Initialize mus cuav.
- Thaum lub sij hawm tsim nyog rau cov workflow (e.g. ua ntej cov "collect ntaub" nkaus), cob rau cov nqi ntawd yuav muaj tseeb.
- Ib ItemUpdate() kev tshwm sim receiver tig mus saib yog "DoCalculateDueDate" yog muaj tseeb tiag. Vim lub caij receiver uas sau rau txhua hloov tshiab, "DoCalculateDueDate" yog txhua zaus yog cuav.
- Thaum workflow assigns DoCalculateDueDate los muaj tseeb, qhov kev tshwm sim receiver laij tau qhov them nyiaj so koobtsheej-paub hnub.
- Thaum lub caij receiver puas no muab xam, nws teeb lub DoCalculateDueDate chij mus cuav.
Thaum kawg, SPD workflow yog tshwm rau nrog lub receiver kev tshwm sim ntawm tus DoCalculateDueDate semaphore thiab peb muaj nyiaj so koobtsheej-paub them hnub uas raug rau lub caij xyov yog tus workflow lub neej. SharePoint Designer ntawm lwm yam uas thaum lub hnub yuav raug ua hauj lwm, tiam sis lub caij receiver co tus nqi muab xam thiab ib ntus.
</kawg>