UFN_BBWORKFLOW_INBOX_GET_INBOXID_BY_NAME

Returns the id of the workflow inbox that has the given name

Return

Return Type
uniqueidentifier

Parameters

Parameter Parameter Type Mode Description
@INBOXNAME nvarchar(200) IN

Definition

Copy



create function dbo.UFN_BBWORKFLOW_INBOX_GET_INBOXID_BY_NAME(@INBOXNAME nvarchar(200))
returns uniqueidentifier

/* 
Returns the id of the workflow inbox that has the given name
 */

as 

begin

declare @id uniqueidentifier;

select @id=ID from dbo.BBWORKFLOWINBOX where NAME = @INBOXNAME;

return @id;

end