CurrentSignOffType
Structure
CurrentSignOffType
Parameters
none
Return Value
String
Description
This function returns the type of sign off about to be evaluated after the trigger action. There are 3 possible values (case sensitive): NAME, GROUP, or FILTER. A 'NAME' rule is a user-based sign off rule, as setup in Workflow Configuration - but specifically a user-based rule that is group 0 (not part of a group). A GROUP rule is a user-based sign off rule that has a group >= 1. A FILTER sign off rule is a filter-based sign off rule, as setup in Workflow Configuration.
Example
if LookupEventFieldText("CUSTOM_FIELD1") <> "" then
if ((CurrentSignOffType = "FILTER") and (CurrentSignOffName = "WORK PACKAGE")) then
AbortAction("")
End If
end if |