Differences of public api
Hi all
There is many times that i saw similar public api from ivy then i could not distinguish between them, i believe some of my co-workers has the same feeling. In this post i need your help to make it more clear.
Does they return the same result?
1/ Application:
Ivy.request().getApplication()
Ivy.wf().getApplication()
Ivy.wfTask().getApplication()
Ivy.wfCase().getApplication()
Ivy.session().getWorkflowContext().getApplication()
2/ ProcessModel
Ivy.wfTask().getProcessModel()
Ivy.wfCase().getProcessModel()
3/ ProcessModels
Ivy.wfCase().getApplication().getProcessModels()
Ivy.wf().getApplication().getProcessModels()
4/ ProcessModelVersion
Ivy.request().getProcessModel().getProcessModelVersions()
Ivy.request().getProcessModel().getReleasedProcessModelVersion()
Ivy.request().getProject().getProcessModelVersion()
Ivy.wfTask().getProcessModelVersion()
Ivy.wfCase().getProcessModelVersion()
Ivy.request().getProcessModelVersion()
There is some more but first i stop here :)
Thanks in advance