ProjectBasedRecord QuickSubmitToProjectUsingTransition() Method

(SBM On-Premise/PaaS only) Identical to FinishSubmitToProjectUsingTransition() except StartSubmitToProjectUsingTransition() is not required, and thus, the project must be specified.

Function Signature

 bool QuickSubmitToProjectUsingTransition( project, trans [, signedUserID, signedUserPwd ] )

Parameters

Parameter Type Description

project

int or string

Can be project ID, project UUID, or project internal name.

trans

int or string

Can be transition ID, transition UUID, or transition internal name.

signedUserID

string

Optional. Provides the user name portion of the signature if the transition requires a user's signature.

signedUserPwd

string

Optional, required if signedUserID is provided. Provides the password portion of the signature if the transition requires a user's signature.

Return

Type Description

bool

Returns true if transition completed successfully. If false, use Shell.GetLastErrorMessage() for more information.

Technical Details

SBM ModScript version: 11.6.

Example

var projectRecord = Ext.CreateProjectBasedRecord(projectTableId);
projectRecord.SetFieldValue( "title" , "My Title" );
projectRecord.QuickSubmitToProjectUsingTransition( projectID , transId );

Notes

Related Topics

ProjectBasedRecord