SBM ModScript Reference → Programming SBM ModScript → Object Types → Transition → Transition GetType() Method
Returns the transition type.
Parameter | Type | Description |
---|---|---|
None |
Type | Description |
---|---|
int |
The transition type that corresponds to TransitionTypeConstants. |
SBM ModScript version: 11.3.
var transRecordList = Ext.CreateAppRecordList( Ext.TableId("TS_TRANSITIONS")); transRecordList.ReadByColumn("PROJECTID", 2); // actually workflow id for ( tran : transRecordList ){ if( tran.GetType() == TransitionTypeConstants.REGULAR) { Ext.WriteStream( tran.GetName() + "<br />" ); } }
Result:
Submit Need More Info Info Provided Defer ...
None.
Copyright © 2007–2019 Micro Focus or one of its affiliates. All rights reserved.