ProjectBasedRecord FinishSubmitToProjectUsingTransition() Method

(SBM On-Premise/PaaS only) Finish a submit transition for an item using a non-default transition.

Function Signature

 bool FinishSubmitToProjectUsingTransition( trans [, signedUserID, signedUserPwd ] )

Parameters

Parameter Type Description

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

projectRecord.SetFieldValue( "title", "My Title");
projectRecord.FinishSubmitToProjectUsingTransition(transId , "UserName", "pass");

Notes

Related Topics

ProjectBasedRecord