StateFrom Property
StateFrom Property
This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.
Contains the state of the process instance before a transition.
Applies To
Type Library
Microsoft CDO Workflow Objects for Microsoft Exchange
DLL Implemented In
CDOWF.DLL
Syntax
[Visual Basic]Property StateFrom As String
[C++]HRESULT get_StateFrom(BSTR* pVal);
Parameters
- pVal
Returns the value of the StateFrom property as a reference to a BSTR.
Remarks
The value of this property might be null depending on the type of transition this process instance represents.
Example
This example uses the StateFrom property in a condition script that prevents an action from firing if the transition is not a state change.
function CheckNewState() if workflowsession.statefrom <> workflowsession.stateto then CheckNewState= true else CheckNewState= false end if end function
See Also
Send us your feedback about the Microsoft Exchange Server 2003 SDK.
Build: June 2007 (2007.618.1)
© 2003-2006 Microsoft Corporation. All rights reserved. Terms of use.