Print

SignField

This function will add a signature of the current user to a specified field. Optionally, additional comment and section name can be provided. If the section name is specified, the signature becomes a section signature, otherwise it is a full case signature.

Syntax

SignField(fieldName);
SignField(fieldName,comment);
SignField(fieldName,comment,sectionName);

Function arguments

  • fieldName – (String) a name of the field to which signature is to be added;
  • comment – (String) [optional] an additional comment to signature;
  • sectionName – (String) [optional] a name of the section to be signed. If not used, signature becomes a full case signature, otherwise it is a section signature.

Return value

This function returns Boolean.
This function always returns true.

Examples

Example 1

This will add a signature of the current user to 'field1′ case field.

SignField("field1");

Example 2

This will add signature of the current user to 'field1′ case field along with some comment.

SignField("field1", "some comment");

Example 3

This will add signature of the current user to 'sectionX’ section of 'field1′ case field along with some comment.

SignField("field1", "some comment","sectionX");
Czy artykuł był pomocny?
0 na 5 gwiazdek
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
5
How can we improve this article?
How Can We Improve This Article?