Create a string
Function: Create a string
This action allows you to store a piece of text within your application's memory, making it available for use in subsequent steps or actions. Think of it as creating a temporary note with a specific message that your application can read later. The platform will automatically assign a unique name to this stored text, which you can then use to refer to it.
Input
- Value (Text): The actual text or message you want to store. This is the content of your note.
Output
- Variable name (Text): The unique name that the platform automatically assigned to your stored text. You will use this name to retrieve or reference your text in other parts of your application.
Execution Flow
Real-Life Examples
Here are a few ways you can use the "Create a string" action in your applications:
-
Storing a Welcome Message:
- Inputs:
- Value: "Welcome to our new customer portal!"
- Result: The system creates a variable (e.g., named
SystemString_1) containing the text "Welcome to our new customer portal!". This variable name (SystemString_1) is then available for you to use, for example, to display the message on a user's dashboard.
- Inputs:
-
Saving a Product Identifier:
- Inputs:
- Value: "PROD-XYZ-789"
- Result: The system creates a variable (e.g., named
ProductCode_A) holding the text "PROD-XYZ-789". You can then useProductCode_Ain a later step to search for product details in your database.
- Inputs:
-
Recording a Temporary Status:
- Inputs:
- Value: "Processing Payment"
- Result: The system creates a variable (e.g., named
CurrentStatus_B) with the text "Processing Payment". This variable name (CurrentStatus_B) can be used to update a status display on a user interface or to log the current state of an operation.
- Inputs: