Skip to main content

Can we create SMO for OData similar as K2 REST API Task to get users tasks

Hi @BizApps , there should already be a System SmartObject you can use called: “Workflow Reports → Workflow General → Activity_Instance_Destination”

 

The OData URL will be something like:

https://ckuid].onk2.com/api/odatav4/v4/Activity_Instance_Destination?method=list&$filter=Status%20eq%20%27Active%27

 


Hi Deon,

Yes we looked into it but we are unable to see fields like formURL, viewFlowURL and originator which exist on K2 REST API.


      "formURL": "https://....onk2.com:443/Runtime/Runtime/Form/Edit+Request/?SerialNo=29756_60&_state=test&RequestNo=test1",
      "viewFlowURL": "https://....onk2.com/ViewFlow/ViewFlow.aspx?ProcessID=29756",
      "originator":

 

Can these fields can be exposed on the Odata?

 

Thanks


Reply