> ## Documentation Index
> Fetch the complete documentation index at: https://docs.engini.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Errors Creating Priority Orders-> Writing in monday.com Field

In this tutorial, learn how to automate the writing specific errors in a dedicated field in monday.com when getting workflow errors of creating an orders in Priority.

## Prerequisites

Before you begin, ensure the following connections are established:

1. Connection between Engini and Monday.
   Learn how to [connect monday to Engini](/help/apps/mondaycom#connecting-engini-to-monday-com)
2. Connection between Engini and Priority.
   Learn how to [connect priority to Engini](/help/apps/priority-erp#connecting-engini-to-priority-erp)

## Initialize Variable

To get started insert the simple trigger called Button, and then let’s initialize a variable that will later hold the error’s title of error in Priority:

<img src="https://mintcdn.com/engini/vwQ3LHyP533bOu6-/help/assets/tutorials/errors-creating-priority-orders-greater-writing-in-mondaycom-field/kygf11ntp0dVO0UroLTyy_3-4.png?fit=max&auto=format&n=vwQ3LHyP533bOu6-&q=85&s=9a99872ee7526745283847a2b4983cf2" alt="" width="1916" height="986" data-path="help/assets/tutorials/errors-creating-priority-orders-greater-writing-in-mondaycom-field/kygf11ntp0dVO0UroLTyy_3-4.png" />

1. *Name -* Click on the empty field and choose from the tooltip a name for the variable. For example “Errors”
2. *Type -* Choose from the drop down the “Array” option.
3. *Value -* Sets the initial value of the variable.

## Parse JSON / XML

Next, add a new activity and choose the “Parse JSON/XML” activity of Engini:

<img src="https://mintcdn.com/engini/vwQ3LHyP533bOu6-/help/assets/tutorials/errors-creating-priority-orders-greater-writing-in-mondaycom-field/DObd_2tWDNAN41zdnevpD_image.png?fit=max&auto=format&n=vwQ3LHyP533bOu6-&q=85&s=f94630253fa4f29514374533b1e4736c" alt="" width="1917" height="985" data-path="help/assets/tutorials/errors-creating-priority-orders-greater-writing-in-mondaycom-field/DObd_2tWDNAN41zdnevpD_image.png" />

1. Click on the empty field and the tooltip will pop up showing contents from the previous activities which you can choose to parse.

2. Press on the “Functions” button located on the topbar, then go to “Workflow functions” and choose the “Errors()” function.

   <img src="https://mintcdn.com/engini/vwQ3LHyP533bOu6-/help/assets/tutorials/errors-creating-priority-orders-greater-writing-in-mondaycom-field/iv82Odzwfeyv5WJbuHCa4_untitled-design-59.png?fit=max&auto=format&n=vwQ3LHyP533bOu6-&q=85&s=cbae488c930604c43e925e2203be1a99" alt="" width="1917" height="987" data-path="help/assets/tutorials/errors-creating-priority-orders-greater-writing-in-mondaycom-field/iv82Odzwfeyv5WJbuHCa4_untitled-design-59.png" />

3. Press the blue phrase “Load Json/Xml sample to generate structure” and a window will open.

   <img src="https://mintcdn.com/engini/vwQ3LHyP533bOu6-/help/assets/tutorials/errors-creating-priority-orders-greater-writing-in-mondaycom-field/eVRyjUCaNKojEkb6IHG5z_image.png?fit=max&auto=format&n=vwQ3LHyP533bOu6-&q=85&s=62b94b396c88a97111eb39b8e47be328" alt="" width="1918" height="984" data-path="help/assets/tutorials/errors-creating-priority-orders-greater-writing-in-mondaycom-field/eVRyjUCaNKojEkb6IHG5z_image.png" />

4. Paste this JSON sample payload and press “Save”:

```text theme={null}
[
  {
    "Title": "Failed Parsing Definition",
    "Message": "Fieldname: input-, Value: ##1.test Error: Can't resolve field 1.test",
    "StepNo": 9,
    "Application": "Engini",
    "ActivityName": "Construct",
    "loopPath": [
      {
        "ParentStep": 8,
        "StepIteration": 1
      }
    ],
    "Handled": false
  },
  {
    "Title": "Failed Parsing Definition",
    "Message": "Fieldname: input-, Value: ##1.test Error: Can't resolve field 1.test",
    "StepNo": 9,
    "Application": "Engini",
    "ActivityName": "Construct",
    "loopPath": [
      {
        "ParentStep": 8,
        "StepIteration": 2
      }
    ],
    "Handled": false
  }
]
```

## For Each Loop

Add a new activity and choose the “For Each Loop” activity of Engini:

<img src="https://mintcdn.com/engini/vwQ3LHyP533bOu6-/help/assets/tutorials/errors-creating-priority-orders-greater-writing-in-mondaycom-field/-1SHaZDliv-_mgu7OoEKW_image.png?fit=max&auto=format&n=vwQ3LHyP533bOu6-&q=85&s=2d8a68c51aa734052d84116e1bf2a24e" alt="" width="1917" height="984" data-path="help/assets/tutorials/errors-creating-priority-orders-greater-writing-in-mondaycom-field/-1SHaZDliv-_mgu7OoEKW_image.png" />

1. Click on the empty field and the tooltip will pop up showing contents from the previous activities which you can choose.
2. In the pop-up window that appears, click on “Dynamic Content” in the top toolbar, then navigate to the “Parse JSON/XML” property and choose the “parseobject\[]” value.

   <img src="https://mintcdn.com/engini/vwQ3LHyP533bOu6-/help/assets/tutorials/errors-creating-priority-orders-greater-writing-in-mondaycom-field/BUdU5ljvsSDOyAbCngtkS_untitled-design-2026-05-31t112318358.png?fit=max&auto=format&n=vwQ3LHyP533bOu6-&q=85&s=97ca0b3ffcd86c475192a8960986fe8b" alt="" width="1914" height="983" data-path="help/assets/tutorials/errors-creating-priority-orders-greater-writing-in-mondaycom-field/BUdU5ljvsSDOyAbCngtkS_untitled-design-2026-05-31t112318358.png" />

## Append to Array variable

Now, Inside “For each loop” block, add a new activity and choose the “Append to Array variable” activity of Engini:

<img src="https://mintcdn.com/engini/vwQ3LHyP533bOu6-/help/assets/tutorials/errors-creating-priority-orders-greater-writing-in-mondaycom-field/IwOgisOJ7eeAoFL35xjKx_image.png?fit=max&auto=format&n=vwQ3LHyP533bOu6-&q=85&s=82a9e3ef8991d866ff05c44fda68625d" alt="" width="1919" height="990" data-path="help/assets/tutorials/errors-creating-priority-orders-greater-writing-in-mondaycom-field/IwOgisOJ7eeAoFL35xjKx_image.png" />

1. Click on the drop down and choose the name you gave the variable you initialize. For example “Errors”.
2. Click on the empty field next to the “value” and the tooltip will pop up showing contents from the previous activities.
3. In the popped-up tooltip, click on “Dynamic Content” in the top of the tooltip, then navigate to the “Parse JSON/XML” property and choose the “jsonobject\[]” value.

   <img src="https://mintcdn.com/engini/vwQ3LHyP533bOu6-/help/assets/tutorials/errors-creating-priority-orders-greater-writing-in-mondaycom-field/II8GHBiHG7D6d87WkYQd2_untitled-design-2026-05-31t112515918.png?fit=max&auto=format&n=vwQ3LHyP533bOu6-&q=85&s=f200f6143101a756ec6bb4c6acd30f4e" alt="" width="1918" height="985" data-path="help/assets/tutorials/errors-creating-priority-orders-greater-writing-in-mondaycom-field/II8GHBiHG7D6d87WkYQd2_untitled-design-2026-05-31t112515918.png" />

## Compose string

Add a new activity inside the For Each Loop action and choose the “Compose string” activity of Engini:

<img src="https://mintcdn.com/engini/vwQ3LHyP533bOu6-/help/assets/tutorials/errors-creating-priority-orders-greater-writing-in-mondaycom-field/l8VQ5OmEojJ6VnxDIc5ft_image.png?fit=max&auto=format&n=vwQ3LHyP533bOu6-&q=85&s=9677e235c179032d18885199f7c1d8c1" alt="" width="1919" height="985" data-path="help/assets/tutorials/errors-creating-priority-orders-greater-writing-in-mondaycom-field/l8VQ5OmEojJ6VnxDIc5ft_image.png" />

1. Click on the empty field and the tooltip will pop up showing contents from the previous activities which you can choose.

2. Press on the “Functions” button located on the top of the tooltip then go to “Text functions” and choose the “Split()” function.

   <img src="https://mintcdn.com/engini/vwQ3LHyP533bOu6-/help/assets/tutorials/errors-creating-priority-orders-greater-writing-in-mondaycom-field/gWGyKNFRePr2rPPt3KoV3_untitled-design-2026-05-31t112736199.png?fit=max&auto=format&n=vwQ3LHyP533bOu6-&q=85&s=022c4405ee398f9554995e63cf8d11c8" alt="" width="1919" height="987" data-path="help/assets/tutorials/errors-creating-priority-orders-greater-writing-in-mondaycom-field/gWGyKNFRePr2rPPt3KoV3_untitled-design-2026-05-31t112736199.png" />

3. Add function to the first place inside the “split” function.

   <img src="https://mintcdn.com/engini/vwQ3LHyP533bOu6-/help/assets/tutorials/errors-creating-priority-orders-greater-writing-in-mondaycom-field/HOmfTA7pEajuYCCsqGUb7_untitled-design-2026-05-31t113205237.png?fit=max&auto=format&n=vwQ3LHyP533bOu6-&q=85&s=656e5db8543e37a2ad8031eb4bed5e19" alt="" width="1919" height="985" data-path="help/assets/tutorials/errors-creating-priority-orders-greater-writing-in-mondaycom-field/HOmfTA7pEajuYCCsqGUb7_untitled-design-2026-05-31t113205237.png" />

   * Click on the first place inside the “split” function and the tooltip will pop up showing contents from the previous activities which you can choose.

   * Press on the “Functions” button located on the top of the tooltip then go to “Text functions” and choose the “Split()” function.

     <img src="https://mintcdn.com/engini/vwQ3LHyP533bOu6-/help/assets/tutorials/errors-creating-priority-orders-greater-writing-in-mondaycom-field/dF_ONiasmlBbFq4pUyWCl_untitled-design-2026-05-31t112852229.png?fit=max&auto=format&n=vwQ3LHyP533bOu6-&q=85&s=7cb9560ab239fbbac830d4dd5b87cc91" alt="" width="1918" height="986" data-path="help/assets/tutorials/errors-creating-priority-orders-greater-writing-in-mondaycom-field/dF_ONiasmlBbFq4pUyWCl_untitled-design-2026-05-31t112852229.png" />

   * Click on the empty place ( ) inside the “First” function and the tooltip will pop up showing contents from the previous activities which you can choose.

   * Press on the “Dynamic Content” located on the top of the tooltip, then go to “Variable – Errors” activity and choose the “Errors\[]” value.

     <img src="https://mintcdn.com/engini/vwQ3LHyP533bOu6-/help/assets/tutorials/errors-creating-priority-orders-greater-writing-in-mondaycom-field/QncqpXLs1PQ-LvNq4gSjN_untitled-design-2026-05-31t114056772.png?fit=max&auto=format&n=vwQ3LHyP533bOu6-&q=85&s=588c8e6c5fb53a5b9c999165b62a2a55" alt="" width="1915" height="988" data-path="help/assets/tutorials/errors-creating-priority-orders-greater-writing-in-mondaycom-field/QncqpXLs1PQ-LvNq4gSjN_untitled-design-2026-05-31t114056772.png" />

4. Add phrase to the second place inside the “split” function.

   <img src="https://mintcdn.com/engini/vwQ3LHyP533bOu6-/help/assets/tutorials/errors-creating-priority-orders-greater-writing-in-mondaycom-field/KdFQw12jlnYtC9SYvxqa9_untitled-design-2026-05-31t113327173.png?fit=max&auto=format&n=vwQ3LHyP533bOu6-&q=85&s=17635d1c137fb9cd982f1400f91661b5" alt="" width="1919" height="985" data-path="help/assets/tutorials/errors-creating-priority-orders-greater-writing-in-mondaycom-field/KdFQw12jlnYtC9SYvxqa9_untitled-design-2026-05-31t113327173.png" />

   * Click on the second place inside the “split” function and the tooltip will pop up showing contents from the previous activities which you can choose.

   * Close the tooltip and write manually the value “-“.

## Get Items

Add a new activity inside the loop, choose the “Get Items” activity of monday.com:

<img src="https://mintcdn.com/engini/vwQ3LHyP533bOu6-/help/assets/tutorials/errors-creating-priority-orders-greater-writing-in-mondaycom-field/iQJ-OX3S0FUzrJcx0ym0n_screenshot-2026-05-31-114534.png?fit=max&auto=format&n=vwQ3LHyP533bOu6-&q=85&s=96d3d5f0e95ce8edfea5e73a31a0a332" alt="" width="1918" height="987" data-path="help/assets/tutorials/errors-creating-priority-orders-greater-writing-in-mondaycom-field/iQJ-OX3S0FUzrJcx0ym0n_screenshot-2026-05-31-114534.png" />

Fill the “Board” field according to your needs.

## Update Item

Add a new activity inside the loop, choose the “Update Item” activity of monday.com:

<img src="https://mintcdn.com/engini/vwQ3LHyP533bOu6-/help/assets/tutorials/errors-creating-priority-orders-greater-writing-in-mondaycom-field/KMoq1JBiB8BDZ5gediEs4_image.png?fit=max&auto=format&n=vwQ3LHyP533bOu6-&q=85&s=e0b590719c3aaa7f0a6fa801d9c267c4" alt="" width="1918" height="985" data-path="help/assets/tutorials/errors-creating-priority-orders-greater-writing-in-mondaycom-field/KMoq1JBiB8BDZ5gediEs4_image.png" />

1. Fill the “Board” and “Item Id” fields according to your needs.
2. *Fields*
   1. Click on the drop down and choose the field you want to update.
      For example “Error Message”.

   2. Click on the empty field and the tooltip will pop up showing contents from the previous activities.

   3. Press on the “Functions” button located on the top bar, then go to “Collection functions” and choose the “GetArrayElement()” function.

      <img src="https://mintcdn.com/engini/vwQ3LHyP533bOu6-/help/assets/tutorials/errors-creating-priority-orders-greater-writing-in-mondaycom-field/n3GZ9I-o0ei0c1TT9oKi4_untitled-design-2026-05-31t115315151.png?fit=max&auto=format&n=vwQ3LHyP533bOu6-&q=85&s=1534cba131e8a97287161339f7eddea5" alt="" width="1916" height="989" data-path="help/assets/tutorials/errors-creating-priority-orders-greater-writing-in-mondaycom-field/n3GZ9I-o0ei0c1TT9oKi4_untitled-design-2026-05-31t115315151.png" />

   4. Add value to the first place inside the “GetArrayElement” function.

      <img src="https://mintcdn.com/engini/vwQ3LHyP533bOu6-/help/assets/tutorials/errors-creating-priority-orders-greater-writing-in-mondaycom-field/KLTpwYbMHmzFzlUP2nqLQ_untitled-design-2026-05-31t115426179.png?fit=max&auto=format&n=vwQ3LHyP533bOu6-&q=85&s=dd00cef21ea38684c2609e81334b4d61" alt="" width="1918" height="985" data-path="help/assets/tutorials/errors-creating-priority-orders-greater-writing-in-mondaycom-field/KLTpwYbMHmzFzlUP2nqLQ_untitled-design-2026-05-31t115426179.png" />

      * Click on the first place inside the “GetArrayElement” function and the tooltip will pop up showing contents from the previous activities which you can choose.

      * Press on the “Dynamic Content” located on the top of the tooltip, then go to “Compose String” activity and choose the “Output” value.

        <img src="https://mintcdn.com/engini/vwQ3LHyP533bOu6-/help/assets/tutorials/errors-creating-priority-orders-greater-writing-in-mondaycom-field/X9xNvxu2ugfn3CvuIuTXd_untitled-design-2026-05-31t115146352.png?fit=max&auto=format&n=vwQ3LHyP533bOu6-&q=85&s=a1bb93d9db6b4a8069adee3bf50224ea" alt="" width="1915" height="984" data-path="help/assets/tutorials/errors-creating-priority-orders-greater-writing-in-mondaycom-field/X9xNvxu2ugfn3CvuIuTXd_untitled-design-2026-05-31t115146352.png" />

   5. Add value to the second place inside the “GetArrayElement” function.

      <img src="https://mintcdn.com/engini/vwQ3LHyP533bOu6-/help/assets/tutorials/errors-creating-priority-orders-greater-writing-in-mondaycom-field/GHIjKBsD8eFKh_Fk7hIUt_untitled-design-2026-05-31t115455280.png?fit=max&auto=format&n=vwQ3LHyP533bOu6-&q=85&s=ee9c90319592b5ca61562485577acbc4" alt="" width="1918" height="985" data-path="help/assets/tutorials/errors-creating-priority-orders-greater-writing-in-mondaycom-field/GHIjKBsD8eFKh_Fk7hIUt_untitled-design-2026-05-31t115455280.png" />

      * Click on the second place inside the “GetArrayElement” function and the tooltip will pop up showing contents from the previous activities which you can choose.

      * Close the tooltip and write manually the number of the error message place. For example 1.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.