Uploaded image for project: 'Nuxeo .NET Client'
  1. Nuxeo .NET Client
  2. NETCLIENT-3

Fix workflow variables reading in .Net client

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.0-beta-10080
    • Component/s: Core
    • Tags:
    • Backlog priority:
      600
    • Sprint:
      nxGang Sprint 8.4.2

      Description

      The workflow variables are always null when you try to read them from the .Net client

      The JSON representation of a workflow retrieved from http://nuxeo.github.io/api-playground/#/resources/workflow/0/GET is

      {
        "entity-type": "workflow",
        "id": "2d908bd0-e982-4c64-9823-37ad095c3b61",
        "name": "import-hd-mediaprep.31493537978784",
        "title": "import-hd-mediaprep",
        "state": "running",
        "workflowModelName": "import-hd-mediaprep",
        "initiator": "system",
        "attachedDocumentIds": [
          {
            "id": "702d0cc6-79dc-479b-af17-ddbd7b368adb"
          }
        ],
        "variables": {
          "is_binary_valid": true,
          "dest_barcode": null,
          "destination_order": 0,
          "fabrication_group": null,
          "should_override_existing_frame": false,
          "destination_Product_uid": null,
          "were_meta_extracted": false,
          "dest_FamilyId": 6616237,
          "is_ok_for_cata": false,
          "meta_must_be_completed": false,
          "messages": [],
          "brand_name": null,
          "is_cross_product_images": false,
          "operation_code": "RCLEMENT14",
          "errors": null
        },
        "graphResource": "http://nuxeo.vpccpp.fr/nuxeo/site/api/v1/workflow/2d908bd0-e982-4c64-9823-37ad095c3b61/graph"
      }
      

      where the workflow variables are under the "variables" entry.

      But the workflow representation tries to read the variables for the "worflowVariables"

      [JsonProperty(PropertyName = "worflowVariables")]
      

      which seems incorrect.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours
                2h