cancel
Showing results for 
Search instead for 
Did you mean: 
1WSCGomez
Moderator
Moderator

You can get an entity from its respective workflow; the user needs to give the entity id (guide) and the workflow name from where you are expecting the entity to be. Use bellow sample query to get an entity from workflow:

Get Workflow Entity Expand source

API: http://{{WEBURL}}:{{WEBPORT}}/{{TENANT_ID}}/api/entitygovernservice/get
 
{
  "params": {
    "query": {
      "id": "3377aa68-e195-4bca-a934-574859516084",
      "contexts": [
        {
          "workflow": "productPresentationCreateWorkflow"
        }
      ],
      "filters": {
        "typesCriterion": [
          "sku"
        ],
        "excludeNonContextual": true
      }
    },
    "fields": {
      "attributes": [
        "_ALL"
      ]
    },
    "options": {
      "maxRecords": 1
    }
  }
}

Screenshot of the above query:

Please post your questions in the comments section.

Version history
Revision #:
2 of 2
Last update:
13 hours ago
Updated by:
 
Contributors