Skip to end of banner
Go to start of banner

hasInput

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Description

Verifies if a field had input in the transition screen. Should only be used in transitions that require a screen.

Parameters

Return Type

Boolean

A "true" return value means that the specified field had input in the transition screen.

Examples

Example 1 - checking whether a certain custom field has any value

hasInput("customfield_12003");

Returns "true" if the customfield_12003 contains a value and "false" if the customfield_12003 is empty.

Example 2 - checking whether a ticket has comments

hasInput("comment");

Returns "true" if the Comment field contains a value and "false" if the Comment field is empty.

  • No labels