Skip to main content
Nintex Community Menu Bar

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

  • August 14, 2024
  • 2 replies
  • 58 views

Forum|alt.badge.img+3

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

2 replies

Deon
Forum|alt.badge.img+10
  • Rookie
  • August 14, 2024

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://[kuid].onk2.com/api/odatav4/v4/Activity_Instance_Destination?method=list&$filter=Status%20eq%20%27Active%27

 


Forum|alt.badge.img+3
  • Author
  • Rookie
  • August 14, 2024

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