> For the complete documentation index, see [llms.txt](https://doc.sysdevmobile.com/kalipso/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.sysdevmobile.com/kalipso/documentation/actions/group-code-flow.md).

# Group Code

| **Subgroup** | **Action**                                                                                                   | **Description**                                                                                                                                |
| ------------ | ------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------- |
| Conditions   | [Else](/kalipso/documentation/actions/group-code-flow/if...else...elseif...endif.md)                         | The if-then construct (sometimes called if-then-else) is common across many programming languages. Click to know more.                         |
| Conditions   | [If](/kalipso/documentation/actions/group-code-flow/if...else...elseif...endif.md)                           | The if-then construct (sometimes called if-then-else) is common across many programming languages.                                             |
| Conditions   | [End If](/kalipso/documentation/actions/group-code-flow/if...else...elseif...endif.md)                       | The if-then construct (sometimes called if-then-else) is common across many programming languages Click to know more.                          |
| Conditions   | [Else If](/kalipso/documentation/actions/group-code-flow/if...else...elseif...endif.md)                      | The if-then construct (sometimes called if-then-else) is common across many programming languages. Click to know more.                         |
| Conditions   | [On Error](/kalipso/documentation/actions/group-code-flow/on-error...-end-on-error.md)                       | This action is used to show a message error to the user. Typically, have a Message Box and a Cancel actions between On Error and End On Error. |
| Conditions   | [End On Error](/kalipso/documentation/actions/group-code-flow/on-error...-end-on-error.md)                   | This action is used to show a message error to the user. Typically, have a Message Box and a Cancel actions between On Error and End On Error. |
|              |                                                                                                              |                                                                                                                                                |
| Loops        | [For Each](/kalipso/documentation/actions/group-code-flow/for-each...end-for-each.md)                        | For each is an action for traversing items in a collection.                                                                                    |
| Loops        | [End For Each](/kalipso/documentation/actions/group-code-flow/for-each...end-for-each.md)                    | For each is an action for traversing items in a collection. End of the action                                                                  |
| Loops        | [Continue](/kalipso/documentation/actions/group-code-flow/continue.md)                                       | Go to to the begin of current loop.                                                                                                            |
| Loops        | [While](/kalipso/documentation/actions/group-code-flow/while...end-while.md)                                 | A while loop is a control flow statement that allows code to be executed repeatedly based on a given condition.                                |
| Loops        | [End While](/kalipso/documentation/actions/group-code-flow/while...end-while.md)                             | A while loop is a control flow statement that allows code to be executed repeatedly based on a given condition.                                |
|              |                                                                                                              |                                                                                                                                                |
| Interrupt    | [Cancel](/kalipso/documentation/actions/group-code-flow/cancel.md)                                           | Cancel Event execution.                                                                                                                        |
| Interrupt    | [Sleep](/kalipso/documentation/actions/group-code-flow/sleep.md)                                             | Stops execution during a specified amount of time.                                                                                             |
| Interrupt    | [Break](/kalipso/documentation/actions/group-code-flow/break.md)                                             | Exit from current loop.                                                                                                                        |
| Interrupt    | [Cancel All](/kalipso/documentation/actions/group-code-flow/cancel-all.md)                                   | Stop execution at this point (no other action are executed).                                                                                   |
|              |                                                                                                              |                                                                                                                                                |
| Threads      | [Critical Section Enter](/kalipso/documentation/actions/group-code-flow/critical-section-enter.md)           | This action defines the beginning of a critical section.                                                                                       |
| Threads      | [Critical Section Leave](/kalipso/documentation/actions/group-code-flow/critical-section-leave.md)           | This action defines the leaving of a critical section.                                                                                         |
| Threads      | [Critical Section is Locked](/kalipso/documentation/actions/group-code-flow/critical-section-is-locked.md)   | This action is used to user knows if a critical section is locked or not.                                                                      |
| Threads      | [Set Current Thread Priority](/kalipso/documentation/actions/group-code-flow/set-current-thread-priority.md) | This action defines the current thread priority.                                                                                               |
| Threads      | [Wait For Threads](/kalipso/documentation/actions/group-code-flow/wait-for-threads.md)                       | This action will wait until all background threads stop running.                                                                               |
|              |                                                                                                              |                                                                                                                                                |
| Code         | [Comment](/kalipso/documentation/actions/group-code-flow/comment.md)                                         | This action allows the user to introduce a text comment in the code.                                                                           |
| Code         | [Separator](/kalipso/documentation/actions/group-code-flow/separator.md)                                     | This action allows the user to introduce a separator in the code.                                                                              |
| Code         | [Breakpoint](/kalipso/documentation/actions/group-code-flow/breakpoint.md)                                   | This action introduces a breakpoint in the users code.                                                                                         |
| Code         | [Debug](/kalipso/documentation/actions/group-code-flow/debug.md)                                             | This action shows a string in the trace window. It is only for the simulator                                                                   |
| Code         | [Set Trace State](/kalipso/documentation/actions/group-code-flow/set-trace-state.md)                         | When testing your Project on the Simulator, you can trace the execution of your application.                                                   |
|              |                                                                                                              |                                                                                                                                                |
| JSON         | [JSON Import to Table](/kalipso/documentation/actions/group-code-flow/json-import-to-table.md)               | Imports from text or a JSON file to a Database Table.                                                                                          |
| JSON         | [JSON Export from Table](/kalipso/documentation/actions/group-code-flow/json-export-from-table.md)           | Exports from a Database Table to text or a JSON file.                                                                                          |
| JSON         | [JSON Get Value](/kalipso/documentation/actions/group-code-flow/json-get-value.md)                           | Retrieves the value from the item of a JSON object.                                                                                            |
| JSON         | [JSON Get Array Item](/kalipso/documentation/actions/group-code-flow/json-get-array-item.md)                 | Retrieves one item from a JSON array.                                                                                                          |
| JSON         | [JSON Get Array Item Count](/kalipso/documentation/actions/group-code-flow/json-get-array-item-count.md)     | Retrieves the number of items in a JSON array.                                                                                                 |
| JSON         | [JSON Get Name List](/kalipso/documentation/actions/group-code-flow/json-get-name-list.md)                   | Retrieves the properties list found in the top level JSON object.                                                                              |
|              |                                                                                                              |                                                                                                                                                |
| Encryption   | [Encrypt](/kalipso/documentation/actions/group-code-flow/encrypt.md)                                         | Encrypt a string or file based on a specified key.                                                                                             |
| Encryption   | [Decrypt](/kalipso/documentation/actions/group-code-flow/decrypt.md)                                         | Decrypt a string or file based on a specified key.                                                                                             |
| Encryption   | [CheckSum](/kalipso/documentation/actions/group-code-flow/checksum.md)                                       | Calculates Checksum based on CR32, MD5, SHA256, HMAC\_SHA256 and PBKDF2-HMAC-SHA256.                                                           |
| Encryption   | [Encrypt Symmetric](/kalipso/documentation/actions/group-code-flow/encrypt-symmetric.md)                     | Encrypt Symmetric allows to encrypt data with a unique Key. This Key needs to be the same to Encrypt and Decrypt.                              |
| Encryption   | [Decrypt Symmetric](/kalipso/documentation/actions/group-code-flow/decrypt-symmetric.md)                     | Decrypt Symmetric allows to decrypt data with a unique Key. This Key is the same for Encrypt and Decrypt.                                      |
| Encryption   | [Encrypt Asymmetric](/kalipso/documentation/actions/group-code-flow/encrypt-asymmetric.md)                   | Encrypt Asymmetric will use a Public Key to encrypt the data that can only be decrypted with the corresponding Private Key.                    |
| Encryption   | [Decrypt Asymetric](/kalipso/documentation/actions/group-code-flow/decrypt-asymetric.md)                     | Decrypt Asymmetric will use a Private Key to Decrypt the data.                                                                                 |
| Encryption   | [Sign Message](/kalipso/documentation/actions/group-code-flow/sign-message.md)                               | Sign Message with your Private Key will generate a “hash” that can be verified with your public key.                                           |
| Encryption   | [Verify Message](/kalipso/documentation/actions/group-code-flow/verify-message.md)                           | Verify Message will use your Public Key to validate the message that was previously Signed.                                                    |
| Encryption   | [KeyStore Encrypt](/kalipso/documentation/actions/group-code-flow/keystore-encrypt.md)                       | Encrypts with device security certificates.                                                                                                    |
| Encryption   | [KeyStore Decrypt](/kalipso/documentation/actions/group-code-flow/keystore-decrypt.md)                       | Decrypts with device security certificates.                                                                                                    |

{% hint style="info" %}
Taking into account its characteristics, there are some actions described here that are grouped in a single page. For example "While" and "End While" or "IF"; "ELSE"; "ELSEIF" and "ENDIF".
{% endhint %}
