Skip to main content
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
edited body; edited tags; edited title
Source Link
Richard Seal
  • 20.8k
  • 5
  • 44
  • 79

How to get workflow details from Item using Sitecore Item Web API service

How Can I get workflow and workflow history for current Item using Sitecore API Item Service?

getGet item details using below query

Query to get Item

/item/{id}/database&language&version&includeStandardTemplateFields&includeMetadata&fields

Json Result

{
          "ItemID": "25a40733-babf-4f16-a025-a3ffb0c84c05",
          "ItemName": "itemName",
          "ItemPath": "/sitecore/content/Home",
          "ParentID": "59b7047e-1063-4f2e-a452-4ca466ecb621",
          "TemplateID": "3191fecf-905e-4ca1-a007-05ba9f5b7455",
          "TemplateName": "templatename",
          "CloneSource": null,
          "ItemLanguage": "en",
          "ItemVersion": "1",
          "DisplayName": "testuser",
          "HasChildren": "True",
 }

in the above result don't have the workflow details.

Thanks in advance.

How to get workflow details from Item using Sitecore Item service

How Can I get workflow and workflow history for current Item using Sitecore API Item Service?

get item details using below query

Query to get Item

/item/{id}/database&language&version&includeStandardTemplateFields&includeMetadata&fields

Json Result

{
          "ItemID": "25a40733-babf-4f16-a025-a3ffb0c84c05",
          "ItemName": "itemName",
          "ItemPath": "/sitecore/content/Home",
          "ParentID": "59b7047e-1063-4f2e-a452-4ca466ecb621",
          "TemplateID": "3191fecf-905e-4ca1-a007-05ba9f5b7455",
          "TemplateName": "templatename",
          "CloneSource": null,
          "ItemLanguage": "en",
          "ItemVersion": "1",
          "DisplayName": "testuser",
          "HasChildren": "True",
 }

in the above result don't have the workflow details.

Thanks in advance.

How to get workflow details from Item using Item Web API service

How Can I get workflow and workflow history for current Item using Sitecore API Item Service?

Get item details using below query

Query to get Item

/item/{id}/database&language&version&includeStandardTemplateFields&includeMetadata&fields

Json Result

{
          "ItemID": "25a40733-babf-4f16-a025-a3ffb0c84c05",
          "ItemName": "itemName",
          "ItemPath": "/sitecore/content/Home",
          "ParentID": "59b7047e-1063-4f2e-a452-4ca466ecb621",
          "TemplateID": "3191fecf-905e-4ca1-a007-05ba9f5b7455",
          "TemplateName": "templatename",
          "CloneSource": null,
          "ItemLanguage": "en",
          "ItemVersion": "1",
          "DisplayName": "testuser",
          "HasChildren": "True",
 }

in the above result don't have the workflow details.

Thanks in advance.

Source Link
Rameshkumar
  • 686
  • 1
  • 6
  • 16

How to get workflow details from Item using Sitecore Item service

How Can I get workflow and workflow history for current Item using Sitecore API Item Service?

get item details using below query

Query to get Item

/item/{id}/database&language&version&includeStandardTemplateFields&includeMetadata&fields

Json Result

{
          "ItemID": "25a40733-babf-4f16-a025-a3ffb0c84c05",
          "ItemName": "itemName",
          "ItemPath": "/sitecore/content/Home",
          "ParentID": "59b7047e-1063-4f2e-a452-4ca466ecb621",
          "TemplateID": "3191fecf-905e-4ca1-a007-05ba9f5b7455",
          "TemplateName": "templatename",
          "CloneSource": null,
          "ItemLanguage": "en",
          "ItemVersion": "1",
          "DisplayName": "testuser",
          "HasChildren": "True",
 }

in the above result don't have the workflow details.

Thanks in advance.