CurrentSignOffName
Structure
CurrentSignOffName
Parameters
none
Return Value
String
Description
This function returns the name of sign off about to be evaluated after the trigger action. The return value will vary depending upon the CurrentSignOffType value (either NAME, GROUP, or FILTER). If the CurrentSignOffType is NAME then the CurrentSignOffName will return the name of the user. If the CurrentSignOffType is GROUP then the CurrentSignOffName will return the # of the group (as text, like 1, 2, 3, etc.) If the CurrentSignOffType is FILTER then the CurrentSignOffName will return the name of the filter rule.
Example
if LookupEventFieldText("CUSTOM_FIELD1") <> "" then
if ((CurrentSignOffType = "FILTER") and (CurrentSignOffName = "WORK PACKAGE")) then
AbortAction("")
End If
end if |