Yarken Help Centre

Manage Upload Rules

This section explains how to create, update, and delete Upload Rules to control how data is processed during file uploads.

Create an Upload Rule

Before creating a rule, it is important to understand:

  • Upload Rules are applied only during file upload

  • They are not dependent on month or year and apply to all future uploads

  • You can control rule execution using filters

Procedure

To create the upload rules:

  1. Navigate to the section where you want to create the upload rules.

  2. Click the UPLOAD RULES tab.

  3. Click + ADD NEW. A New Upload Rule screen appears.

    image-20260401-063925.png
  4. On the New Upload Rule screen, select the value from below required fields:

    1. Source Table: Choose the name of the data table from the application where the data will be uploaded according to specified rules. For example, Account, Actual Spend, or any other table.

      image-20260401-064126.png


    2. Field to Update: Select the destination column within the selected table where the rule will be applied.

      image-20260401-064330.png
  5. Select the Rule Type from various rule types:

    1. Default String / Integer / Float / Date
      Adds a fixed value to a field (text, number, decimal, or date).

    2. Copy Column
      Copies data from one column to another.

    3. Extract Column (Regex)
      Extracts specific values from a column using a pattern.

    4. Function
      Applies predefined system functions (e.g., convert data types, handle active status, extract tags).

    5. Lookup
      Retrieves and populates values from a predefined lookup table based on matching conditions.

    6. Concat
      Combines multiple fields (or values like default, sequence, file name) into a single field.

    7. Extract Tag
      Extracts specific tag values from a tag column in cloud data.

    8. Spend Reversal
      Excludes selected records and creates reversal entries.

    9. Ignore Rows
      Skips specific rows from being uploaded.

    10. Generate Date
      Automatically generates a date based on the upload month and year.

  6. Configure the rule-specific fields depending on the selected rule type.

  7. (Optional) Enable Apply on empty fields toggle button if you want to apply the rules on empty or blank fields.

  8. (Optional) Click + ADD FILTER to add additional filter criteria to the upload rules.

    image-20260401-070527.png
  9. (Optional) Add a Comment to describe the purpose of the rule.

  10. Click SAVE to activate the rule.

The upload rule is created. You can find a list of all the rules in the UPLOAD RULES tab.


Edit an upload rule

  1. Navigate to the Upload Rules tab in the required module.

  2. Locate the rule you want to modify.

  3. Click the Edit icon.

  4. Update the required fields:

    • Rule configuration

    • Filters

    • Apply on empty fields setting

    • Comment

  5. Click SAVE.

Notes:

  • Editing a rule will apply only to future uploads and will not automatically update existing data.

  • To apply the updated rule to previously uploaded records, you must re-upload (reload) the file so the changes can take effect during the upload process.


Delete an upload rule

  1. Navigate to the Upload Rules tab.

  2. Locate the rule you want to remove.

  3. Click the Delete icon.

  4. Confirm the deletion.

Notes:

After deleting upload rules,

  • The rule will no longer be applied to future uploads.

  • Existing data that was processed using the rule will remain unchanged.


Related content

Use Upload Rules

Rule types