Locate

Zoekt in een string naar een teken of een aantal opeenvolgende tekens.

Supported Script Types

The icon for a Generic script type - a rectangle with < and > symbols inside it.

The icon for the Email script type - a large @ symbol in a diamond.

The icon for the Chat script type - a chat bubble with an ellipsis inside (...), in a diamond shape.

The icon for the Phone script type - an old-style phone handset with curved lines indicating sound coming out of it.

The icon for the Voicemail script type - a symbol that looks like a cassette tape - two circles sitting on a horizontal line.

The icon for the Work Item script type-a piece of paper with one corner folded down and a bullet list on it.

The icon for the SMS script type - a smart phone with a chat bubble coming out of it.

The icon for the Digital script type - a computer monitor with a smartphone next to it.

Generiek

E-mail Chat Telefoon Voicemail Werkitem SMS Digitaal

Input Properties

Deze eigenschappen definiëren gegevens die de actie gebruikt bij het uitvoeren.

Vertakking

Beschrijving

String De string die u wilt invoegen, zoeken of parseren. Deze eigenschap ondersteunt variabelesubstitutie. Als deze waarde een variabele is in plaats van een letterlijke stringwaarde, moet u {accolades} gebruiken.
StringtoFind De string om naar te zoeken. Hierbij wordt vaak gebruikgemaakt van variabelesubstitutie.
Variable De naam van de variabele voor het opslaan van the value.
CaseSensitive De waarde voor deze eigenschap is True of False. True Vereist dat de StringtoFind-tekst exact is zoals deze is opgenomen in String (hoofdlettergevoelig).

Result Branch Conditions

Met Resultaatvertakkingsvoorwaarden kunt u vertakkingen maken in uw script om verschillende resultaten te behandelen wanneer de actie wordt uitgevoerd.

Voorwaarde

Beschrijving

Default

Het pad dat altijd wordt gevolgd, behalve als het script voldoet aan een voorwaarde die vereist dat het een van de andere vertakkingen volgt. Dit pad wordt ook gevolgd als de andere vertakkingen van de actie niet zijn gedefinieerd.

OnFound

Het pad dat wordt gevolgd als de zoekstring wordt gevonden.

Tips & Tricks

Als de gezochte string wordt gevonden, wordt de vertakkingsvoorwaarde Found getriggerd, maar krijgt de variabele echter een waarde groter dan nul. Dit biedt twee mogelijke methoden om de tekst te detecteren.