Unable to set workflow priority in AEM as a cloud service | Community
Skip to main content
Employee
November 20, 2022
Solved

Unable to set workflow priority in AEM as a cloud service

  • November 20, 2022
  • 2 replies
  • 794 views

Hi,

I am trying to save workflow priority by setting priority through workflow process step. However, the property is not getting set to the item even after commiting the change as per the below snippet. In crx/de it still shows the priority as 0(which is 'MEDIUM').  Any suggestions here please.

 

 

NOTE : I have give system user all the required permissions (read,write, modify).

Thanks

Raviteja K

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by B_Sravan

Hi @ravikanithi1,

 

Earlier this year, I remember someone saying that the workItem API is not working correctly (I don't have any more info). As a workaround, you can update the priority number through node API.
Thank you.

 

-Sravan

2 replies

SantoshSai
New Participant
November 20, 2022

Hi @ravikanithi1,

Found one thread: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-update-workflow-priority/td-p/370629

where few of them were facing similar issue - WorkItem API is not working neither for priority or due date. 

Per @b_sravan You can refer JCR/Node API, If it isn't working(as also mentioned in above thread).

Hope that helps!

Regards,

Santosh

Santosh Sai
B_Sravan
B_SravanAccepted solution
New Participant
November 20, 2022

Hi @ravikanithi1,

 

Earlier this year, I remember someone saying that the workItem API is not working correctly (I don't have any more info). As a workaround, you can update the priority number through node API.
Thank you.

 

-Sravan