문제

I am having an approval workflow. The client is asp.net mvc 4 and the client calls out to a WEB API. This WEB API in turn hosts the WF using WorkflowAplication class. The scenario here is, if a request is not approved for a certain time, i need the persisted workflow to load send an email and persist again. Is this scenario possible somehow using WF 4.5

도움이 되었습니까?

해결책

Make a timer object outside of the workflows but trigger it from within the workflow (Pass it into the workflow as an Argument). Then when the timer fires you can use the event to restart the workflow from a persist point, send the e-mail and then persist again.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top