# Group Code

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