Workflow REST Services Samples

This content applies to legacy components (such as K2 Studio and K2 for Visual Studio), legacy assemblies, legacy services or legacy functionality. If you have upgraded from K2 blackpearl 4.7 to K2 Five, these items may still be available in your environment. These legacy items may not be available in new installations of K2 Five. These legacy items may also not be available, supported, or behave as described, in future updates or versions of K2. Please see the legacy component support policy for more information about support for these components.

This topic contains links to some sample code showing how to interact with the workflow REST Services.

Code Samples

Code Sample Description
K2 REST Services: C# Samples

Demonstrates how to use the SmartObjects REST services with C# code. Samples included:

  • Starting a new workflow
  • Retrieving the worklist

K2 REST Services: JavaScript Samples

Shows how to use JavaScript to interact with the Workflow REST Services. Samples included:

  • Starting a new workflow
  • Retrieving a worklist item
  • Completing worklist item

Accessing the View Flow URL with the REST service Shows how to access the View Flow URL with the Workflow REST services
Configuring the K2 REST Services for use with K2 SQL User Manager Shows how to work with REST services when using SQL User Manager.