In K2 five workflow Designer, which porperty of a client task should be set, in order to retreve expected duration using K2 API?
By K2 API, i mean WorklistItem objects properties, such as ActivityInstanceDestination.ExpectedDuration or EventInstance.ExpectedDuration.
I used Deadline and Due date, but those are not setting up those properties.
Thanks
Best answer by Widson
Hi @ZoltanM;
For this Question:-I don't see what is the solution in @khanh's workaround-->i meant a "suggestion" not workaround ofcuz sorry for my wrong wording.
From what i know expected duration from 4.7 is replaced by Due Date in k2 Five please see this refference(https://help.k2.com/kb002726).
As for the out of box k2 five,please vote as feature request here---similar idea created already(https://ideas.k2.com/ideas/APIT-I-914), also read through @khanh 's workaround(<a href="https://community.k2.com/t5/K2-Five/Workflow-Tasks-Expected-Duration/td-p/103136" target="_blank" rel="noopener">https://community.k2.com/t5/K2-Five/Workflow-Tasks-Expected-Duration/td-p/103136</a>).https://community.k2.com/t5/K2-Five/Workflow-Tasks-Expected-Duration/td-p/103136).
See attached files that might be useful working with this topic moving forward.
I don't see what is the solution in @khanh's workaround, except to request a feature...
Also, thanks for the documentation and samples.
More or less, I am aware of the structure of the K2 API described in that file that you attached, but I still don't see how to set up EventInstance's expected duration in K2 Five.
EventInstance has a property ExpectedDuration, and i would like to set it from K2 Workflow Designer, so I could use it.
For this Question:-I don't see what is the solution in @khanh's workaround-->i meant a "suggestion" not workaround ofcuz sorry for my wrong wording.
From what i know expected duration from 4.7 is replaced by Due Date in k2 Five please see this refference(https://help.k2.com/kb002726).
Thanks for the answer. As i said in the initial post, i set up Due Date, but WorklistItem in K2 API is not reflecting that value in any of the properties. Maybe, the more correct question is how to retrieve Due Date using K2 API? Any suggestion on this? The answer would be the solution for this ticket.
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.