Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Update Work Item Container Programmatically

suwandi_cahyadi
Contributor
0 Likes
1,143

Hi,

Is it ok or considered "safe" to update a work item container programmatically?

I do this because in the standard PO approval workflow design is to complete the workflow instance after approve/reject and trigger a new workflow instance in case there is still a next level approver required. In this case, in Fiori My Inbox 2 application the comment input in the previous approval process cannot be seen in the next approval process because now the workflow instance is different. Therefore, I read the previous workflow instance and get the comments and put it in the current work item container so it can be seen in the Fiori My Inbox 2 application.

Thank you.

2 REPLIES 2
Read only

Nawanandana
Active Contributor
0 Likes
961

I dont think i will be problem if you used enhacment.

Read only

Sandra_Rossi
Active Contributor
961

Really strange decision to start a new workflow, the next level should be part of the same workflow...

I guess you had to make a choice because it's a standard workflow.

But anyway, technically, it's not an issue to update a container. Just make sure that it doesn't bug the standard workflow.