CreateProcessStep method

Creates a process step. Steps are DBPages whose type is erItemDBProcessStep.

Syntax


C++
HRESULT CreateProcessStep( 
   BSTR
Name,
   LONG
Position,
   LONG
CreateOptions,
   IERUItem **
ppDBProcessStep
)
Scripting languages
Object.CreateProcessStep(
   Name as String,
   Position
as Long,
   CreateOptions
as Long)

Parameters


Name

The name of the step.

Position

The position in which the step appears in the approval process. If the position parameter is 0, then the step is added to the end.

CreateOptions

One or more values from the ERUCreateOption enumeration, logically OR'ed together. Valid ERUCreateOption values are:

  • erCreateOptShowDescription (Value = 1)

  • erCreateOptIncludeComments (Value = 2)

  • erCreateOptIncludeAttachmentBox (Value = 4)

  • erCreateOptMakeNameUnique (Value = 512)

ppDBProcessStep

Upon return, a pointer to an IERUDBPage interface.

Return value


C++

The return code.

Scripting languages

A pointer to an IERUDBPage interface.

 

Home

Applies to

IERUDBProcess