Skip to main content

Celonis Product Documentation

Dispute Action Flows
  1. Write Dispute Activity:

    1. Step 1: Add Webhooks (1):

      image108.png
    2. Step 2: CSV (12):

      1. Click on CSV (12).

      2. Click the Add button.

        image112.png
      3. Enter the name (CSV Structure for dispute activity) in the udts.name field.

        image29.png
      4. Click the Add item button.

        image21.png
      5. Enter the name from the table below in the Name field and select the corresponding Type.

        Note

        Add all items in the specification one by one.

        Name

        Type

        CASE_ID

        text

        ACTIVITY_EN

        text

        USER_NAME

        text

        SORTING

        Number

        EVENTTIME

        Date

        TRANSACTION_ID

        text

      6. Click the Save button.

      7. Click the OK button.

    3. Step 3: Tools (7):

      1. Click on Tools (7).

        image62.png
      2. Enter the Poolid in the item 1 field.

      3. Enter the Team domain name in the item 2 field.

      4. Enter the env name in the item 3 field.

      5. Enter the App key in the item 4 field.

      6. Click the OK button.

    4. Step 4: Define Job Setting (13):

      1. Click on Define Job Setting (13).

        image122.png
      2. Select “Define Job Setting” in the Data structure field.

      3. Click the OK button.

    5. Step 5: Save the action flow.

  1. Write Dispute Note:

    1. Step 1: Add Webhooks (1):

      image115.png
    2. Step 2: CSV (12):

      1. Click on CSV (12).

      2. Click the Add button.

        image67.png
      3. Enter the name (CSV Structure for dispute note) in the udts.name field.

        image29.png
      4. Click the Add item button.

        image21.png
      5. Enter the name from the table below in the Name field and select the corresponding Type.

        Note

        Add all items in the specification one by one.

        Name

        Type

        CASE_ID

        text

        TRANSACTION_ID

        text

        NOTE_ID

        text

        SORTING

        Number

        EVENTTIME

        Date

        NOTE

        text

        UTILITY

        text

        CREATED_BY

        text

      6. Click the Save button.

      7. Click the OK button.

    3. Step 3: Set Variables (7):

      1. Click on Set Variables (7).

        image62.png
      2. Enter the Poolid in the item 1 field.

      3. Enter the Team domain name in the item 2 field.

      4. Enter the env name in the item 3 field.

      5. Enter the App key in the item 4 field.

      6. Click the OK button.

    4. Step 4: Define Job Setting (13):

      1. Click on Define Job Setting (13).

        image122.png
      2. Select “Define Job Setting” in the Data structure field.

      3. Click the OK button.

    5. Step 5: Save the action flow.

  1. Write Transaction Dispute:

    1. Step 1: Add Webhooks (1):

      image69.png
    2. Step 2: CSV (12):

      1. Click on CSV (12).

        image18.png
      2. Click the Add button.

      3. Enter the name (CSV structure for create dispute) in the udts.name field.

        image29.png
      4. Click the Add item button.

        image21.png
      5. Enter the name from the table below in the Name field and select the corresponding Type.

        Note

        Add all items in the specification one by one.

        Name

        Type

        DISPUTE_NUMBER

        text

        TRANSACTION_ID

        text

        ACCOUNT_ID

        text

        AMOUNT

        Number

        OWNER

        text

        DISPUTE_RESOLVER

        text

        STATUS

        text

        CREATED_DATE

        Date

        CREATED_BY

        text

        TYPE

        text

        REASON_CODE

        text

      6. Click the Save button.

      7. Click the OK button.

    3. Step 3: Tools (7):

      1. Click on Tools (7).

        image62.png
      2. Enter the Poolid in the item 1 field.

      3. Enter the Team domain name in the item 2 field.

      4. Enter the env name in the item 3 field.

      5. Enter the App key in the item 4 field.

      6. Click the OK button.

    4. Step 4: Define Job Setting (13):

      1. Click on Define Job Setting (13).

        image122.png
      2. Select “Define Job Setting” in the Data structure field.

      3. Click the OK button.

    5. Step 5: Save the action flow.

  1. Close Open Dispute When Invoice Close:

    1. Step 1: Tools (1):

      1. Click on Tools (1).

        image75.png
      2. Enter the Team domain name in the item 1 field.

      3. Enter the env name in the item 2 field.

      4. Enter the App key in the item 3 field.

      5. Enter the Write Dispute Activity URL in the item 4 field. (Open Write Dispute Activity action flow, copy webhooks URL and paste).

      6. Enter the AF key in the item 5 field.

        image84.png
      7. Enter the KM key in the item 6 field.

      8. Click the OK button.

    2. Step 2: Get Transaction (2):

      1. Click on Get Transaction (2).

        image20.png
      2. Select the Connection.

      3. Select a data pool.

      4. Select a data model.

      5. Click the OK button.

    3. Step 3: Get Dispute (6):

      1. Click on Get Dispute (6).

        image20.png
      2. Select the Connection.

      3. Select a data pool.

      4. Select a data model.

      5. Click the OK button.

    4. Step 4: Prepare Data List (13):

      1. Click on Prepare Data List (13).

        image39.png
      2. Click the Add button.

      3. Enter the name (Prepare data list For close dispute) in the udts.name field.

        image29.png
      4. Click the Add item button.

        image21.png
      5. Enter the name from the table below in the Name field and select the corresponding Type.

        Note

        Add all items in the specification one by one.

        Name

        Type

        Data

        Array(Select collection)

        Name

        Type

        Dispute_Id

        text

        Transaction_Id

        text

      6. Click the Save button.

      7. Click the OK button.

    5. Step 5: JSON (7):

      1. Click on JSON (7).

        image60.png
      2. Select “JSON for update augmented” in the Data structure field.

      3. Click the OK button.

    6. Step 6: JSON for activity (16):

      1. Click on JSON for activity (16).

        image31.png
      2. Click the Add button.

      3. Enter the name (JSON for dispute activity) in the udts.name field.

        image29.png
      4. Click the Add item button.

        image21.png
      5. Enter the name from the table below in the Name field and select the corresponding Type.

        Note

        Add all items in the specification one by one.

        Name

        Type

        Data

        Array(Select collection)

        Name

        Type

        activityName

        text

        sorting

        number

      6. Click the Save button.

      7. Click the OK button.

    7. Step 7: Prepare HTTP body for dispute activity (17):

      1. Click on Prepare HTTP body for dispute activity (17).

      2. Click the Add button.

        image86.png
      3. Enter the name (Prepare HTTP body for dispute) in the udts.name field.

      4. Click the Generate button.

        image22.png
      5. Enter the Json statement below in the datastores.generator.sample_data field.

        Note

        Select “number type” for currentTimeStamp.

        {
        "data":"",
        "accountId":"",
        "owner":"",
        "resolver":"",
        "currentUser":"",
        "currentTimeStamp":0,
        "note":"",
        "activityType":""
        }
      6. Click the Common.generator button.

      7. Click the Save button.

      8. Click the OK button.

    8. Step 8: Save action flow.

  1. Create Dispute:

    1. Step 1: Add Webhooks (1):

      image59.png
    2. Step 2: Set Variable (27):

      1. Click on the Set Variable (27).

        image32.png
      2. Enter the Write Transaction Dispute URL in the item 1 field.

      3. Enter the Write Dispute Note URL in the item 2 field.

      4. Enter the Write Dispute Activity URL in the item 3 field.

      5. Enter the update account augmented URL in the item 4 field.

      6. Enter the write account activity URL in the item 5 field.

      7. Enter the update invoice augmented URL in the item 6 field.

      8. Enter the write invoice activity URL in the item 7 field.

      9. Enter the AF key in the item 8 field.

        image77.png
      10. Enter the KM key in the item 9 field.

      11. Enter the team domain Name in the item 10 field.

      12. Enter the env in the item 11 field.

      13. Enter the app key in the item 12 field.

      14. Click the OK button.

    3. Step 3: Prepare dispute insert list (25):

      1. Click on Prepare dispute insert list (25).

        image128.png
      2. Click the Add button

      3. Enter the name (Insert Dispute) in the udts.name field.

        image29.png
      4. Click the Add item button.

        image21.png
      5. Enter the name from the table below in the Name field and select the corresponding Type.

        Note

        Add all items in the specification one by one.

        Name

        Type

        Data

        Array(Select collection)

        Name

        Type

        DISPUTE_NUMBER

        text

        TRANSACTION_ID

        text

        AMOUNT

        number

        TYPE

        text

        REASON_CODE

        text

        INVOICE_NO

        text

      6. Click the Save button.

      7. Click the OK button.

    4. Step 4: JSON for activity (30):

      1. Click on the JOSN for activity (30).

        image7.png
      2. Select “Json for dispute activity” in the Data structure field.

      3. Click the OK button.

    5. Step 5: Prepare HTTP body for Created dispute (26):

      1. Click on Prepare HTTP body for Created dispute (26).

        image16.png
      2. Select “Prepare HTTP body for dispute” in the Data structure field.

      3. Click the OK button.

    6. Step 5: Create task for resolver (32):

      1. Click on Create task for resolver (32).

        image102.png
      2. Select the connection.

      3. Select a package.

      4. Select “Create Dispute Task” in the Skill field.

      5. Click the OK button.

    7. Step 6: Prepare Data List for invoice (36):

      1. Click on Prepare Data List for invoice (36).

        image103.png
      2. Select “Prepare Data List” in the Data structure field.

      3. Click the OK button.

    8. Step 7: Prepare HTTP body for invoice (37):

      1. Click on Prepare HTTP body for invoice (37).

        image127.png
      2. Select “Prepare HTTP body for invoice” in the Data structure field.

      3. Click the OK button.

    9. Step 8: JSON for update augmented (42):

      1. Click on JSON for update augmented (42).

        image35.png
      2. Select “JSON for update augmented” in the Data structure field.

      3. Click the OK button.

    10. Step 9: Prepare data list for account (46):

      1. Click on Prepare data list for account (46).

        image114.png
      2. Select “Prepare Data List” in the Data structure field.

      3. Click the OK button.

    11. Step 10: Prepare HTTP body for account (47):

      1. Click on Prepare HTTP body for account (47).

        image5.png
      2. Select “Prepare HTTP body for account” in the Data structure field.

      3. Click the OK button.

    12. Step 11: Celonis (35):

      1. Click on Celonis (35)

      2. Select the connection.

      3. Select a package and skill.

        image88.png
      4. Click the OK button.

    13. Step 12: Email (16):

      1. Click on Email (16).

      2. Click the Add button.

      3. Set the Connection type.

        image36.png
      4. Click the Save button.

      5. Click the OK button.

    14. Step 13: Save the action flow.

  1. Update Dispute From Task

    1. Step 1: Add Webhooks (117):

      image147.png
    2. Step 2: Tools (65):

      1. Click on Tools (65).

        image80.png
      2. Enter the team domain in the item 1 field.

      3. Enter the env in the item 2 field.

      4. Enter the app key in the item 3 field.

      5. Enter the Write Dispute Note URL in the item 4 field.

      6. Enter the Write Dispute Activity URL in the item 5 field.

      7. Enter the AF key in the item 6 field.

        image54.png
      8. Enter the KM key in the item 7 field.

      9. Click the OK button.

    3. Step 3: Create data list (70):

      1. Click on Create data list (70).

      2. Select “Insert Dispute” in the Data structure field.

        image33.png
      3. Click the OK button.

    4. Step 4: JSON (64):

      1. Click on JSON (64).

        image35.png
      2. Select “JSON for update augmented” in the Data structure field.

      3. Click the OK button.

    5. Step 5: JSON for activity (72):

      1. Click on JSON for activity (72):

        image2.png
      2. Select “JSON for dispute activity” in the Data structure field.

      3. Click the OK button.

    6. Step 6: Prepare HTTP body (71):

      1. Click on Prepare HTTP body (71).

      2. Select “Prepare HTTP body for dispute” in the Data structure field.

        image50.png
      3. Click the OK button.

    7. Step 7: JSON (93):

      1. Click on JSON (93).

        image35.png
      2. Select “JSON for update augmented” in the Data structure field.

      3. Click the OK button.

    8. Step 8: JSON for activity (99):

      1. Click on JSON for activity (99).

        image2.png
      2. Select “JSON for dispute activity” in the Data structure field.

      3. Click the OK button.

    9. Step 9: Prepare HTTP body (100):

      1. Click on Prepare HTTP body (100).

      2. Select “Prepare HTTP body for dispute” in the Data structure field.

        image50.png
      3. Click the OK button.

    10. Step 10: Save the action flow.

  1. Update Dispute:

    1. Step 1: Add Webhooks (1):

      image109.png
    2. Step 2: Tools (65):

      1. Click on Tools (65).

        image80.png
      2. Enter the team domain in the item 1 field.

      3. Enter the env in the item 2 field.

      4. Enter the app key in the item 3 field.

      5. Enter the Write Dispute Note URL in the item 4 field.

      6. Enter the Write Dispute Activity URL in the item 5 field.

      7. Enter the AF key in the item 6 field.

        image52.png
      8. Enter the KM key in the item 7 field.

      9. Click the OK button.

    3. Step 3: Create data list (70):

      1. Click on Create data list (70).

      2. Select “Insert Dispute” in the Data structure field.

        image33.png
      3. Click the OK button.

    4. Step 4: JSON (64)/(75)/(84)/(93)/(102):

      1. Click on JSON (64).

        image35.png
      2. Select “JSON for update augmented” in the Data structure field.

      3. Click the OK button.

    5. Step 5: JSON for activity (72)/(81)/(90)/(99)/(108):

      1. Click on JSON for activity (72).

        image2.png
      2. Select “JSON for dispute activity” in the Data structure field.

      3. Click the OK button.

    6. Step 6: Prepare HTTP body (71)/(82)/(91)/(100)/(109):

      1. Click on Prepare HTTP body (71).

      2. Select “Prepare HTTP body for dispute” in the Data structure field.

        image50.png
      3. Click the OK button.

    7. Step 7: Get Old task (114)/(111):

      1. Click on Get Old task (114).

        image14.png
      2. Select the connection.

      3. Select a Data pool.

      4. Select a Data model.

      5. Click the OK button.

    8. Step 8: Closed Old task (115)/(112):

      1. Click on Closed Old task (115).

        image14.png
      2. Select the Connection.

      3. Select a Data pool.

      4. Click the OK button.

    9. Step 9: Create task for new resolver (113):

      1. Click on Create task for new resolver (113).

        image90.png
      2. Select the Connection.

      3. Select a Package.

      4. Select “Create Task” in the Skill field.

      5. Click the OK button.

    10. Step 10: Save the action flow.