Reject method

Rejects the row from its current step.

Syntax


C++

HRESULT Reject(BSTR RejectionComment)

Scripting languages

Row.Reject RejectionComment as String

Parameters


RejectionComment

An explanation as to why this row was rejected.

Return value


C++

The return code.

Scripting languages

None

Remarks


This method stores the current time as the rejection date and the currently logged in member as the rejecting member.  The string passed in through the RejectionComment parameter is stored as the plain text rejection comment.

If this approval process uses custom routing, then the custom handler associated with this approval process is notified that the row has changed.  If this approval process does not use custom routing, then the step approval column for the current step is cleared for this row, the row is moved into the previous step, and the step approval column for that step is also cleared for this row.

Home

Applies to

IERUDBRow