ProjectBasedRecord StartSubmitToProjectUsingTransition() Method

(SBM On-Premise/PaaS only) Starts a submit transition for an item, specifying the project and transition to use.

Function Signature

 bool StartSubmitToProjectUsingTransition( project , trans )

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.

Return

Type Description

bool

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

Technical Details

SBM ModScript version: 11.6.

Example

var projectRecord = Ext.CreateProjectBasedRecord( projectTableId );
projectRecord.StartSubmitToProjectUsingTransition( projectId , transId );

Notes

Related Topics

ProjectBasedRecord