Skip to content

Accessing process data

We can access completed K2 process instance information through smart objects. All the reports that you get with K2 are built using smart objects. One thing to note with the reporting data is that it is not real time.

The asynchronous nature of a workflow environment means that if you need access to state information in real-time you will need to manage that. One way to do this is to use a custom smart object. My preference is to stick with the K2 provided reporting smart objects.

Here’s a code sample for accessing the smart object data.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: