c# - Workflow service - bookmarks not resuming -
i have simple workflow service created using wf 4.5, i'm running console app in vs.net 2012 (added service reference). in wf service, have single receiveactivity creates instance of service , after invokes nativeactivity uses filesystemwatcher/bookmarks monitor directory incoming files. 2 issues arise:
the workflow goes idle , never gets resumed when file dropped folder. service goes idle/shown such in persistence store, never resumed.
this whole separate issue, need accomplish institute warning/error timeouts if file isn't there within given timespan. seems creating pick activity 3 branches (two delays , actual file monitor activity) way go; sound right?
i'm not sure how # 1 above working and/or there's better approach. thoughts/advice appreciated - in advance!
- you watching files, have resume bookmark when see file.
- not quite. if warning timer goes off, other 2 branches in pick canceled so, error timer never go off.
Comments
Post a Comment