УПДАТЕ: Погледајте ову дискусију МСДН, посебно последњи унос: http://forums.microsoft.com/MSDN/showpost.aspx?postid=2631057&siteid=1. It describes a condition that may short circuit this whole thing. Укратко, то може бити као једноставан као што најмање једно од поља обавезно.
Имам библиотеку докумената који подржава осам типова садржаја.
I have a SharePoint Designer workflow that wants to calculate and assign a "reminder date" једноставним одузимањем 30 дана из друге колоне, "due date". This should only happen for one of the content types, "Insurance". The business objective is to produce a KPI that shows two categories of insurance documents: "about to expire" and "expired." (Можете прочитати више о овој врсти КПИ и више суштинска дрилл-довн овде).
I have configured the workflow to fire when a new item is created and when an item is modified. The idea is that when an insurance document is uploaded, we calculate a "warning date" based on the expiration date. A pair of views work in connection with a KPI List to highlight these conditions when users hit their home page.
Ова стратегија не ради када сам отпремите документ.
I upload the document and I am presented with the meta data entry screen. У овом тренутку, I’m already in trouble. SharePoint has already, прерано из мог угла, fired the workflow. I haven’t had a chance to pick the correct content type nor assign a due date. Истовремено, the workflow does not fire when I hit the submit button at this time. There’s some built-in logic that "believes" that first submit is part of the "create" event. Тако … мој ток посла је пуцао и када је извршена, it was passed default meta data values.
The best work-around I know of is to insert a "pause until" activity in the workflow. I have the workflow pause for 1 minute. While it’s pausing, Ја изаберите одговарајући тип садржаја, enter the meta data and submit. The pause completes and the workflow proceeds as needed. (Имајте на уму да у мом окружењу, timer workflow activities from SPD do not work out of the box. You may have the same trouble. Видети овде за више детаља).
I don’t like "magic delay" work-around. What happens if the user uploads a document and the phone rings and the ensuing conversation outlasts the pause? I can make the pause longer, али ја и даље не свиђа.
Писао сам о овоме на МСДН форумима овде: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2430725&SiteID=1
hey guys, I got the solution. place an EventDriven activity next to the Workflow Initialize event. put an OnWorkflowItemChanged event. Inside there, catch the updated value from the custom column. It works for me.
I am creating a reminder wrokflow using SharePoint Designer, and when i using "Pause Until Date" активност. It doesn’t resume and Workflow status does not change from "In Progress".
(i.e it displays "Pausing for 0 записник" under Workflow History but it doesn’t take specified action).
I have created it many times but found same problem.
I have done some googling for that in last some days, and from there I had got a hot fix МБ 932394 and installed it but still I am in same trouble with Пауза до датума Activity.
I have also changed job-workflow time duration using stsadm command from 5 минута до 1 минут као испод:
Шта треба да урадим за то?
Please suggest me why "Pause Until Date" doesn’t resume and Workflow status does not change from "In Progress" у мом посла.
If anyone have any solution regarding this then please reply me at saurabhsinghmca@gmail.com
Хвала,
Саурабх Кумар Сингх