Vai al contenuto principale

Nome dell'autore della firma

Struttura

Nome dell'autore della firma

Parametri

nessuno

Valore restituito

Stringa

Descrizione

Questa funzione restituisce il nome del codice che verrà eseguito dopo l'azione di trigger. Il valore restituito varia a seconda del valore di CurrentSignOffType (che può essere NAME, GROUP o FILTER). Se CurrentSignOffType è NAME, CurrentSignOffName restituirà il nome dell'utente. Se CurrentSignOffType è impostato su GROUP, CurrentSignOffName restituirà il numero del gruppo (come testo, ad esempio 1, 2, 3, ecc.) Se CurrentSignOffType è impostato su FILTER, CurrentSignOffName restituirà il nome della regola di filtro.

Esempio

if LookupEventFieldText("CUSTOM_FIELD1") <> "" then

if ((CurrentSignOffType = "FILTER") and (CurrentSignOffName = "WORK PACKAGE")) then

AbortAction("")

End If

end if |