ProjectBasedRecord QuickSubmitToProject() Method

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

Function Signature

 bool QuickSubmitToProject( project [, signedUserID, signedUserPwd ] )

Parameters

Parameter Type Description

project

int or string

Can be project ID, project UUID, or project 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.3.

Example

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

Notes

All field value changes must be in place on the item first.

Related Topics

ProjectBasedRecord