Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Reviewing the request: The approver can observe the new task created by the requester and its details. The fields that are requested to be changed are marked with a different background color.

...

  • If the Approver decides to reject the request, it will be declined without any changes to the Currency configuration. The task status will be set to 'resolved', and it will be removed from the open tasks list for both the Approver and the Requester in the Workspace.

...

Expand
titleFull Audit logs code for Workflow with 'Reject' decision
Code Block
{
  "name": "Cardano",
  "id": "ADA",
  "precision": 4,
  "position": 7,
  "lightBgColor1": "#ff0000",
  "lightBgColor2": "#D6CCED",
  "lightTextColor": "#ffffff",
  "darkBgColor1": "#569494",
  "darkBgColor2": "#0A0F17",
  "darkTextColor": "#ffffff",
  "userBalanceEnable": true,
  "enabled": true,
  "hide": false,
  "trading_commission_enabled": true,
  "payout_fee": 2,
  "min_payout_fee": 1,
  "max_payout_fee": 250,
  "taskTitle": "Request to update Currency ADA",
  "taskDescription": "Requested by businessanalyst@marionette.dev"
}

Screenshot from 2024-04-12 15-17-44.pngImage Added

Expand
titleRuntimes details
Code Block
{
  "initialData": {
    "name": "Cardano",
    "id": "ADA",
    "precision": 4,
    "position": 7,
    "lightBgColor1": "#ff0000",
    "lightBgColor2": "#D6CCED",
    "lightTextColor": "#ffffff",
    "darkBgColor1": "#569494",
    "darkBgColor2": "#0A0F17",
    "darkTextColor": "#ffffff",
    "userBalanceEnable": true,
    "enabled": true,
    "hide": false,
    "trading_commission_enabled": true,
    "payout_fee": 2,
    "min_payout_fee": 1,
    "max_payout_fee": 250,
    "taskTitle": "Request to update Currency ADA",
    "taskDescription": "Requested by businessanalyst@marionette.dev"
  },
  "initialMeta": {
    "userIP": "176.120.105.193",
    "userAgent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:124.0) Gecko/20100101 Firefox/124.0",
    "method": "POST",
    "path": "api/v2/",
    "decodedUser": {
      "exp": 1715513322,
      "sub": "session",
      "iss": "marionette",
      "aud": [
        "marionette"
      ],
      "jti": "98b91213-ade7-4066-a6e5-2106c0c62690",
      "uid": "872a9c32db4545e8ac731551fb61c227",
      "email": "businessanalyst@marionette.dev",
      "role": "admin",
      "level": 3,
      "state": "active",
      "referral_id": null
    },
    "user": {
      "id": "872a9c32db4545e8ac731551fb61c227",
      "email": "businessanalyst@marionette.dev",
      "password": "sha256$4be643c4$1$95c93926a1850e210d379a4922c03cc7f397828e090c0cd9fac794af4447d065",
      "username": null,
      "role": "ADMIN",
      "state": "active",
      "referralId": null,
      "referralGroupId": null,
      "locale": null,
      "email_verified": false,
      "phone_verified": false,
      "profile_verified": false,
      "isPhone": null,
      "data": null,
      "otp": false,
      "enabled2fa": false,
      "secret2fa": "",
      "googleIdentity": false,
      "softban": false,
      "createdAt": "2024-02-13T18:50:17.000Z",
      "updatedAt": "2024-04-12T08:44:05.000Z"
    },
    "permissions": [
      "acceptCurrencyPI",
      "manageTasks",
      "useWorkspace",
      "editCurrency",
      "viewCurrencies"
    ],
    "token": "eyJhbGciOiJSUzI1NiJ9.eyJleHAiOjE3MTU1MTMzMjIsInN1YiI6InNlc3Npb24iLCJpc3MiOiJtYXJpb25ldHRlIiwiYXVkIjpbIm1hcmlvbmV0dGUiXSwianRpIjoiOThiOTEyMTMtYWRlNy00MDY2LWE2ZTUtMjEwNmMwYzYyNjkwIiwidWlkIjoiODcyYTljMzJkYjQ1NDVlOGFjNzMxNTUxZmI2MWMyMjciLCJlbWFpbCI6ImJ1c2luZXNzYW5hbHlzdEBtYXJpb25ldHRlLmRldiIsInJvbGUiOiJhZG1pbiIsImxldmVsIjozLCJzdGF0ZSI6ImFjdGl2ZSIsInJlZmVycmFsX2lkIjpudWxsfQ.J2nJwoEiVNkUql-M9AB9PT0gXMScvPHnpxDOUw6bP3b-JNG_qk2u4CWVQLmjR2VcrjGlJX6yB__YfzXmNaH3_FD3LhCvDBb7nXUeL7TdHVfWtyGjxx7bTV-B548ufCPyOpJtOd4T9d05c_KgKxmRXr9MsYm-KsxSvjK2uZEl_oeNKkeeuDDFKG6CmAPBhdOo6vnmJcwOYq3mxUz10ONkbEqoavexADxJByO-ivgVgzf_2HSJtMf3SSvzy5gFH76wm_sLcd3ezAIy5GBA411nCvq3umoAo79I9oKJL6PsuiVxyK8ZD_-wQvbnlGnZRwVxvlw9wirT-epZFyd9hfipww",
    "isApiKey": false
  }
}

  • If the Approver decides to approve the request, it will be accepted with the required changes to the Currency configuration. The task status will be set to 'resolved', and it will be removed from the open tasks list for both the Approver and the Requester in the Workspace. Configurations for the Currency will be updated accordingly.

Screenshot from 2024-04-12 15-25-41.pngImage Added

Expand
titleFull Audit logs code for Workflow
Code Block
{
  "initialData": {
    "name": "Cardano",
    "id": "ADA",
    "precision": 4,
    "position": 7,
    "lightBgColor1": "#ff0000",
    "lightBgColor2": "#D6CCED",
    "lightTextColor": "#ffffff",
    "darkBgColor1": "#569494",
    "darkBgColor2": "#0A0F17",
    "darkTextColor": "#ffffff",
    "userBalanceEnable": true,
    "enabled": true,
    "hide": false,
    "trading_commission_enabled": true,
    "payout_fee": 2,
    "min_payout_fee": 1,
    "max_payout_fee": 250
  },
  "initialMeta": {
    "userIP": "176.120.105.193",
    "userAgent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:124.0) Gecko/20100101 Firefox/124.0",
    "method": "POST",
    "path": "api/v2/",
    "decodedUser": {
      "exp": 1715513322,
      "sub": "session",
      "iss": "marionette",
      "aud": [
        "marionette"
      ],
      "jti": "98b91213-ade7-4066-a6e5-2106c0c62690",
      "uid": "872a9c32db4545e8ac731551fb61c227",
      "email": "businessanalyst@marionette.dev",
      "role": "admin",
      "level": 3,
      "state": "active",
      "referral_id": null
    },
    "user": {
      "id": "872a9c32db4545e8ac731551fb61c227",
      "email": "businessanalyst@marionette.dev",
      "password": "sha256$4be643c4$1$95c93926a1850e210d379a4922c03cc7f397828e090c0cd9fac794af4447d065",
      "username": null,
      "role": "ADMIN",
      "state": "active",
      "referralId": null,
      "referralGroupId": null,
      "locale": null,
      "email_verified": false,
      "phone_verified": false,
      "profile_verified": false,
      "isPhone": null,
      "data": null,
      "otp": false,
      "enabled2fa": false,
      "secret2fa": "",
      "googleIdentity": false,
      "softban": false,
      "createdAt": "2024-02-13T18:50:17.000Z",
      "updatedAt": "2024-04-12T08:44:05.000Z"
    },
    "permissions": [
      "acceptCurrencyPI",
      "manageTasks",
      "useWorkspace",
      "editCurrency",
      "viewCurrencies"
    ],
    "token": "eyJhbGciOiJSUzI1NiJ9.eyJleHAiOjE3MTU1MTMzMjIsInN1YiI6InNlc3Npb24iLCJpc3MiOiJtYXJpb25ldHRlIiwiYXVkIjpbIm1hcmlvbmV0dGUiXSwianRpIjoiOThiOTEyMTMtYWRlNy00MDY2LWE2ZTUtMjEwNmMwYzYyNjkwIiwidWlkIjoiODcyYTljMzJkYjQ1NDVlOGFjNzMxNTUxZmI2MWMyMjciLCJlbWFpbCI6ImJ1c2luZXNzYW5hbHlzdEBtYXJpb25ldHRlLmRldiIsInJvbGUiOiJhZG1pbiIsImxldmVsIjozLCJzdGF0ZSI6ImFjdGl2ZSIsInJlZmVycmFsX2lkIjpudWxsfQ.J2nJwoEiVNkUql-M9AB9PT0gXMScvPHnpxDOUw6bP3b-JNG_qk2u4CWVQLmjR2VcrjGlJX6yB__YfzXmNaH3_FD3LhCvDBb7nXUeL7TdHVfWtyGjxx7bTV-B548ufCPyOpJtOd4T9d05c_KgKxmRXr9MsYm-KsxSvjK2uZEl_oeNKkeeuDDFKG6CmAPBhdOo6vnmJcwOYq3mxUz10ONkbEqoavexADxJByO-ivgVgzf_2HSJtMf3SSvzy5gFH76wm_sLcd3ezAIy5GBA411nCvq3umoAo79I9oKJL6PsuiVxyK8ZD_-wQvbnlGnZRwVxvlw9wirT-epZFyd9hfipww",
    "isApiKey": false
  }
}
Expand
titleFull Audit logs code for Workflow with 'Approve' decision
Code Block
{
  "name": "Cardano",
  "id": "ADA",
  "precision": 4,
  "position": 7,
  "lightBgColor1": "#ff0000",
  "lightBgColor2": "#D6CCED",
  "lightTextColor": "#ffffff",
  "darkBgColor1": "#569494",
  "darkBgColor2": "#0A0F17",
  "darkTextColor": "#ffffff",
  "userBalanceEnable": true,
  "enabled": true,
  "hide": false,
  "trading_commission_enabled": true,
  "payout_fee": 2,
  "min_payout_fee": 1,
  "max_payout_fee": 250,
  "taskTitle": "Request to update Currency ADA",
  "taskDescription": "Requested by businessanalyst@marionette.dev"
}
Expand
titleFull Audit logs code for workflow with 'success' action
Code Block
{
  "params": {
    "name": "Cardano",
    "id": "ADA",
    "precision": 4,
    "position": 7,
    "lightBgColor1": "#ff0000",
    "lightBgColor2": "#D6CCED",
    "lightTextColor": "#ffffff",
    "darkBgColor1": "#569494",
    "darkBgColor2": "#0A0F17",
    "darkTextColor": "#ffffff",
    "userBalanceEnable": true,
    "enabled": true,
    "hide": false,
    "trading_commission_enabled": true,
    "payout_fee": 2,
    "min_payout_fee": 1,
    "max_payout_fee": 250,
    "taskTitle": "Request to update Currency ADA",
    "taskDescription": "Requested by businessanalyst@marionette.dev"
  },
  "result": {
    "id": "ADA",
    "name": "Cardano",
    "userBalanceEnable": true,
    "lightBgColor1": "#ff0000",
    "lightBgColor2": "#D6CCED",
    "darkBgColor1": "#569494",
    "darkBgColor2": "#0A0F17",
    "lightTextColor": "#ffffff",
    "darkTextColor": "#ffffff",
    "icon_url": "https://devtunexio.sfo2.digitaloceanspaces.com/3126875f-0b87-4147-b8f5-db2a18a90e4f.svg",
    "precision": 4,
    "enabled": true,
    "position": 7,
    "trading_commission_enabled": true,
    "hide": false,
    "staking_enabled": true,
    "staking_period": "0 0 * */3 *",
    "staking_apr": 55,
    "last_staking_calc": 1712880000000,
    "min_staking_amount": 222,
    "instant_unstaking": false,
    "payout_fee": 2,
    "min_payout_fee": 1,
    "max_payout_fee": 250,
    "createdAt": "2023-05-12T14:41:13.000Z",
    "updatedAt": "2024-04-12T12:25:11.511Z"
  }
}

Screenshot from 2024-04-12 15-26-28.pngImage Added

Expand
titleRuntimes details
Code Block
{
  "initialData": {
    "name": "Cardano",
    "id": "ADA",
    "precision": 4,
    "position": 7,
    "lightBgColor1": "#ff0000",
    "lightBgColor2": "#D6CCED",
    "lightTextColor": "#ffffff",
    "darkBgColor1": "#569494",
    "darkBgColor2": "#0A0F17",
    "darkTextColor": "#ffffff",
    "userBalanceEnable": true,
    "enabled": true,
    "hide": false,
    "trading_commission_enabled": true,
    "payout_fee": 2,
    "min_payout_fee": 1,
    "max_payout_fee": 250,
    "taskTitle": "Request to update Currency ADA",
    "taskDescription": "Requested by businessanalyst@marionette.dev"
  },
  "initialMeta": {
    "userIP": "176.120.105.193",
    "userAgent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:124.0) Gecko/20100101 Firefox/124.0",
    "method": "POST",
    "path": "api/v2/",
    "decodedUser": {
      "exp": 1715513322,
      "sub": "session",
      "iss": "marionette",
      "aud": [
        "marionette"
      ],
      "jti": "98b91213-ade7-4066-a6e5-2106c0c62690",
      "uid": "872a9c32db4545e8ac731551fb61c227",
      "email": "businessanalyst@marionette.dev",
      "role": "admin",
      "level": 3,
      "state": "active",
      "referral_id": null
    },
    "user": {
      "id": "872a9c32db4545e8ac731551fb61c227",
      "email": "businessanalyst@marionette.dev",
      "password": "sha256$4be643c4$1$95c93926a1850e210d379a4922c03cc7f397828e090c0cd9fac794af4447d065",
      "username": null,
      "role": "ADMIN",
      "state": "active",
      "referralId": null,
      "referralGroupId": null,
      "locale": null,
      "email_verified": false,
      "phone_verified": false,
      "profile_verified": false,
      "isPhone": null,
      "data": null,
      "otp": false,
      "enabled2fa": false,
      "secret2fa": "",
      "googleIdentity": false,
      "softban": false,
      "createdAt": "2024-02-13T18:50:17.000Z",
      "updatedAt": "2024-04-12T08:44:05.000Z"
    },
    "permissions": [
      "acceptCurrencyPI",
      "manageTasks",
      "useWorkspace",
      "editCurrency",
      "viewCurrencies"
    ],
    "token": "eyJhbGciOiJSUzI1NiJ9.eyJleHAiOjE3MTU1MTMzMjIsInN1YiI6InNlc3Npb24iLCJpc3MiOiJtYXJpb25ldHRlIiwiYXVkIjpbIm1hcmlvbmV0dGUiXSwianRpIjoiOThiOTEyMTMtYWRlNy00MDY2LWE2ZTUtMjEwNmMwYzYyNjkwIiwidWlkIjoiODcyYTljMzJkYjQ1NDVlOGFjNzMxNTUxZmI2MWMyMjciLCJlbWFpbCI6ImJ1c2luZXNzYW5hbHlzdEBtYXJpb25ldHRlLmRldiIsInJvbGUiOiJhZG1pbiIsImxldmVsIjozLCJzdGF0ZSI6ImFjdGl2ZSIsInJlZmVycmFsX2lkIjpudWxsfQ.J2nJwoEiVNkUql-M9AB9PT0gXMScvPHnpxDOUw6bP3b-JNG_qk2u4CWVQLmjR2VcrjGlJX6yB__YfzXmNaH3_FD3LhCvDBb7nXUeL7TdHVfWtyGjxx7bTV-B548ufCPyOpJtOd4T9d05c_KgKxmRXr9MsYm-KsxSvjK2uZEl_oeNKkeeuDDFKG6CmAPBhdOo6vnmJcwOYq3mxUz10ONkbEqoavexADxJByO-ivgVgzf_2HSJtMf3SSvzy5gFH76wm_sLcd3ezAIy5GBA411nCvq3umoAo79I9oKJL6PsuiVxyK8ZD_-wQvbnlGnZRwVxvlw9wirT-epZFyd9hfipww",
    "isApiKey": false
  },
  "result": {
    "id": "ADA",
    "name": "Cardano",
    "userBalanceEnable": true,
    "lightBgColor1": "#ff0000",
    "lightBgColor2": "#D6CCED",
    "darkBgColor1": "#569494",
    "darkBgColor2": "#0A0F17",
    "lightTextColor": "#ffffff",
    "darkTextColor": "#ffffff",
    "icon_url": "https://devtunexio.sfo2.digitaloceanspaces.com/3126875f-0b87-4147-b8f5-db2a18a90e4f.svg",
    "precision": 4,
    "enabled": true,
    "position": 7,
    "trading_commission_enabled": true,
    "hide": false,
    "staking_enabled": true,
    "staking_period": "0 0 * */3 *",
    "staking_apr": 55,
    "last_staking_calc": 1712880000000,
    "min_staking_amount": 222,
    "instant_unstaking": false,
    "payout_fee": 2,
    "min_payout_fee": 1,
    "max_payout_fee": 250,
    "createdAt": "2023-05-12T14:41:13.000Z",
    "updatedAt": "2024-04-12T12:25:11.511Z"
  }
}

Troubleshooting

  1. Common Issues and Solutions

  2. Error Messages and Their Meanings

...